Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009564, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004715/0.004715, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 274.4 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9334/0.9334, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 18.88 kB / 0.5987 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 88.55 MB / 0.6851 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004749/0.1546, allocations: 4.024 MB / 0.6891 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4216/0.5763, allocations: 146.7 MB / 0.8323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5774, allocations: 18.88 kB / 0.8323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000541/0.5779, allocations: 136.2 kB / 0.8324 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.5794, allocations: 448.9 kB / 0.8329 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.5812, allocations: 0.7307 MB / 0.8336 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.5823, allocations: 1.258 MB / 0.8348 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.5831, allocations: 0.5892 MB / 0.8354 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.5836, allocations: 362.6 kB / 0.8357 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.584, allocations: 393.4 kB / 0.8361 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.5841, allocations: 26.72 kB / 0.8361 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.5848, allocations: 373.7 kB / 0.8365 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.585, allocations: 197.2 kB / 0.8367 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.5854, allocations: 466.6 kB / 0.8371 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.5866, allocations: 1.509 MB / 0.8386 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5866, allocations: 4 kB / 0.8386 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5866, allocations: 0 / 0.8386 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.5866, allocations: 0 / 0.8386 GB, free: 8.707 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002111/0.5887, allocations: 1.238 MB / 0.8398 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.5888, allocations: 9.219 kB / 0.8398 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.5896, allocations: 196.3 kB / 0.84 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009316/0.5906, allocations: 0.7585 MB / 0.8407 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.5907, allocations: 61.41 kB / 0.8408 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5908, allocations: 86.69 kB / 0.8409 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.5923, allocations: 0.9505 MB / 0.8418 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5924, allocations: 3.938 kB / 0.8418 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.5924, allocations: 37.41 kB / 0.8418 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5925, allocations: 26.61 kB / 0.8419 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.5941, allocations: 1.135 MB / 0.843 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003662/0.5978, allocations: 2.588 MB / 0.8455 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.5993, allocations: 0.9152 MB / 0.8464 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.5998, allocations: 328.5 kB / 0.8467 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.317e-05/0.5999, allocations: 33.91 kB / 0.8467 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008431/0.6007, allocations: 0.5124 MB / 0.8472 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.485e-06/0.6008, allocations: 4 kB / 0.8473 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003059/0.6038, allocations: 1.266 MB / 0.8485 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.6039, allocations: 195.8 kB / 0.8487 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.6046, allocations: 0.6388 MB / 0.8493 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.6047, allocations: 45.67 kB / 0.8493 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.605, allocations: 398.9 kB / 0.8497 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.6052, allocations: 279.7 kB / 0.85 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.6053, allocations: 70.53 kB / 0.8501 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6055, allocations: 390.4 kB / 0.8504 GB, free: 460 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.606, allocations: 280.6 kB / 0.8507 GB, free: 324 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.6066, allocations: 387.5 kB / 0.8511 GB, free: 92 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6077, allocations: 0.645 MB / 0.8517 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6077, allocations: 2.469 kB / 0.8517 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001869/0.6096, allocations: 0.8926 MB / 0.8526 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6096, allocations: 9.688 kB / 0.8526 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6097, allocations: 8.062 kB / 0.8526 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.6102, allocations: 83.61 kB / 0.8527 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.6109, allocations: 172.9 kB / 0.8528 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.6128, allocations: 1.526 MB / 0.8543 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.6135, allocations: 108.8 kB / 0.8544 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.6136, allocations: 36.64 kB / 0.8545 GB, free: 13.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0003894/0.614, allocations: 281.7 kB / 0.8547 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.6141, allocations: 88.31 kB / 0.8548 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.6165, allocations: 1.147 MB / 0.8559 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6166, allocations: 11.09 kB / 0.8559 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.6166, allocations: 0 / 0.8559 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6166, allocations: 15.91 kB / 0.856 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.6197, allocations: 2.037 MB / 0.8579 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6197, allocations: 3.344 kB / 0.858 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.6203, allocations: 156.1 kB / 0.8581 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/0.6208, allocations: 89.33 kB / 0.8582 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.6209, allocations: 23.83 kB / 0.8582 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.6226, allocations: 1.549 MB / 0.8597 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6226, allocations: 6.922 kB / 0.8597 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.6245, allocations: 1.053 MB / 0.8608 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.6249, allocations: 291.9 kB / 0.861 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.6251, allocations: 29.27 kB / 0.8611 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.6258, allocations: 85.62 kB / 0.8611 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.6259, allocations: 76.81 kB / 0.8612 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.626, allocations: 40.59 kB / 0.8613 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000518/0.6265, allocations: 463.8 kB / 0.8617 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6265, allocations: 0 / 0.8617 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008351/0.6274, allocations: 323.3 kB / 0.862 GB, free: 8.453 MB / 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 (100): * Single equations (assignments): 93 * 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.00128/0.6287, allocations: 0.6155 MB / 0.8626 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.6303, allocations: 0.8752 MB / 0.8635 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6303, allocations: 0 / 0.8635 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008769/0.6312, allocations: 0.5406 MB / 0.864 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.6324, allocations: 266.3 kB / 0.8642 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.6363, allocations: 2.307 MB / 0.8665 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.6369, allocations: 1.043 MB / 0.8675 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008275/0.6377, allocations: 270.7 kB / 0.8678 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.638, allocations: 115.4 kB / 0.8679 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/0.638, allocations: 0 / 0.8679 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of Templates: time 0.02336/0.6614, allocations: 14.49 MB / 0.882 GB, free: 5.676 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)