Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001395/0.001395, allocations: 104.3 kB / 19.7 MB, free: 2.062 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.00163/0.00163, allocations: 206.5 kB / 22.98 MB, free: 4.883 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9208/0.9208, allocations: 149.9 MB / 463.1 MB, free: 10.38 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.AntiFreeze,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",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.002176/0.002176, allocations: 60.67 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1705, allocations: 89.19 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003756/0.1743, allocations: 2.083 MB / 0.7303 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1754, allocations: 0.5689 MB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1755, allocations: 7.938 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1756, allocations: 27.67 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.1757, allocations: 39.59 kB / 0.7309 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.176, allocations: 99.86 kB / 0.731 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.1763, allocations: 291.2 kB / 0.7313 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1766, allocations: 95.88 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.1768, allocations: 127.5 kB / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1769, allocations: 115.4 kB / 0.7316 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.177, allocations: 28 kB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.177, allocations: 28 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.1771, allocations: 59.84 kB / 0.7317 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1772, allocations: 107.5 kB / 0.7318 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1776, allocations: 290.8 kB / 0.7321 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1776, allocations: 0 / 0.7321 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1776, allocations: 0 / 0.7321 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.1776, allocations: 4 kB / 0.7321 GB, free: 13.04 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00118/0.1787, allocations: 0.6045 MB / 0.7327 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1788, allocations: 12.03 kB / 0.7327 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.133e-05/0.1789, allocations: 59.16 kB / 0.7327 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.1789, allocations: 32.75 kB / 0.7328 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1794, allocations: 211.4 kB / 0.733 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1794, allocations: 24.38 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1794, allocations: 27.98 kB / 0.733 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.1801, allocations: 368.6 kB / 0.7334 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1801, allocations: 0 / 0.7334 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.1802, allocations: 12 kB / 0.7334 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1802, allocations: 4 kB / 0.7334 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.1809, allocations: 209.6 kB / 0.7336 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.182, allocations: 0.5688 MB / 0.7341 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.1827, allocations: 206.3 kB / 0.7343 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.183, allocations: 92.78 kB / 0.7344 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.183, allocations: 0 / 0.7344 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.1835, allocations: 199.2 kB / 0.7346 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.1835, allocations: 3.938 kB / 0.7346 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001102/0.1846, allocations: 346.6 kB / 0.7349 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/0.1847, allocations: 110.8 kB / 0.735 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.185, allocations: 215.2 kB / 0.7353 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.185, allocations: 37.7 kB / 0.7353 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1851, allocations: 168.6 kB / 0.7355 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.1852, allocations: 51.64 kB / 0.7355 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1853, allocations: 69.97 kB / 0.7356 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1855, allocations: 338.8 kB / 0.7359 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.1859, allocations: 193.3 kB / 0.7361 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.1864, allocations: 324 kB / 0.7364 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.187, allocations: 322.4 kB / 0.7367 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.187, allocations: 0 / 0.7367 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009774/0.188, allocations: 0.5132 MB / 0.7372 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.1881, allocations: 93.09 kB / 0.7373 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1881, allocations: 0 / 0.7373 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1881, allocations: 4 kB / 0.7373 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1884, allocations: 51.98 kB / 0.7373 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1884, allocations: 4 kB / 0.7373 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.1887, allocations: 59.83 kB / 0.7374 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.1887, allocations: 12 kB / 0.7374 GB, free: 7.152 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: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,ySetOn.y,$PRE.ySetOn.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,antFre.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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.0001695/0.1889, allocations: 159.8 kB / 0.7376 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1889, allocations: 23.86 kB / 0.7376 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007677/0.1897, allocations: 279.2 kB / 0.7378 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1897, allocations: 4 kB / 0.7379 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1897, allocations: 0 / 0.7379 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1897, allocations: 0 / 0.7379 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1908, allocations: 0.5732 MB / 0.7384 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1908, allocations: 0 / 0.7384 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1909, allocations: 27.91 kB / 0.7384 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1909, allocations: 7.984 kB / 0.7384 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.191, allocations: 4 kB / 0.7385 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.191, allocations: 4 kB / 0.7385 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.191, allocations: 4 kB / 0.7385 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.1917, allocations: 361 kB / 0.7388 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.1918, allocations: 23.8 kB / 0.7388 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1918, allocations: 8 kB / 0.7388 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.1921, allocations: 51.88 kB / 0.7389 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.1922, allocations: 55.84 kB / 0.7389 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.1922, allocations: 7.984 kB / 0.7389 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001279/0.1924, allocations: 144.6 kB / 0.7391 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1924, allocations: 3.938 kB / 0.7391 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003095/0.1927, allocations: 63.89 kB / 0.7391 GB, free: 5.301 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: 15 (antFre.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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.001451/0.1941, allocations: 1.011 MB / 0.7401 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009436/0.1951, allocations: 0.4917 MB / 0.7406 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1951, allocations: 4 kB / 0.7406 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.1954, allocations: 116.1 kB / 0.7407 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1958, allocations: 33.05 kB / 0.7408 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.2002, allocations: 3.028 MB / 0.7437 GB, free: 340 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2003, allocations: 142.3 kB / 0.7439 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.2004, allocations: 29.88 kB / 0.7439 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2006, allocations: 79.39 kB / 0.744 GB, free: 68 kB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.2006, allocations: 0 / 0.744 GB, free: 68 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.2351, allocations: 6.516 MB / 0.7503 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.24, allocations: 12.38 kB / 0.7503 GB, free: 9.766 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_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_AntiFreeze.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.239229226950556] Failed to read output from testmodel.py, exit status != 0: 11.348506422247738 11.686245575 11.506193004 Calling exit ...