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.005326/0.005326, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001224/0.001224, allocations: 198.3 kB / 16.68 MB, free: 5.926 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.259/1.259, allocations: 222.9 MB / 240.4 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.002054/0.002054, allocations: 285.1 kB / 290.8 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.9332/0.9332, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002096, allocations: 103.8 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4557, allocations: 86.97 MB / 0.7659 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006179/0.4619, allocations: 4.434 MB / 0.7702 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.156/0.6179, allocations: 150.6 MB / 0.9173 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.6188, allocations: 15.94 kB / 0.9173 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007055/0.6195, allocations: 174.4 kB / 0.9175 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.6217, allocations: 0.5213 MB / 0.918 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.624, allocations: 0.85 MB / 0.9188 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.6257, allocations: 1.347 MB / 0.9201 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.6267, allocations: 0.6298 MB / 0.9207 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/0.6276, allocations: 0.4905 MB / 0.9212 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008155/0.6284, allocations: 0.5095 MB / 0.9217 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.6287, allocations: 116 kB / 0.9218 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.6297, allocations: 491.5 kB / 0.9223 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.6301, allocations: 303 kB / 0.9226 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.6308, allocations: 0.5634 MB / 0.9231 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.6329, allocations: 1.639 MB / 0.9247 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6329, allocations: 0 / 0.9247 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6329, allocations: 4 kB / 0.9247 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.576e-05/0.633, allocations: 4 kB / 0.9247 GB, free: 0.5234 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002918/0.6359, allocations: 1.459 MB / 0.9262 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6359, allocations: 8.031 kB / 0.9262 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.6361, allocations: 135.6 kB / 0.9263 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/0.637, allocations: 195.3 kB / 0.9265 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.6382, allocations: 0.7778 MB / 0.9272 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.6383, allocations: 66 kB / 0.9273 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.6384, allocations: 80 kB / 0.9274 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.64, allocations: 0.9457 MB / 0.9283 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.64, allocations: 0 / 0.9283 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.847e-05/0.6401, allocations: 39.98 kB / 0.9283 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.6401, allocations: 20 kB / 0.9284 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.6419, allocations: 1.139 MB / 0.9295 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.6458, allocations: 2.523 MB / 0.9319 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.6474, allocations: 0.9071 MB / 0.9328 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.6479, allocations: 318.7 kB / 0.9331 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.647e-05/0.648, allocations: 32.67 kB / 0.9332 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000869/0.6489, allocations: 0.5158 MB / 0.9337 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 3.657e-06/0.6489, allocations: 3.984 kB / 0.9337 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003234/0.6521, allocations: 1.251 MB / 0.9349 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.6522, allocations: 192.9 kB / 0.9351 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.653, allocations: 0.6411 MB / 0.9357 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.119e-05/0.6531, allocations: 41.7 kB / 0.9357 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.6534, allocations: 404.4 kB / 0.9361 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.6536, allocations: 276 kB / 0.9364 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.6539, allocations: 158.5 kB / 0.9365 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6541, allocations: 390.8 kB / 0.9369 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.6546, allocations: 257.8 kB / 0.9371 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.6552, allocations: 375.4 kB / 0.9375 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6563, allocations: 0.6095 MB / 0.9381 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.6563, allocations: 8 kB / 0.9381 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001931/0.6582, allocations: 0.833 MB / 0.9389 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6583, allocations: 7.938 kB / 0.9389 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6583, allocations: 4 kB / 0.9389 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.6589, allocations: 84.89 kB / 0.939 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.6596, allocations: 167.7 kB / 0.9392 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.6618, allocations: 1.621 MB / 0.9408 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/0.6626, allocations: 87.36 kB / 0.9408 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.6626, allocations: 39.91 kB / 0.9409 GB, free: 15.41 MB / 0.7169 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.0005198/0.6632, allocations: 272.3 kB / 0.9411 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.6634, allocations: 90.95 kB / 0.9412 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.6659, allocations: 1.132 MB / 0.9423 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.6659, allocations: 19.88 kB / 0.9424 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6659, allocations: 0 / 0.9424 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6659, allocations: 3.984 kB / 0.9424 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.6694, allocations: 2.033 MB / 0.9443 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.6694, allocations: 4 kB / 0.9443 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.6701, allocations: 159.8 kB / 0.9445 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.6705, allocations: 72.77 kB / 0.9446 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.6706, allocations: 23.98 kB / 0.9446 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.6726, allocations: 1.658 MB / 0.9462 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6726, allocations: 0 / 0.9462 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.6748, allocations: 1.053 MB / 0.9472 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/0.6753, allocations: 283.6 kB / 0.9475 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.6754, allocations: 24 kB / 0.9475 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.6762, allocations: 66.27 kB / 0.9476 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.6764, allocations: 80.89 kB / 0.9477 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/0.6764, allocations: 39.91 kB / 0.9477 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006048/0.6771, allocations: 463 kB / 0.9481 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6771, allocations: 4 kB / 0.9482 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009336/0.678, allocations: 323.2 kB / 0.9485 GB, free: 7.383 MB / 0.7169 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.003872/0.6819, allocations: 2.095 MB / 0.9505 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.6837, allocations: 0.8427 MB / 0.9513 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6838, allocations: 0 / 0.9513 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6848, allocations: 0.5473 MB / 0.9519 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.6862, allocations: 297.9 kB / 0.9521 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3125/0.9988, allocations: 6.494 MB / 0.9585 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.9994, allocations: 1.04 MB / 0.9595 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008382/1, allocations: 279.3 kB / 0.9598 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/1.001, allocations: 398.7 kB / 0.9602 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.91e-07/1.001, allocations: 1.125 kB / 0.9602 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/1.048, allocations: 22.36 MB / 0.982 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.31, allocations: 16.19 kB / 0.982 GB, free: 170.6 MB / 0.7169 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)