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.001252/0.001252, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001482/0.001482, allocations: 198.2 kB / 16.25 MB, free: 6.617 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 287 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9224/0.9224, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 105.8 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 86.98 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005364/0.1413, allocations: 4.443 MB / 0.6841 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4018/0.5432, allocations: 148.3 MB / 0.8289 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.5439, allocations: 16.03 kB / 0.829 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.5444, allocations: 141.1 kB / 0.8291 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.5458, allocations: 466 kB / 0.8295 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.5474, allocations: 0.7544 MB / 0.8303 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.5486, allocations: 1.348 MB / 0.8316 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007198/0.5493, allocations: 0.6194 MB / 0.8322 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005237/0.5498, allocations: 0.4974 MB / 0.8327 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.5503, allocations: 0.5105 MB / 0.8332 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.5505, allocations: 119.4 kB / 0.8333 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/0.5512, allocations: 459 kB / 0.8337 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.5515, allocations: 307.2 kB / 0.834 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.5519, allocations: 0.5564 MB / 0.8346 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.5536, allocations: 1.605 MB / 0.8361 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5536, allocations: 0 / 0.8361 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5536, allocations: 3.938 kB / 0.8361 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.5536, allocations: 4 kB / 0.8361 GB, free: 15.55 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002776/0.5564, allocations: 1.451 MB / 0.8376 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5564, allocations: 9.594 kB / 0.8376 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.5566, allocations: 143.5 kB / 0.8377 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.5575, allocations: 188.5 kB / 0.8379 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009833/0.5585, allocations: 0.7587 MB / 0.8386 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.5586, allocations: 66.66 kB / 0.8387 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5587, allocations: 82.28 kB / 0.8388 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.5602, allocations: 0.9474 MB / 0.8397 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5602, allocations: 1.375 kB / 0.8397 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/0.5603, allocations: 35.75 kB / 0.8397 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.5604, allocations: 24.02 kB / 0.8398 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.562, allocations: 1.135 MB / 0.8409 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.5657, allocations: 2.556 MB / 0.8434 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.5672, allocations: 0.918 MB / 0.8443 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.5677, allocations: 313.2 kB / 0.8446 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.5678, allocations: 35.17 kB / 0.8446 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008694/0.5687, allocations: 0.5165 MB / 0.8451 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.394e-06/0.5687, allocations: 0 / 0.8451 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003154/0.5718, allocations: 1.247 MB / 0.8463 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.5719, allocations: 194.5 kB / 0.8465 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/0.5726, allocations: 0.647 MB / 0.8471 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/0.5727, allocations: 42.86 kB / 0.8472 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.573, allocations: 401.5 kB / 0.8476 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.5732, allocations: 271.7 kB / 0.8478 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.5734, allocations: 160.1 kB / 0.848 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5736, allocations: 392.4 kB / 0.8483 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.5741, allocations: 256.6 kB / 0.8486 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.5747, allocations: 379.8 kB / 0.8489 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5757, allocations: 0.6066 MB / 0.8495 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5757, allocations: 4 kB / 0.8495 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001829/0.5775, allocations: 0.8381 MB / 0.8504 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5776, allocations: 4.531 kB / 0.8504 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5776, allocations: 6.594 kB / 0.8504 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.5782, allocations: 83.11 kB / 0.8504 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.5788, allocations: 160.2 kB / 0.8506 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.5808, allocations: 1.624 MB / 0.8522 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/0.5816, allocations: 101.7 kB / 0.8523 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.5816, allocations: 32.11 kB / 0.8523 GB, free: 6.027 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.0004022/0.582, allocations: 273.1 kB / 0.8526 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.5822, allocations: 89.41 kB / 0.8527 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.5846, allocations: 1.13 MB / 0.8538 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5847, allocations: 16.09 kB / 0.8538 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5847, allocations: 4.062 kB / 0.8538 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5847, allocations: 11.97 kB / 0.8538 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.5878, allocations: 2.04 MB / 0.8558 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5878, allocations: 0 / 0.8558 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.5884, allocations: 153.9 kB / 0.8559 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.5889, allocations: 74.34 kB / 0.856 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.589, allocations: 29.98 kB / 0.856 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.5908, allocations: 1.657 MB / 0.8577 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5908, allocations: 0 / 0.8577 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.5928, allocations: 1.05 MB / 0.8587 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.5932, allocations: 281.6 kB / 0.8589 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.5934, allocations: 22 kB / 0.859 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.5941, allocations: 67.83 kB / 0.859 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.5943, allocations: 79.3 kB / 0.8591 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.5943, allocations: 41.16 kB / 0.8591 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005457/0.5949, allocations: 463.6 kB / 0.8596 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5949, allocations: 0 / 0.8596 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008872/0.5958, allocations: 319 kB / 0.8599 GB, free: 0.8086 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.003545/0.5994, allocations: 2.115 MB / 0.862 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.6017, allocations: 1.059 MB / 0.863 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6017, allocations: 0 / 0.863 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009098/0.6027, allocations: 0.5431 MB / 0.8635 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.604, allocations: 304.1 kB / 0.8638 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.6161, allocations: 7.127 MB / 0.8708 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.6167, allocations: 1.038 MB / 0.8718 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008973/0.6176, allocations: 276.4 kB / 0.872 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/0.6181, allocations: 403.5 kB / 0.8724 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.6181, allocations: 0 / 0.8724 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.6562, allocations: 21.48 MB / 0.8934 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.6564, allocations: 326.6 kB / 0.8937 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.461, allocations: 3.094 kB / 0.8937 GB, free: 3.895 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)