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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 109.9 kB / 18.27 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 189.9 kB / 21.43 MB, free: 0.8672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 250 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7571/0.7571, allocations: 128.4 MB / 433.5 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 71.83 kB / 0.6002 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3305, allocations: 83.26 MB / 0.6815 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006266/0.3367, allocations: 7.432 MB / 0.6888 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.5007, allocations: 152.3 MB / 0.8376 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.5021, allocations: 27.88 kB / 0.8376 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.5036, allocations: 431.5 kB / 0.838 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.5061, allocations: 0.7675 MB / 0.8388 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.5086, allocations: 1.154 MB / 0.8399 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002968/0.5116, allocations: 2.458 MB / 0.8423 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.5127, allocations: 0.7737 MB / 0.8431 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.5138, allocations: 0.9112 MB / 0.8439 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.5148, allocations: 0.9921 MB / 0.8449 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.5151, allocations: 264 kB / 0.8452 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5161, allocations: 0.648 MB / 0.8458 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.5166, allocations: 0.5647 MB / 0.8463 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008721/0.5174, allocations: 1.081 MB / 0.8474 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.5205, allocations: 3.18 MB / 0.8505 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5205, allocations: 0 / 0.8505 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5205, allocations: 0 / 0.8505 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.5205, allocations: 4 kB / 0.8505 GB, free: 0.875 MB / 0.6544 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.004069/0.5246, allocations: 2.348 MB / 0.8528 GB, free: 14.47 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5246, allocations: 12.03 kB / 0.8528 GB, free: 14.46 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000272/0.5249, allocations: 232.7 kB / 0.853 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.5305, allocations: 0.885 MB / 0.8539 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.5322, allocations: 1.133 MB / 0.855 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-05/0.5323, allocations: 119.3 kB / 0.8551 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.5325, allocations: 164 kB / 0.8553 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.5367, allocations: 2.063 MB / 0.8573 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.5367, allocations: 0 / 0.8573 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.5369, allocations: 68 kB / 0.8574 GB, free: 9.695 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.5369, allocations: 40 kB / 0.8574 GB, free: 9.656 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005759/0.5427, allocations: 2.452 MB / 0.8598 GB, free: 7.199 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00897/0.5516, allocations: 5.928 MB / 0.8656 GB, free: 1.027 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2656/0.8172, allocations: 1.607 MB / 0.8671 GB, free: 175.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.8191, allocations: 0.7249 MB / 0.8679 GB, free: 175.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005365/0.8197, allocations: 495.6 kB / 0.8683 GB, free: 174.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/0.8219, allocations: 1.069 MB / 0.8694 GB, free: 174.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=139): time 2.895e-06/0.8219, allocations: 0 / 0.8694 GB, free: 174.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=139): time 0.007537/0.8295, allocations: 2.618 MB / 0.8719 GB, free: 173.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.8295, allocations: 222.1 kB / 0.8721 GB, free: 173.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.8307, allocations: 0.9429 MB / 0.8731 GB, free: 172.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.8309, allocations: 55.23 kB / 0.8731 GB, free: 172.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.8313, allocations: 0.6674 MB / 0.8738 GB, free: 172.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.8316, allocations: 472.6 kB / 0.8742 GB, free: 172.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004128/0.832, allocations: 258.1 kB / 0.8745 GB, free: 172 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.8321, allocations: 351.9 kB / 0.8748 GB, free: 171.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.8338, allocations: 0.67 MB / 0.8755 GB, free: 171.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.8358, allocations: 0.8253 MB / 0.8763 GB, free: 171.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.8396, allocations: 1.439 MB / 0.8777 GB, free: 170.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8396, allocations: 1.297 kB / 0.8777 GB, free: 170.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004484/0.8441, allocations: 1.803 MB / 0.8794 GB, free: 169.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8441, allocations: 5.031 kB / 0.8794 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8441, allocations: 9.625 kB / 0.8794 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.8446, allocations: 86.33 kB / 0.8795 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.8463, allocations: 334.7 kB / 0.8798 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.8478, allocations: 1.643 MB / 0.8814 GB, free: 168.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.8492, allocations: 209 kB / 0.8816 GB, free: 168.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.8494, allocations: 60.58 kB / 0.8817 GB, free: 168.1 MB / 0.67 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.0005927/0.8499, allocations: 395.9 kB / 0.8821 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.8502, allocations: 141.6 kB / 0.8822 GB, free: 167.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005193/0.8554, allocations: 2.225 MB / 0.8844 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.8554, allocations: 19.58 kB / 0.8844 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.8554, allocations: 4 kB / 0.8844 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8554, allocations: 8.141 kB / 0.8844 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.8571, allocations: 1.808 MB / 0.8862 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.8571, allocations: 3.984 kB / 0.8862 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.8588, allocations: 309.7 kB / 0.8865 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.8592, allocations: 75.58 kB / 0.8866 GB, free: 165.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.8593, allocations: 49.72 kB / 0.8866 GB, free: 165.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.8607, allocations: 1.674 MB / 0.8882 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8607, allocations: 1.125 kB / 0.8882 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/0.8651, allocations: 1.929 MB / 0.8901 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.8656, allocations: 453.3 kB / 0.8906 GB, free: 162.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.8658, allocations: 43.02 kB / 0.8906 GB, free: 162.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.8671, allocations: 144.6 kB / 0.8907 GB, free: 162.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.8673, allocations: 115.4 kB / 0.8908 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8674, allocations: 60.64 kB / 0.8909 GB, free: 162 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007157/0.8682, allocations: 0.6862 MB / 0.8916 GB, free: 161.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8682, allocations: 0 / 0.8916 GB, free: 161.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001085/0.8692, allocations: 0.5182 MB / 0.8921 GB, free: 161.5 MB / 0.67 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.006121/0.8754, allocations: 3.032 MB / 0.895 GB, free: 159.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004137/0.8795, allocations: 1.726 MB / 0.8967 GB, free: 158.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8795, allocations: 1.375 kB / 0.8967 GB, free: 158.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.8816, allocations: 0.9821 MB / 0.8977 GB, free: 158.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.8829, allocations: 396.8 kB / 0.8981 GB, free: 158.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.9006, allocations: 11.4 MB / 0.9092 GB, free: 148.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.9011, allocations: 1.288 MB / 0.9105 GB, free: 146.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001347/0.9024, allocations: 406.5 kB / 0.9108 GB, free: 146.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008606/0.9033, allocations: 0.6749 MB / 0.9115 GB, free: 145.7 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/0.9033, allocations: 3.938 kB / 0.9115 GB, free: 145.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06138/0.9647, allocations: 35.96 MB / 0.9466 GB, free: 110 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.91, allocations: 0 / 0.9466 GB, free: 110 MB / 0.67 GB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.137276189998374]