Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001763/0.001763, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001916/0.001916, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7637/0.7637, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 68.48 kB / 0.5735 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.136, allocations: 78.87 MB / 0.6505 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006337/0.1424, allocations: 5.008 MB / 0.6554 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4627/0.605, allocations: 150.7 MB / 0.8026 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/0.6059, allocations: 15.22 kB / 0.8026 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.6065, allocations: 201 kB / 0.8028 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.6081, allocations: 0.5548 MB / 0.8034 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.6099, allocations: 0.8871 MB / 0.8042 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.6112, allocations: 1.468 MB / 0.8057 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007629/0.6119, allocations: 0.6027 MB / 0.8063 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.6125, allocations: 0.5166 MB / 0.8068 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.613, allocations: 0.5317 MB / 0.8073 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.6131, allocations: 119.9 kB / 0.8074 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.6139, allocations: 0.5051 MB / 0.8079 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.6142, allocations: 319 kB / 0.8082 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.6146, allocations: 0.5874 MB / 0.8088 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.6161, allocations: 1.732 MB / 0.8105 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6161, allocations: 5.844 kB / 0.8105 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6161, allocations: 0 / 0.8105 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.6162, allocations: 0 / 0.8105 GB, free: 10.8 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002479/0.6187, allocations: 1.539 MB / 0.812 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.6187, allocations: 9.531 kB / 0.812 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.6188, allocations: 144.7 kB / 0.8121 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008728/0.6197, allocations: 200.5 kB / 0.8123 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.6208, allocations: 0.7915 MB / 0.8131 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.6209, allocations: 66.75 kB / 0.8131 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/0.621, allocations: 88.84 kB / 0.8132 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.6224, allocations: 0.9793 MB / 0.8142 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6224, allocations: 0 / 0.8142 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.6225, allocations: 41.34 kB / 0.8142 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.6226, allocations: 23.78 kB / 0.8143 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.6242, allocations: 1.161 MB / 0.8154 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/0.6281, allocations: 2.943 MB / 0.8183 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.6301, allocations: 0.9794 MB / 0.8192 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.6306, allocations: 327.5 kB / 0.8195 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.406e-05/0.6307, allocations: 41.06 kB / 0.8196 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008615/0.6316, allocations: 0.5367 MB / 0.8201 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.184e-06/0.6316, allocations: 0 / 0.8201 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003091/0.6347, allocations: 1.303 MB / 0.8214 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.6348, allocations: 199.1 kB / 0.8216 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.6355, allocations: 0.6479 MB / 0.8222 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.6356, allocations: 42.3 kB / 0.8222 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6359, allocations: 419.5 kB / 0.8226 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.6361, allocations: 290.3 kB / 0.8229 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.6364, allocations: 166 kB / 0.8231 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6366, allocations: 390.5 kB / 0.8234 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.6371, allocations: 271.5 kB / 0.8237 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.6377, allocations: 381.1 kB / 0.8241 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6388, allocations: 0.6357 MB / 0.8247 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.6388, allocations: 3.5 kB / 0.8247 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001849/0.6407, allocations: 0.8672 MB / 0.8255 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6407, allocations: 13.25 kB / 0.8255 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6407, allocations: 2.062 kB / 0.8255 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.6413, allocations: 79.59 kB / 0.8256 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.6419, allocations: 176.9 kB / 0.8258 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.644, allocations: 1.623 MB / 0.8274 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.6447, allocations: 106.7 kB / 0.8275 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.6448, allocations: 34.47 kB / 0.8275 GB, free: 0 / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003772/0.6451, allocations: 270.8 kB / 0.8278 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.6453, allocations: 97.47 kB / 0.8279 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.6478, allocations: 1.194 MB / 0.829 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.6478, allocations: 10.09 kB / 0.829 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6478, allocations: 0 / 0.829 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6478, allocations: 3.984 kB / 0.829 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.651, allocations: 2.101 MB / 0.8311 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.651, allocations: 0 / 0.8311 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.6516, allocations: 175.6 kB / 0.8313 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.652, allocations: 74.34 kB / 0.8313 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.6521, allocations: 26.3 kB / 0.8314 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.6539, allocations: 1.658 MB / 0.833 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6539, allocations: 0 / 0.833 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.6559, allocations: 1.099 MB / 0.834 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.6563, allocations: 292.8 kB / 0.8343 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6564, allocations: 21.38 kB / 0.8343 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.6571, allocations: 75.08 kB / 0.8344 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6573, allocations: 78.64 kB / 0.8345 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/0.6574, allocations: 40.59 kB / 0.8345 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005313/0.6579, allocations: 479.2 kB / 0.835 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6579, allocations: 0 / 0.835 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008229/0.6587, allocations: 353.5 kB / 0.8353 GB, free: 10.64 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 (106): * Single equations (assignments): 99 * 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.003993/0.6627, allocations: 2.165 MB / 0.8374 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.6644, allocations: 0.8702 MB / 0.8383 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6644, allocations: 0 / 0.8383 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009102/0.6653, allocations: 0.5715 MB / 0.8388 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.6665, allocations: 305.3 kB / 0.8391 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.677, allocations: 6.583 MB / 0.8456 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.6778, allocations: 1.048 MB / 0.8466 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008407/0.6786, allocations: 275.1 kB / 0.8469 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/0.6792, allocations: 411.3 kB / 0.8472 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.6792, allocations: 0 / 0.8472 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09454/0.7738, allocations: 22.93 MB / 0.8696 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.26, allocations: 15.38 kB / 0.8696 GB, free: 9.312 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)