Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001855/0.001855, allocations: 107.7 kB / 16.41 MB, free: 6.43 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.002011/0.002011, allocations: 189.2 kB / 17.34 MB, free: 5.727 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7762/0.7762, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 79.28 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1293, allocations: 78.86 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006478/0.1358, allocations: 4.783 MB / 0.6552 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4533/0.5891, allocations: 150.6 MB / 0.8023 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.5899, allocations: 23.38 kB / 0.8023 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.5904, allocations: 190.7 kB / 0.8025 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.592, allocations: 0.538 MB / 0.803 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.5936, allocations: 0.8331 MB / 0.8038 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.5949, allocations: 1.364 MB / 0.8051 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000747/0.5957, allocations: 0.57 MB / 0.8057 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.5963, allocations: 482.3 kB / 0.8061 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004992/0.5968, allocations: 498.9 kB / 0.8066 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.5969, allocations: 115.1 kB / 0.8067 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007581/0.5977, allocations: 481 kB / 0.8072 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.5979, allocations: 295.4 kB / 0.8075 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.5983, allocations: 0.5421 MB / 0.808 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.5999, allocations: 1.624 MB / 0.8096 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5999, allocations: 0 / 0.8096 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5999, allocations: 0 / 0.8096 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.5999, allocations: 4.062 kB / 0.8096 GB, free: 10.94 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002314/0.6022, allocations: 1.457 MB / 0.811 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6023, allocations: 8.125 kB / 0.811 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.6024, allocations: 134.3 kB / 0.8112 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/0.6033, allocations: 192 kB / 0.8113 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.6043, allocations: 0.7635 MB / 0.8121 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.6044, allocations: 64.11 kB / 0.8121 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/0.6045, allocations: 78.81 kB / 0.8122 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.6058, allocations: 0.9005 MB / 0.8131 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.6058, allocations: 2.844 kB / 0.8131 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.6059, allocations: 35.09 kB / 0.8131 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.6059, allocations: 20.12 kB / 0.8132 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.6074, allocations: 1.096 MB / 0.8142 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.6109, allocations: 2.717 MB / 0.8169 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.6123, allocations: 0.8613 MB / 0.8177 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.6128, allocations: 298.4 kB / 0.818 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.695e-05/0.6129, allocations: 31.78 kB / 0.818 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008012/0.6137, allocations: 0.4909 MB / 0.8185 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.405e-06/0.6137, allocations: 0 / 0.8185 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002947/0.6167, allocations: 1.186 MB / 0.8197 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6168, allocations: 196.3 kB / 0.8199 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006901/0.6175, allocations: 0.6164 MB / 0.8205 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.6176, allocations: 43.2 kB / 0.8205 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.6179, allocations: 400.7 kB / 0.8209 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.6181, allocations: 271 kB / 0.8211 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.6183, allocations: 143.1 kB / 0.8213 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.6185, allocations: 387.6 kB / 0.8216 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.619, allocations: 243.1 kB / 0.8219 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.6196, allocations: 349 kB / 0.8222 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/0.6205, allocations: 0.5748 MB / 0.8228 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6206, allocations: 0 / 0.8228 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00172/0.6223, allocations: 0.8016 MB / 0.8236 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6223, allocations: 4.438 kB / 0.8236 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6223, allocations: 2.906 kB / 0.8236 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.6229, allocations: 83.86 kB / 0.8236 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.6234, allocations: 146 kB / 0.8238 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.6255, allocations: 1.634 MB / 0.8254 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.6261, allocations: 96.34 kB / 0.8255 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.6262, allocations: 32.59 kB / 0.8255 GB, free: 1.055 MB / 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003716/0.6266, allocations: 254.6 kB / 0.8257 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.6267, allocations: 85.33 kB / 0.8258 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.629, allocations: 1.062 MB / 0.8269 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.629, allocations: 9.781 kB / 0.8269 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.629, allocations: 0 / 0.8269 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.629, allocations: 7.984 kB / 0.8269 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.632, allocations: 1.911 MB / 0.8287 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.632, allocations: 0 / 0.8287 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.6325, allocations: 140.2 kB / 0.8289 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/0.6329, allocations: 70.81 kB / 0.8289 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.633, allocations: 27.36 kB / 0.829 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.6349, allocations: 1.66 MB / 0.8306 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6349, allocations: 3.938 kB / 0.8306 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.6368, allocations: 0.9913 MB / 0.8316 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.6372, allocations: 272 kB / 0.8318 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.6373, allocations: 21.16 kB / 0.8318 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.6379, allocations: 62.05 kB / 0.8319 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.638, allocations: 65.47 kB / 0.832 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.6381, allocations: 42.88 kB / 0.832 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005301/0.6386, allocations: 458.1 kB / 0.8324 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6387, allocations: 0 / 0.8324 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007713/0.6394, allocations: 323.3 kB / 0.8328 GB, free: 11.98 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003869/0.6433, allocations: 2.041 MB / 0.8347 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.6448, allocations: 0.7852 MB / 0.8355 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6448, allocations: 0 / 0.8355 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000875/0.6457, allocations: 0.523 MB / 0.836 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.647, allocations: 290.8 kB / 0.8363 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/0.6567, allocations: 6.152 MB / 0.8423 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.6574, allocations: 1.015 MB / 0.8433 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007747/0.6582, allocations: 258.6 kB / 0.8435 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.6588, allocations: 383.3 kB / 0.8439 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of SimCode: time 7.71e-07/0.6588, allocations: 0 / 0.8439 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.713, allocations: 21.3 MB / 0.8647 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.06, allocations: 12.95 kB / 0.8647 GB, free: 14.12 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_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_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)