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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007751/0.0007752, allocations: 97.95 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.004557/0.004557, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001701/0.001701, allocations: 270.4 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8879/0.8879, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003976, allocations: 12.31 kB / 0.5988 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004356/0.1435, allocations: 4.016 MB / 0.6892 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4176/0.5611, allocations: 146.7 MB / 0.8324 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004517/0.5616, allocations: 18.88 kB / 0.8324 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.562, allocations: 137.7 kB / 0.8325 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.5631, allocations: 445.7 kB / 0.833 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.5646, allocations: 0.7349 MB / 0.8337 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.5657, allocations: 1.246 MB / 0.8349 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.5665, allocations: 0.6017 MB / 0.8355 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.5669, allocations: 356.8 kB / 0.8358 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.5673, allocations: 400.9 kB / 0.8362 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/0.5674, allocations: 28.69 kB / 0.8362 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/0.568, allocations: 374.8 kB / 0.8366 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.5682, allocations: 193.1 kB / 0.8368 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.5685, allocations: 466.6 kB / 0.8372 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.5697, allocations: 1.506 MB / 0.8387 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5697, allocations: 0 / 0.8387 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5697, allocations: 0 / 0.8387 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.5697, allocations: 0 / 0.8387 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.002065/0.5718, allocations: 1.249 MB / 0.8399 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5718, allocations: 9.906 kB / 0.8399 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.572, allocations: 136.2 kB / 0.8401 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008089/0.5728, allocations: 202.6 kB / 0.8403 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.5737, allocations: 0.7513 MB / 0.841 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.5738, allocations: 65.5 kB / 0.841 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5739, allocations: 82.89 kB / 0.8411 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5753, allocations: 0.9525 MB / 0.8421 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5754, allocations: 0 / 0.8421 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.5754, allocations: 36.75 kB / 0.8421 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.5755, allocations: 21.31 kB / 0.8421 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.5771, allocations: 1.136 MB / 0.8432 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.5805, allocations: 2.587 MB / 0.8458 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.5819, allocations: 0.9243 MB / 0.8467 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.5824, allocations: 319.8 kB / 0.847 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-05/0.5825, allocations: 35.58 kB / 0.847 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/0.5833, allocations: 0.5298 MB / 0.8475 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 3.717e-06/0.5834, allocations: 0 / 0.8475 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.002932/0.5863, allocations: 1.263 MB / 0.8487 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.5864, allocations: 197.7 kB / 0.8489 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.5871, allocations: 0.6438 MB / 0.8496 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.5872, allocations: 44.58 kB / 0.8496 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.5875, allocations: 401.7 kB / 0.85 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.5877, allocations: 271.6 kB / 0.8502 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.5878, allocations: 65.58 kB / 0.8503 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.5879, allocations: 393.6 kB / 0.8507 GB, free: 332 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.5884, allocations: 264.3 kB / 0.8509 GB, free: 204 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.589, allocations: 373.5 kB / 0.8513 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.59, allocations: 0.6262 MB / 0.8519 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.59, allocations: 2.75 kB / 0.8519 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001741/0.5918, allocations: 0.8438 MB / 0.8527 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5918, allocations: 8.812 kB / 0.8527 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5918, allocations: 2.938 kB / 0.8527 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.5924, allocations: 79.62 kB / 0.8528 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.593, allocations: 168.6 kB / 0.853 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.5949, allocations: 1.515 MB / 0.8545 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.5955, allocations: 110.8 kB / 0.8546 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.5956, allocations: 29.89 kB / 0.8546 GB, free: 13.54 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: 18 (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 (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.0003736/0.596, allocations: 276.7 kB / 0.8549 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5961, allocations: 82.34 kB / 0.8549 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.5984, allocations: 1.152 MB / 0.8561 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.5984, allocations: 9 kB / 0.8561 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-06/0.5984, allocations: 0 / 0.8561 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5984, allocations: 9.672 kB / 0.8561 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.6013, allocations: 2.051 MB / 0.8581 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6013, allocations: 6.938 kB / 0.8581 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.6019, allocations: 160.4 kB / 0.8582 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.6024, allocations: 88.91 kB / 0.8583 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.6025, allocations: 24.42 kB / 0.8583 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.6041, allocations: 1.534 MB / 0.8598 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6041, allocations: 4.062 kB / 0.8598 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.606, allocations: 1.061 MB / 0.8609 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.6064, allocations: 302.6 kB / 0.8612 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.6065, allocations: 25.02 kB / 0.8612 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/0.6073, allocations: 85.27 kB / 0.8613 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.6074, allocations: 76.36 kB / 0.8614 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.6075, allocations: 44.56 kB / 0.8614 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005613/0.6081, allocations: 469.1 kB / 0.8618 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6081, allocations: 0 / 0.8618 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008295/0.6089, allocations: 309.5 kB / 0.8621 GB, free: 8.367 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.003412/0.6123, allocations: 2.117 MB / 0.8642 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.6139, allocations: 0.8443 MB / 0.865 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6139, allocations: 0 / 0.865 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.6148, allocations: 0.5404 MB / 0.8656 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.616, allocations: 268.4 kB / 0.8658 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.6286, allocations: 7.24 MB / 0.8729 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.6292, allocations: 1.035 MB / 0.8739 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008636/0.6301, allocations: 270.9 kB / 0.8742 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.6307, allocations: 391.3 kB / 0.8745 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.6307, allocations: 0 / 0.8745 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.21/2.84, allocations: 20.57 MB / 0.8946 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/2.841, allocations: 334.8 kB / 0.8949 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/5.576, allocations: 0 / 0.8949 GB, free: 8.562 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)