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.001247/0.001247, allocations: 114 kB / 17.12 MB, free: 6.008 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.001575/0.001575, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.44/1.44, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9376/0.9376, allocations: 150 MB / 459.5 MB, free: 5.285 MB / 350.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.001926/0.001926, allocations: 72.62 kB / 0.6362 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1614, allocations: 89.14 MB / 0.7232 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003369/0.1648, allocations: 2.086 MB / 0.7253 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1659, allocations: 0.6273 MB / 0.7259 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.166, allocations: 7.938 kB / 0.7259 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1662, allocations: 23.67 kB / 0.7259 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1663, allocations: 43.53 kB / 0.7259 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1665, allocations: 107.8 kB / 0.726 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.1669, allocations: 299.3 kB / 0.7263 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1671, allocations: 112 kB / 0.7264 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1673, allocations: 127.6 kB / 0.7266 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.1675, allocations: 147.3 kB / 0.7267 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.1675, allocations: 32 kB / 0.7267 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/0.1676, allocations: 32 kB / 0.7268 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.1677, allocations: 71.73 kB / 0.7268 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1678, allocations: 131.3 kB / 0.727 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.1682, allocations: 318.7 kB / 0.7273 GB, free: 15.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1682, allocations: 0 / 0.7273 GB, free: 15.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1682, allocations: 0 / 0.7273 GB, free: 15.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.1682, allocations: 0 / 0.7273 GB, free: 15.84 MB / 0.545 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.001318/0.1695, allocations: 0.6954 MB / 0.7279 GB, free: 15.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1696, allocations: 12.03 kB / 0.7279 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1697, allocations: 63.11 kB / 0.728 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.1698, allocations: 36.69 kB / 0.728 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.1702, allocations: 284.2 kB / 0.7283 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.1703, allocations: 28.36 kB / 0.7283 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.1703, allocations: 20 kB / 0.7284 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.171, allocations: 316.3 kB / 0.7287 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.171, allocations: 0 / 0.7287 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.1711, allocations: 8 kB / 0.7287 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1711, allocations: 4 kB / 0.7287 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.1718, allocations: 225.5 kB / 0.7289 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.1731, allocations: 0.6815 MB / 0.7296 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.1738, allocations: 206.4 kB / 0.7298 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.1741, allocations: 84.78 kB / 0.7298 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1741, allocations: 7.984 kB / 0.7298 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.1746, allocations: 205.6 kB / 0.73 GB, free: 12.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.1746, allocations: 0 / 0.73 GB, free: 12.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001212/0.1759, allocations: 356.2 kB / 0.7304 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.176, allocations: 140.4 kB / 0.7305 GB, free: 12.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1762, allocations: 220.1 kB / 0.7307 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.1762, allocations: 45.69 kB / 0.7308 GB, free: 11.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1764, allocations: 164.8 kB / 0.7309 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.1764, allocations: 67.44 kB / 0.731 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1766, allocations: 77.69 kB / 0.7311 GB, free: 11.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1767, allocations: 342.8 kB / 0.7314 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.1771, allocations: 120.2 kB / 0.7315 GB, free: 11.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.1776, allocations: 192.7 kB / 0.7317 GB, free: 10.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.1783, allocations: 319.1 kB / 0.732 GB, free: 10.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1783, allocations: 0 / 0.732 GB, free: 10.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009832/0.1793, allocations: 445.1 kB / 0.7324 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/0.1793, allocations: 93.09 kB / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1793, allocations: 0 / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1794, allocations: 7.938 kB / 0.7325 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1796, allocations: 47.83 kB / 0.7326 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1796, allocations: 12.09 kB / 0.7326 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.18, allocations: 63.78 kB / 0.7326 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.18, allocations: 15.98 kB / 0.7326 GB, free: 9.93 MB / 0.545 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.0001699/0.1802, allocations: 152.7 kB / 0.7328 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.1802, allocations: 27.86 kB / 0.7328 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/0.1803, allocations: 29.86 kB / 0.7328 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1803, allocations: 7.938 kB / 0.7328 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1803, allocations: 4 kB / 0.7329 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1803, allocations: 0 / 0.7329 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.1815, allocations: 0.6351 MB / 0.7335 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1815, allocations: 0 / 0.7335 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1816, allocations: 27.91 kB / 0.7335 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.1816, allocations: 7.938 kB / 0.7335 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1817, allocations: 7.984 kB / 0.7335 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1817, allocations: 0 / 0.7335 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1817, allocations: 0 / 0.7335 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/0.1825, allocations: 363.8 kB / 0.7339 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.1825, allocations: 92.97 kB / 0.734 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.1826, allocations: 15.92 kB / 0.734 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.1829, allocations: 55.94 kB / 0.734 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.1831, allocations: 55.86 kB / 0.7341 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.1831, allocations: 7.984 kB / 0.7341 GB, free: 8.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001595/0.1832, allocations: 155.5 kB / 0.7342 GB, free: 8.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1832, allocations: 0 / 0.7342 GB, free: 8.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000326/0.1836, allocations: 63.83 kB / 0.7343 GB, free: 8.145 MB / 0.545 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.001565/0.1851, allocations: 1.043 MB / 0.7353 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009577/0.1861, allocations: 422.5 kB / 0.7357 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1861, allocations: 0 / 0.7357 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.1865, allocations: 128.1 kB / 0.7358 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1869, allocations: 36.42 kB / 0.7359 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.1913, allocations: 2.771 MB / 0.7386 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1917, allocations: 0.744 MB / 0.7393 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.1918, allocations: 25.94 kB / 0.7393 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.192, allocations: 83.41 kB / 0.7394 GB, free: 2.695 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.192, allocations: 0 / 0.7394 GB, free: 2.695 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.224, allocations: 6.175 MB / 0.7454 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.332, allocations: 1.828 kB / 0.7454 GB, free: 12.73 MB / 0.5606 GB " [Timeout remaining time 652] (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: 12.122371716890484] Failed to read output from testmodel.py, exit status != 0: 8.398786921985447 8.412685615000001 8.241726005 Calling exit ...