Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 275.2 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9077/0.9077, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 97.55 kB / 0.5952 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1379, allocations: 86.99 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006181/0.1441, allocations: 4.408 MB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.418/0.5622, allocations: 150.6 MB / 0.8315 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008302/0.5631, allocations: 22.91 kB / 0.8315 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.5635, allocations: 177.7 kB / 0.8317 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.5648, allocations: 0.5128 MB / 0.8322 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.5663, allocations: 0.8399 MB / 0.833 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009586/0.5673, allocations: 1.341 MB / 0.8343 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007242/0.568, allocations: 0.6245 MB / 0.835 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.5686, allocations: 485.1 kB / 0.8354 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.5691, allocations: 0.5086 MB / 0.8359 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.5693, allocations: 118.4 kB / 0.836 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007891/0.5701, allocations: 467.7 kB / 0.8365 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.5703, allocations: 306.9 kB / 0.8368 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.5707, allocations: 0.5541 MB / 0.8373 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.5721, allocations: 1.591 MB / 0.8389 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5721, allocations: 0 / 0.8389 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5721, allocations: 0 / 0.8389 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.5721, allocations: 1.5 kB / 0.8389 GB, free: 15.82 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002499/0.5746, allocations: 1.454 MB / 0.8403 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5747, allocations: 9.625 kB / 0.8403 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000891/0.5756, allocations: 185.6 kB / 0.8405 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.5765, allocations: 0.7529 MB / 0.8412 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.5766, allocations: 76.98 kB / 0.8413 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5767, allocations: 82.5 kB / 0.8414 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.5782, allocations: 0.9384 MB / 0.8423 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5782, allocations: 0 / 0.8423 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.5783, allocations: 36.09 kB / 0.8423 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.5783, allocations: 21.38 kB / 0.8423 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.58, allocations: 1.127 MB / 0.8434 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.5835, allocations: 2.539 MB / 0.8459 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.585, allocations: 0.9197 MB / 0.8468 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/0.5856, allocations: 307 kB / 0.8471 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.01e-05/0.5856, allocations: 41.69 kB / 0.8471 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008502/0.5865, allocations: 0.5107 MB / 0.8476 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 1.974e-06/0.5865, allocations: 3.938 kB / 0.8476 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.002961/0.5895, allocations: 1.245 MB / 0.8489 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.5896, allocations: 192.7 kB / 0.849 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.5903, allocations: 0.6392 MB / 0.8497 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.5903, allocations: 42.17 kB / 0.8497 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.5906, allocations: 404.6 kB / 0.8501 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.5908, allocations: 270.5 kB / 0.8503 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.591, allocations: 173 kB / 0.8505 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5912, allocations: 392.2 kB / 0.8509 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.5917, allocations: 275.1 kB / 0.8512 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.5923, allocations: 378.1 kB / 0.8515 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5934, allocations: 0.6228 MB / 0.8521 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5934, allocations: 4 kB / 0.8521 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001814/0.5952, allocations: 0.8679 MB / 0.853 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5952, allocations: 5.719 kB / 0.853 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5952, allocations: 0 / 0.853 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.5958, allocations: 88.62 kB / 0.8531 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.5965, allocations: 169.7 kB / 0.8532 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.5983, allocations: 1.624 MB / 0.8548 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.599, allocations: 105.8 kB / 0.8549 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.5991, allocations: 45.12 kB / 0.855 GB, free: 5.652 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0003402/0.5995, allocations: 271.1 kB / 0.8552 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5996, allocations: 89.59 kB / 0.8553 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.602, allocations: 1.133 MB / 0.8564 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.602, allocations: 10.19 kB / 0.8564 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.602, allocations: 7.938 kB / 0.8564 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.602, allocations: 3.984 kB / 0.8564 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.605, allocations: 2.025 MB / 0.8584 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.605, allocations: 0 / 0.8584 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.6056, allocations: 154.5 kB / 0.8586 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.606, allocations: 78.14 kB / 0.8586 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.6061, allocations: 23.27 kB / 0.8586 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.6078, allocations: 1.659 MB / 0.8603 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6078, allocations: 0 / 0.8603 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6097, allocations: 1.045 MB / 0.8613 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.61, allocations: 278 kB / 0.8616 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.6102, allocations: 19.62 kB / 0.8616 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/0.6108, allocations: 73.27 kB / 0.8616 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.611, allocations: 72.17 kB / 0.8617 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.611, allocations: 41.06 kB / 0.8618 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004785/0.6115, allocations: 463.5 kB / 0.8622 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6115, allocations: 0 / 0.8622 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007632/0.6123, allocations: 321.7 kB / 0.8625 GB, free: 456 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.6136, allocations: 0.6126 MB / 0.8631 GB, free: 168 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.6158, allocations: 1.079 MB / 0.8642 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6158, allocations: 6.906 kB / 0.8642 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/0.6167, allocations: 0.5359 MB / 0.8647 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6179, allocations: 301.9 kB / 0.865 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.6214, allocations: 1.819 MB / 0.8667 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.622, allocations: 1.033 MB / 0.8678 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007753/0.6228, allocations: 276.8 kB / 0.868 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.623, allocations: 108.7 kB / 0.8681 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.6231, allocations: 2.094 kB / 0.8681 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of Templates: time 0.02406/0.6471, allocations: 15.25 MB / 0.883 GB, free: 0.6875 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)