Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 115.2 kB / 19.7 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002304/0.002304, allocations: 219.7 kB / 23 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9227/0.9227, allocations: 150 MB / 463.2 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 66.33 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1732, allocations: 89.17 MB / 0.7284 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003564/0.1768, allocations: 2.11 MB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.178, allocations: 0.6312 MB / 0.7311 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1781, allocations: 4 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.1782, allocations: 23.67 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1784, allocations: 47.53 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1786, allocations: 107.9 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.179, allocations: 303.3 kB / 0.7315 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1792, allocations: 100.7 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1794, allocations: 135.5 kB / 0.7318 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1796, allocations: 143.4 kB / 0.7319 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.1796, allocations: 32 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.573e-05/0.1797, allocations: 32 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.1797, allocations: 71.75 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1799, allocations: 123.4 kB / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.1802, allocations: 330.6 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1802, allocations: 0 / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1802, allocations: 0 / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.1802, allocations: 4 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001195/0.1814, allocations: 0.6202 MB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1815, allocations: 8.031 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.973e-05/0.1816, allocations: 70.98 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.1816, allocations: 32.75 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.182, allocations: 214.7 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.1821, allocations: 24.38 kB / 0.7334 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.1821, allocations: 20 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.1828, allocations: 320.2 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1828, allocations: 0 / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1828, allocations: 8 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1828, allocations: 8 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.1835, allocations: 229.5 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1847, allocations: 0.6506 MB / 0.7346 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.1853, allocations: 210.3 kB / 0.7348 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.1856, allocations: 89.09 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1856, allocations: 4 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.1861, allocations: 199.7 kB / 0.7351 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.1861, allocations: 4 kB / 0.7351 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001076/0.1872, allocations: 360 kB / 0.7354 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.1873, allocations: 136.5 kB / 0.7356 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1875, allocations: 227.1 kB / 0.7358 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.1876, allocations: 33.7 kB / 0.7358 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1877, allocations: 172.7 kB / 0.736 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.1877, allocations: 55.56 kB / 0.736 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1879, allocations: 85.62 kB / 0.7361 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.188, allocations: 330.8 kB / 0.7364 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.1884, allocations: 128.2 kB / 0.7365 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.1888, allocations: 188.7 kB / 0.7367 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.1894, allocations: 331 kB / 0.737 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1894, allocations: 0 / 0.737 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009053/0.1903, allocations: 437.1 kB / 0.7375 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.1904, allocations: 95.59 kB / 0.7375 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1904, allocations: 4 kB / 0.7376 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1904, allocations: 7.938 kB / 0.7376 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.1907, allocations: 43.89 kB / 0.7376 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1907, allocations: 4 kB / 0.7376 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.191, allocations: 67.78 kB / 0.7377 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.191, allocations: 16 kB / 0.7377 GB, free: 7.375 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,ySetOn.y,$PRE.ySetOn.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.canOpe,minFloRatSaf.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.1912, allocations: 160.4 kB / 0.7378 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.1912, allocations: 23.86 kB / 0.7379 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.94e-05/0.1913, allocations: 33.89 kB / 0.7379 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1913, allocations: 3.938 kB / 0.7379 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1913, allocations: 0 / 0.7379 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1913, allocations: 11.97 kB / 0.7379 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.1924, allocations: 0.6029 MB / 0.7385 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1924, allocations: 0 / 0.7385 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1926, allocations: 31.95 kB / 0.7385 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1926, allocations: 3.938 kB / 0.7385 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.1926, allocations: 11.98 kB / 0.7385 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.1926, allocations: 4 kB / 0.7385 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1926, allocations: 0 / 0.7385 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.1933, allocations: 362 kB / 0.7389 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1933, allocations: 27.83 kB / 0.7389 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.1934, allocations: 11.94 kB / 0.7389 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.1937, allocations: 47.94 kB / 0.739 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.1938, allocations: 59.89 kB / 0.739 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.1939, allocations: 11.98 kB / 0.739 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001305/0.194, allocations: 144.7 kB / 0.7392 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.194, allocations: 4 kB / 0.7392 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003142/0.1943, allocations: 67.84 kB / 0.7392 GB, free: 5.703 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.1957, allocations: 1.026 MB / 0.7403 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000894/0.1966, allocations: 430.1 kB / 0.7407 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1966, allocations: 0 / 0.7407 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.197, allocations: 125.7 kB / 0.7408 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1974, allocations: 30.42 kB / 0.7408 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.2018, allocations: 2.765 MB / 0.7435 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.2022, allocations: 0.748 MB / 0.7442 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000145/0.2023, allocations: 21.95 kB / 0.7443 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2025, allocations: 87.38 kB / 0.7443 GB, free: 272 kB / 0.5606 GB Notification: Performance of SimCode: time 1.083e-06/0.2025, allocations: 4 kB / 0.7443 GB, free: 268 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.2372, allocations: 6.396 MB / 0.7506 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.73, allocations: 0 / 0.7506 GB, free: 10.07 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.717249950997939] Failed to read output from testmodel.py, exit status != 0: 10.832768192001822 11.14406696 10.961420635 Calling exit ...