Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.001721/0.001721, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001757/0.001757, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7713/0.7713, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 76.17 kB / 0.5735 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1306, allocations: 78.87 MB / 0.6505 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00663/0.1372, allocations: 4.935 MB / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4652/0.6025, allocations: 150.6 MB / 0.8025 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007374/0.6033, allocations: 18.62 kB / 0.8025 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.6038, allocations: 201.4 kB / 0.8027 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.6054, allocations: 0.5591 MB / 0.8032 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.607, allocations: 0.8447 MB / 0.804 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.6086, allocations: 1.437 MB / 0.8054 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008031/0.6094, allocations: 0.5934 MB / 0.806 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.6101, allocations: 0.4951 MB / 0.8065 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.6107, allocations: 0.5201 MB / 0.807 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.6108, allocations: 117.8 kB / 0.8071 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008321/0.6116, allocations: 488.4 kB / 0.8076 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.6119, allocations: 305.7 kB / 0.8079 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.6123, allocations: 0.5773 MB / 0.8085 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.6139, allocations: 1.678 MB / 0.8101 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6139, allocations: 0 / 0.8101 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6139, allocations: 0 / 0.8101 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.6139, allocations: 2.094 kB / 0.8101 GB, free: 10.89 MB / 0.5919 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.002553/0.6165, allocations: 1.509 MB / 0.8116 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6165, allocations: 9.594 kB / 0.8116 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.6167, allocations: 138.3 kB / 0.8117 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008708/0.6175, allocations: 197.1 kB / 0.8119 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6186, allocations: 0.7866 MB / 0.8127 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.6187, allocations: 64.69 kB / 0.8127 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.6188, allocations: 83.88 kB / 0.8128 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.6202, allocations: 0.9426 MB / 0.8137 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.6202, allocations: 2.219 kB / 0.8137 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.6203, allocations: 34.78 kB / 0.8138 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.6203, allocations: 26.81 kB / 0.8138 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.622, allocations: 1.129 MB / 0.8149 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.626, allocations: 2.792 MB / 0.8176 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.6275, allocations: 0.9083 MB / 0.8185 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.6281, allocations: 316.9 kB / 0.8188 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/0.6282, allocations: 39.17 kB / 0.8188 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/0.6291, allocations: 0.5234 MB / 0.8194 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.344e-06/0.6291, allocations: 0 / 0.8194 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003232/0.6323, allocations: 1.256 MB / 0.8206 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.6325, allocations: 192.2 kB / 0.8208 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.6333, allocations: 0.647 MB / 0.8214 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/0.6334, allocations: 46.58 kB / 0.8214 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.6337, allocations: 415.1 kB / 0.8218 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.634, allocations: 283.9 kB / 0.8221 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.6342, allocations: 155.6 kB / 0.8223 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6344, allocations: 386.6 kB / 0.8226 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.6349, allocations: 260 kB / 0.8229 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.6355, allocations: 380.1 kB / 0.8232 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6366, allocations: 0.6165 MB / 0.8238 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6366, allocations: 0 / 0.8238 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001857/0.6385, allocations: 0.8391 MB / 0.8247 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6385, allocations: 6.812 kB / 0.8247 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6385, allocations: 7.688 kB / 0.8247 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.6391, allocations: 82.41 kB / 0.8247 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.6397, allocations: 161.8 kB / 0.8249 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.6418, allocations: 1.629 MB / 0.8265 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.6425, allocations: 100.7 kB / 0.8266 GB, free: 496 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.6426, allocations: 31.47 kB / 0.8266 GB, free: 484 kB / 0.5919 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.0004357/0.643, allocations: 273.2 kB / 0.8269 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6432, allocations: 87.38 kB / 0.827 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.6456, allocations: 1.141 MB / 0.8281 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6456, allocations: 18.59 kB / 0.8281 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6456, allocations: 4 kB / 0.8281 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.6457, allocations: 3.984 kB / 0.8281 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.6489, allocations: 2.026 MB / 0.8301 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6489, allocations: 0 / 0.8301 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.6495, allocations: 152.6 kB / 0.8302 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.6499, allocations: 78.28 kB / 0.8303 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.65, allocations: 27.62 kB / 0.8303 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.6519, allocations: 1.658 MB / 0.8319 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6519, allocations: 0 / 0.8319 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.654, allocations: 1.056 MB / 0.833 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.6544, allocations: 285.1 kB / 0.8332 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6546, allocations: 24.8 kB / 0.8333 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.6552, allocations: 61.8 kB / 0.8333 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.6554, allocations: 84.03 kB / 0.8334 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.6555, allocations: 36.86 kB / 0.8334 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005666/0.656, allocations: 465.7 kB / 0.8339 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.656, allocations: 0 / 0.8339 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008235/0.6569, allocations: 343.1 kB / 0.8342 GB, free: 11.21 MB / 0.6075 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.003952/0.6608, allocations: 2.112 MB / 0.8363 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.6625, allocations: 0.8417 MB / 0.8371 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6625, allocations: 256 / 0.8371 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000934/0.6634, allocations: 0.5418 MB / 0.8376 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6648, allocations: 307.5 kB / 0.8379 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.6754, allocations: 6.42 MB / 0.8442 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.6761, allocations: 1.036 MB / 0.8452 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008475/0.677, allocations: 270.9 kB / 0.8455 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/0.6776, allocations: 399.3 kB / 0.8458 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.635e-06/0.6776, allocations: 0 / 0.8458 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05631/0.7339, allocations: 22.27 MB / 0.8676 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.04, allocations: 7.828 kB / 0.8676 GB, free: 11.28 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)