Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 113.9 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 288.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 96.12 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3968, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00536/0.4022, allocations: 4.319 MB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.5497, allocations: 150.5 MB / 0.9183 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.5504, allocations: 15.94 kB / 0.9183 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.551, allocations: 170.4 kB / 0.9184 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.5524, allocations: 0.5039 MB / 0.9189 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.5542, allocations: 0.8302 MB / 0.9197 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.5554, allocations: 1.308 MB / 0.921 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.5562, allocations: 0.6331 MB / 0.9216 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.5567, allocations: 474.4 kB / 0.9221 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.5572, allocations: 497.8 kB / 0.9226 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.5574, allocations: 116 kB / 0.9227 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.5582, allocations: 483.6 kB / 0.9231 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.5584, allocations: 307 kB / 0.9234 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.5589, allocations: 0.5402 MB / 0.9239 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.5604, allocations: 1.615 MB / 0.9255 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5604, allocations: 0 / 0.9255 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5604, allocations: 4 kB / 0.9255 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5604, allocations: 0 / 0.9255 GB, free: 0.9727 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002275/0.5627, allocations: 1.403 MB / 0.9269 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5627, allocations: 8.031 kB / 0.9269 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.5636, allocations: 187.4 kB / 0.9271 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5647, allocations: 0.7578 MB / 0.9278 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.5648, allocations: 65.94 kB / 0.9279 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.776e-05/0.5649, allocations: 83.98 kB / 0.928 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.5664, allocations: 0.9261 MB / 0.9289 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5664, allocations: 0 / 0.9289 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.5665, allocations: 36 kB / 0.9289 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.5665, allocations: 24 kB / 0.9289 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.5682, allocations: 1.108 MB / 0.93 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.5717, allocations: 2.492 MB / 0.9324 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.5732, allocations: 0.8909 MB / 0.9333 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.5739, allocations: 306.7 kB / 0.9336 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.5741, allocations: 28.59 kB / 0.9336 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.5753, allocations: 499.1 kB / 0.9341 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 3.878e-06/0.5754, allocations: 4 kB / 0.9341 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.00461/0.58, allocations: 1.194 MB / 0.9353 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.5801, allocations: 188.6 kB / 0.9355 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5813, allocations: 0.6253 MB / 0.9361 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.423e-05/0.5814, allocations: 41.7 kB / 0.9361 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.5818, allocations: 388.4 kB / 0.9365 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.5821, allocations: 256.3 kB / 0.9367 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.5825, allocations: 162.5 kB / 0.9369 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.5827, allocations: 390.7 kB / 0.9373 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008137/0.5835, allocations: 265.9 kB / 0.9375 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009816/0.5845, allocations: 363.1 kB / 0.9379 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.5863, allocations: 0.6111 MB / 0.9384 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.5864, allocations: 0 / 0.9384 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002989/0.5894, allocations: 0.8449 MB / 0.9393 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5894, allocations: 4 kB / 0.9393 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5894, allocations: 8 kB / 0.9393 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008595/0.5903, allocations: 84.86 kB / 0.9394 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5913, allocations: 159.7 kB / 0.9395 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.5942, allocations: 1.652 MB / 0.9411 GB, free: 468 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.5953, allocations: 91.39 kB / 0.9412 GB, free: 376 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.5954, allocations: 35.97 kB / 0.9413 GB, free: 340 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006412/0.5961, allocations: 270.5 kB / 0.9415 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.5964, allocations: 88.7 kB / 0.9416 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.5999, allocations: 1.057 MB / 0.9426 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.5999, allocations: 3.984 kB / 0.9426 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5999, allocations: 0 / 0.9426 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/0.6005, allocations: 275.8 kB / 0.9429 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.6007, allocations: 23.98 kB / 0.9429 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/0.6017, allocations: 59.94 kB / 0.943 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.6019, allocations: 72.88 kB / 0.943 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003008/0.6049, allocations: 0.9552 MB / 0.944 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003495/0.6084, allocations: 1.41 MB / 0.9454 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009432/0.6094, allocations: 351.8 kB / 0.9457 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008458/0.6102, allocations: 455 kB / 0.9461 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of Backend: time 7.11e-07/0.6103, allocations: 0 / 0.9461 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00469/0.615, allocations: 1.259 MB / 0.9474 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004224/0.6192, allocations: 2.019 MB / 0.9493 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.3473/0.9666, allocations: 16.18 MB / 0.9651 GB, free: 187.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)