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.001469/0.001469, allocations: 119.2 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.001792/0.001792, allocations: 220.9 kB / 23.01 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9119/0.9119, allocations: 150 MB / 463.2 MB, free: 10.49 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.001922/0.001922, allocations: 65.08 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1786, allocations: 89.17 MB / 0.7284 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003548/0.1821, allocations: 2.165 MB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1833, allocations: 0.6156 MB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1834, allocations: 7.938 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1835, allocations: 27.67 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.1836, allocations: 39.59 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1839, allocations: 99.88 kB / 0.7313 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.1842, allocations: 295.2 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.1845, allocations: 93.84 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1846, allocations: 123.6 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1848, allocations: 135.4 kB / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1849, allocations: 28 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.404e-05/0.1849, allocations: 28 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.185, allocations: 63.81 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1851, allocations: 123.4 kB / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1855, allocations: 294.8 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1855, allocations: 7.938 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1855, allocations: 0 / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1855, allocations: 0 / 0.7324 GB, free: 13.11 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.001149/0.1867, allocations: 0.6006 MB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1867, allocations: 16.03 kB / 0.733 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.044e-05/0.1868, allocations: 59.16 kB / 0.7331 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.1869, allocations: 32.75 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1873, allocations: 211.5 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1873, allocations: 24.38 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.1873, allocations: 20 kB / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.188, allocations: 303.4 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.188, allocations: 0 / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.188, allocations: 4 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.188, allocations: 8 kB / 0.7337 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.1887, allocations: 221.5 kB / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1899, allocations: 0.6195 MB / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.1906, allocations: 198.3 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.1909, allocations: 92.78 kB / 0.7347 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1909, allocations: 0 / 0.7347 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/0.1914, allocations: 197.3 kB / 0.7349 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.1914, allocations: 0 / 0.7349 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001065/0.1924, allocations: 351.1 kB / 0.7353 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.1925, allocations: 114.8 kB / 0.7354 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1927, allocations: 211.2 kB / 0.7356 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.1928, allocations: 41.7 kB / 0.7356 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1929, allocations: 164.7 kB / 0.7358 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.1929, allocations: 55.56 kB / 0.7358 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.193, allocations: 69.97 kB / 0.7359 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1932, allocations: 334.8 kB / 0.7362 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.1935, allocations: 116.2 kB / 0.7363 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.1939, allocations: 187.5 kB / 0.7365 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.1946, allocations: 318.5 kB / 0.7368 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1946, allocations: 0 / 0.7368 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008912/0.1955, allocations: 432.4 kB / 0.7372 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.1956, allocations: 93.09 kB / 0.7373 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1956, allocations: 4 kB / 0.7373 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1956, allocations: 160 / 0.7373 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.1959, allocations: 51.89 kB / 0.7374 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1959, allocations: 7.984 kB / 0.7374 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.1962, allocations: 59.8 kB / 0.7374 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.1963, allocations: 11.98 kB / 0.7374 GB, free: 7.621 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.0001657/0.1964, allocations: 159.9 kB / 0.7376 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.1965, allocations: 19.86 kB / 0.7376 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.1972, allocations: 275.2 kB / 0.7379 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1972, allocations: 4 kB / 0.7379 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1972, allocations: 4 kB / 0.7379 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1972, allocations: 3.984 kB / 0.7379 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1983, allocations: 0.5881 MB / 0.7385 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1983, allocations: 4 kB / 0.7385 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1984, allocations: 31.91 kB / 0.7385 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1984, allocations: 4 kB / 0.7385 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1984, allocations: 3.984 kB / 0.7385 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1984, allocations: 0 / 0.7385 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1985, allocations: 4 kB / 0.7385 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.1992, allocations: 369.1 kB / 0.7389 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.1992, allocations: 23.84 kB / 0.7389 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.1993, allocations: 12 kB / 0.7389 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.1995, allocations: 39.94 kB / 0.7389 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.1997, allocations: 59.78 kB / 0.739 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.1997, allocations: 8 kB / 0.739 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001329/0.1998, allocations: 144.6 kB / 0.7391 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1998, allocations: 0 / 0.7391 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003041/0.2001, allocations: 71.81 kB / 0.7392 GB, free: 5.746 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.001396/0.2015, allocations: 1.012 MB / 0.7402 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008646/0.2024, allocations: 422.4 kB / 0.7406 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2024, allocations: 0 / 0.7406 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.2027, allocations: 116.1 kB / 0.7407 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.2031, allocations: 39.81 kB / 0.7407 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.2071, allocations: 2.689 MB / 0.7434 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.2075, allocations: 0.7441 MB / 0.7441 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.2076, allocations: 25.94 kB / 0.7441 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.2077, allocations: 75.41 kB / 0.7442 GB, free: 428 kB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2077, allocations: 0 / 0.7442 GB, free: 428 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.2403, allocations: 5.946 MB / 0.75 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.68, allocations: 15.86 kB / 0.75 GB, free: 10.65 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: 14.602298608002457] Failed to read output from testmodel.py, exit status != 0: 10.781565619003231 11.102311068 10.913817448 Calling exit ...