Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.00175/0.00175, allocations: 103.1 kB / 16.4 MB, free: 6.508 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.001837/0.001837, allocations: 192 kB / 17.34 MB, free: 5.734 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.412/1.412, 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.8594/0.8594, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.14 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1529, allocations: 78.86 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01034/0.1633, allocations: 7.353 MB / 0.6577 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5033/0.6666, allocations: 151.8 MB / 0.806 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.6682, allocations: 22.81 kB / 0.806 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.6701, allocations: 429.2 kB / 0.8064 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.6729, allocations: 0.7588 MB / 0.8071 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.6756, allocations: 1.13 MB / 0.8082 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003378/0.6789, allocations: 2.46 MB / 0.8106 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.6807, allocations: 1.152 MB / 0.8118 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.682, allocations: 0.9034 MB / 0.8126 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.6832, allocations: 0.9922 MB / 0.8136 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.6835, allocations: 263.6 kB / 0.8139 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.6845, allocations: 0.6371 MB / 0.8145 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003948/0.6849, allocations: 0.5716 MB / 0.815 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008844/0.6858, allocations: 1.083 MB / 0.8161 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.6894, allocations: 3.176 MB / 0.8192 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6895, allocations: 0 / 0.8192 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6895, allocations: 6.219 kB / 0.8192 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.492e-05/0.6895, allocations: 0 / 0.8192 GB, free: 7.859 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004871/0.6944, allocations: 2.337 MB / 0.8215 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6945, allocations: 10.38 kB / 0.8215 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003044/0.6948, allocations: 235.5 kB / 0.8217 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/0.7008, allocations: 0.8834 MB / 0.8226 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.7031, allocations: 1.142 MB / 0.8237 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.7032, allocations: 122.9 kB / 0.8238 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.7035, allocations: 157.8 kB / 0.824 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/0.7083, allocations: 2.064 MB / 0.826 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.7084, allocations: 0 / 0.826 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.7085, allocations: 70.5 kB / 0.8261 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.7086, allocations: 40.31 kB / 0.8261 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006138/0.7147, allocations: 2.451 MB / 0.8285 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.7263, allocations: 5.928 MB / 0.8343 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.7308, allocations: 1.715 MB / 0.836 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.7329, allocations: 0.7955 MB / 0.8367 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.7337, allocations: 492.4 kB / 0.8372 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002547/0.7363, allocations: 1.08 MB / 0.8383 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=139): time 3.196e-06/0.7363, allocations: 0 / 0.8383 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=139): time 0.007772/0.7441, allocations: 2.623 MB / 0.8408 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.7442, allocations: 222.9 kB / 0.841 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.7456, allocations: 0.9406 MB / 0.8419 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.7458, allocations: 53.7 kB / 0.842 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/0.7465, allocations: 0.6655 MB / 0.8426 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.7469, allocations: 472.5 kB / 0.8431 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.7474, allocations: 254.8 kB / 0.8433 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7476, allocations: 357.9 kB / 0.8437 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.7496, allocations: 0.6702 MB / 0.8443 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.7518, allocations: 0.8276 MB / 0.8451 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/0.756, allocations: 1.447 MB / 0.8466 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.756, allocations: 0 / 0.8466 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00554/0.7616, allocations: 1.797 MB / 0.8483 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.7616, allocations: 4 kB / 0.8483 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.7616, allocations: 0 / 0.8483 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.7623, allocations: 92.77 kB / 0.8484 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.7641, allocations: 331.5 kB / 0.8487 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.7666, allocations: 1.65 MB / 0.8503 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.7685, allocations: 198.9 kB / 0.8505 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.7688, allocations: 59.94 kB / 0.8506 GB, free: 14.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (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,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * 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.0009944/0.7698, allocations: 407.7 kB / 0.851 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/0.7702, allocations: 135.1 kB / 0.8511 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/0.7768, allocations: 2.23 MB / 0.8533 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.7768, allocations: 15.94 kB / 0.8533 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7768, allocations: 0 / 0.8533 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.7769, allocations: 11.97 kB / 0.8533 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.7796, allocations: 1.805 MB / 0.8551 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7796, allocations: 0 / 0.8551 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/0.7814, allocations: 311.6 kB / 0.8554 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.7819, allocations: 76.78 kB / 0.8554 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/0.782, allocations: 43.95 kB / 0.8555 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.7841, allocations: 1.676 MB / 0.8571 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7841, allocations: 0 / 0.8571 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/0.7897, allocations: 1.934 MB / 0.859 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008355/0.7906, allocations: 443.6 kB / 0.8594 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.7909, allocations: 39.89 kB / 0.8595 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.7924, allocations: 149.8 kB / 0.8596 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.7927, allocations: 117.1 kB / 0.8597 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.7928, allocations: 63.94 kB / 0.8598 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00105/0.7939, allocations: 0.6832 MB / 0.8604 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7939, allocations: 7.938 kB / 0.8605 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00139/0.7953, allocations: 0.5182 MB / 0.861 GB, free: 3.957 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.007653/0.8029, allocations: 3.017 MB / 0.8639 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005269/0.8083, allocations: 1.798 MB / 0.8657 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.8083, allocations: 4 kB / 0.8657 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002716/0.811, allocations: 1.056 MB / 0.8667 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.813, allocations: 382.6 kB / 0.8671 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/0.8379, allocations: 11.41 MB / 0.8782 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009894/0.8389, allocations: 1.28 MB / 0.8794 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001822/0.8407, allocations: 406.5 kB / 0.8798 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.842, allocations: 0.6788 MB / 0.8805 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of SimCode: time 3.016e-06/0.842, allocations: 0 / 0.8805 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08136/0.9234, allocations: 35.63 MB / 0.9153 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.89, allocations: 5.344 kB / 0.9153 GB, free: 12.63 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_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_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)