Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.764/1.764, allocations: 287.4 MB / 303.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 193 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 0.6304 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007378/0.0007377, allocations: 85.47 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004123, allocations: 11.23 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004234/0.2262, allocations: 3.772 MB / 0.983 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5879/0.8142, allocations: 136.6 MB / 1.116 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009421/0.8152, allocations: 18.47 kB / 1.116 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007332/0.8159, allocations: 132.7 kB / 1.117 GB, free: 1.574 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001921/0.8179, allocations: 355.7 kB / 1.117 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.8206, allocations: 0.6737 MB / 1.118 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.8229, allocations: 1.169 MB / 1.119 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.8245, allocations: 0.6577 MB / 1.119 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.8257, allocations: 354.4 kB / 1.12 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.8268, allocations: 408.6 kB / 1.12 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003668/0.8272, allocations: 29.84 kB / 1.12 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.8284, allocations: 297.2 kB / 1.12 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004808/0.8289, allocations: 198.2 kB / 1.121 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005368/0.8295, allocations: 200.9 kB / 1.121 GB, free: 16.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.8316, allocations: 1.184 MB / 1.122 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.8316, allocations: 0 / 1.122 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8316, allocations: 1.344 kB / 1.122 GB, free: 16.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.151e-05/0.8317, allocations: 0 / 1.122 GB, free: 16.68 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003098/0.8348, allocations: 1.279 MB / 1.123 GB, free: 15.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8349, allocations: 12.28 kB / 1.123 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/0.8396, allocations: 0.7814 MB / 1.124 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.8409, allocations: 0.7689 MB / 1.125 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.438e-05/0.841, allocations: 72.47 kB / 1.125 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.8411, allocations: 100 kB / 1.125 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.8441, allocations: 1.342 MB / 1.126 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.8441, allocations: 3.484 kB / 1.126 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8442, allocations: 40.91 kB / 1.126 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.8443, allocations: 25.19 kB / 1.126 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004539/0.8488, allocations: 1.837 MB / 1.128 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006071/0.8549, allocations: 3.157 MB / 1.131 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.8579, allocations: 1.221 MB / 1.132 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.8592, allocations: 0.558 MB / 1.133 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006937/0.8599, allocations: 478.4 kB / 1.133 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.8617, allocations: 0.718 MB / 1.134 GB, free: 13.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 5.22e-06/0.8617, allocations: 4 kB / 1.134 GB, free: 13.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.005673/0.8674, allocations: 1.804 MB / 1.136 GB, free: 13.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.8675, allocations: 199.7 kB / 1.136 GB, free: 13.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.8685, allocations: 0.5783 MB / 1.136 GB, free: 12.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.8686, allocations: 47.17 kB / 1.137 GB, free: 12.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.8689, allocations: 408.9 kB / 1.137 GB, free: 12.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.8692, allocations: 330.2 kB / 1.137 GB, free: 12.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.8693, allocations: 17.25 kB / 1.137 GB, free: 12.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.8695, allocations: 392.8 kB / 1.138 GB, free: 11.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.8708, allocations: 468.8 kB / 1.138 GB, free: 11.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.8722, allocations: 0.5656 MB / 1.139 GB, free: 11.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.8749, allocations: 1.002 MB / 1.14 GB, free: 11.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8749, allocations: 1.156 kB / 1.14 GB, free: 11.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003708/0.8786, allocations: 1.267 MB / 1.141 GB, free: 11.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.8787, allocations: 7.375 kB / 1.141 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8787, allocations: 1.219 kB / 1.141 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.8793, allocations: 88.2 kB / 1.141 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.8806, allocations: 253.1 kB / 1.141 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.8827, allocations: 1.526 MB / 1.143 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.8839, allocations: 150.8 kB / 1.143 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.8841, allocations: 43.41 kB / 1.143 GB, free: 9.676 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005697/0.8846, allocations: 280.2 kB / 1.143 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.8848, allocations: 88 kB / 1.143 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.889, allocations: 1.557 MB / 1.145 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.8891, allocations: 7.969 kB / 1.145 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8891, allocations: 0 / 1.145 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.8895, allocations: 310.5 kB / 1.145 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.8897, allocations: 22.53 kB / 1.145 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.8907, allocations: 125.1 kB / 1.145 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8909, allocations: 75.25 kB / 1.145 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00438/0.8953, allocations: 1.436 MB / 1.147 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004846/0.9001, allocations: 2.065 MB / 1.149 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001417/0.9016, allocations: 0.5813 MB / 1.149 GB, free: 7.695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006746/0.9022, allocations: 427.4 kB / 1.15 GB, free: 7.547 MB / 0.698 GB Notification: Performance of Backend: time 1.102e-06/0.9023, allocations: 0 / 1.15 GB, free: 7.547 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004267/0.9065, allocations: 1.416 MB / 1.151 GB, free: 7.062 MB / 0.698 GB Notification: Performance of SimCode: time 0.003787/0.9103, allocations: 2.499 MB / 1.153 GB, free: 5.344 MB / 0.698 GB Notification: Performance of Templates: time 0.03369/0.944, allocations: 17.85 MB / 1.171 GB, free: 12.3 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)