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.001641/0.001641, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.002211/0.002211, allocations: 219.4 kB / 23 MB, free: 5.004 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8 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.9197/0.9197, allocations: 150 MB / 463.2 MB, free: 10.51 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.002082/0.002082, allocations: 62.03 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 89.18 MB / 0.7284 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.004015/0.1741, allocations: 2.113 MB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1754, allocations: 0.6234 MB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1755, allocations: 4 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1757, allocations: 31.66 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1759, allocations: 43.53 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1762, allocations: 107.9 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.1767, allocations: 311.3 kB / 0.7315 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.177, allocations: 96.75 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1773, allocations: 143.5 kB / 0.7318 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.1775, allocations: 135.4 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.1776, allocations: 31.98 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.1776, allocations: 32 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.1777, allocations: 63.77 kB / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1778, allocations: 139.3 kB / 0.7322 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.1783, allocations: 326.7 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1783, allocations: 4 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1783, allocations: 0 / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.1783, allocations: 0 / 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.001343/0.1797, allocations: 0.6085 MB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1797, allocations: 15.97 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1798, allocations: 63.12 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.1799, allocations: 36.73 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1804, allocations: 206.7 kB / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.1804, allocations: 24.38 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.1804, allocations: 31.98 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.1811, allocations: 320.2 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1811, allocations: 3.938 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1811, allocations: 4 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1812, allocations: 8 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006823/0.1818, allocations: 217.6 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1831, allocations: 0.6623 MB / 0.7346 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.1838, allocations: 202.3 kB / 0.7348 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.1841, allocations: 101.1 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1841, allocations: 0 / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004932/0.1846, allocations: 203.8 kB / 0.7351 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.704e-06/0.1846, allocations: 0 / 0.7351 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001073/0.1857, allocations: 356.2 kB / 0.7354 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.99e-05/0.1858, allocations: 144.4 kB / 0.7356 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.186, allocations: 219.1 kB / 0.7358 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.1861, allocations: 45.7 kB / 0.7358 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1862, allocations: 160.7 kB / 0.736 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.1862, allocations: 63.55 kB / 0.736 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1864, allocations: 73.64 kB / 0.7361 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1865, allocations: 334.8 kB / 0.7364 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.1869, allocations: 120.2 kB / 0.7365 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1873, allocations: 200.7 kB / 0.7367 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006649/0.188, allocations: 319.1 kB / 0.737 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.188, allocations: 4 kB / 0.737 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009337/0.1889, allocations: 441.1 kB / 0.7375 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.189, allocations: 89.09 kB / 0.7375 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.189, allocations: 4.156 kB / 0.7375 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.189, allocations: 7.938 kB / 0.7376 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.1893, allocations: 51.89 kB / 0.7376 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1893, allocations: 0 / 0.7376 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.1896, allocations: 71.77 kB / 0.7377 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1897, allocations: 12 kB / 0.7377 GB, free: 7.383 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.0001988/0.1899, allocations: 158.4 kB / 0.7378 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1899, allocations: 23.86 kB / 0.7379 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.122e-05/0.19, allocations: 29.95 kB / 0.7379 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.19, allocations: 7.938 kB / 0.7379 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.19, allocations: 0 / 0.7379 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.19, allocations: 0 / 0.7379 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1912, allocations: 0.6146 MB / 0.7385 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1912, allocations: 4 kB / 0.7385 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1913, allocations: 27.91 kB / 0.7385 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.1913, allocations: 3.938 kB / 0.7385 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1913, allocations: 11.98 kB / 0.7385 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1913, allocations: 4 kB / 0.7385 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1913, allocations: 0 / 0.7385 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.1921, allocations: 365.8 kB / 0.7389 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.1921, allocations: 15.89 kB / 0.7389 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.1922, allocations: 23.91 kB / 0.7389 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.1925, allocations: 51.94 kB / 0.739 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.1926, allocations: 55.91 kB / 0.739 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1927, allocations: 7.984 kB / 0.739 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001387/0.1928, allocations: 148.7 kB / 0.7392 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1928, allocations: 0 / 0.7392 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003378/0.1931, allocations: 75.83 kB / 0.7393 GB, free: 5.707 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.001512/0.1947, allocations: 1.031 MB / 0.7403 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008954/0.1956, allocations: 426.2 kB / 0.7407 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1956, allocations: 3.984 kB / 0.7407 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.1959, allocations: 113.7 kB / 0.7408 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1963, allocations: 40.36 kB / 0.7408 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004558/0.2009, allocations: 2.768 MB / 0.7435 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.2013, allocations: 0.748 MB / 0.7443 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.2014, 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.0001779/0.2016, allocations: 87.39 kB / 0.7444 GB, free: 272 kB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.2016, allocations: 0 / 0.7444 GB, free: 272 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/0.2374, allocations: 6.389 MB / 0.7506 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.28, allocations: 14.22 kB / 0.7506 GB, free: 10.06 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=50 --tolerance=1e-08 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: 15.218137986958027] Failed to read output from testmodel.py, exit status != 0: 11.386042137863114 11.728868829 11.54789101 Calling exit ...