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.001909/0.001909, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002242/0.002242, allocations: 210.8 kB / 22.99 MB, free: 4.605 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.9174/0.9174, allocations: 149.9 MB / 463 MB, free: 10.35 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.002022/0.002022, allocations: 67.28 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1852, allocations: 89.18 MB / 0.7282 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00367/0.1889, allocations: 2.089 MB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.19, allocations: 0.5766 MB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.1901, allocations: 4 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1902, allocations: 27.67 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1903, allocations: 43.59 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1906, allocations: 103.9 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.1909, allocations: 279.3 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.1911, allocations: 95.86 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1913, allocations: 119.6 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1914, allocations: 115.4 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.1915, allocations: 28 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.1915, allocations: 32 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.1916, allocations: 67.75 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1917, allocations: 103.5 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.1921, allocations: 298.8 kB / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1921, allocations: 0 / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1921, allocations: 4 kB / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.1921, allocations: 0 / 0.7321 GB, free: 12.98 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.001171/0.1933, allocations: 0.6006 MB / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1933, allocations: 8.031 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.078e-05/0.1934, allocations: 59.16 kB / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.1935, allocations: 36.75 kB / 0.7328 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.1939, allocations: 207.5 kB / 0.733 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.1939, allocations: 24.38 kB / 0.733 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.194, allocations: 24 kB / 0.733 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.1946, allocations: 372.5 kB / 0.7334 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1947, allocations: 0 / 0.7334 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.1947, allocations: 12 kB / 0.7334 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1947, allocations: 8 kB / 0.7334 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006902/0.1954, allocations: 213.5 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1966, allocations: 0.5611 MB / 0.7341 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.1972, allocations: 206.3 kB / 0.7343 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.1975, allocations: 88.78 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1975, allocations: 3.984 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005188/0.1981, allocations: 207.5 kB / 0.7346 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.1981, allocations: 0 / 0.7346 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001104/0.1992, allocations: 345.2 kB / 0.7349 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.1992, allocations: 110.8 kB / 0.735 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1994, allocations: 219.2 kB / 0.7353 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1995, allocations: 33.7 kB / 0.7353 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1996, allocations: 168.6 kB / 0.7354 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.1996, allocations: 63.61 kB / 0.7355 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1998, allocations: 61.97 kB / 0.7356 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1999, allocations: 338.8 kB / 0.7359 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.2003, allocations: 197.3 kB / 0.7361 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.2008, allocations: 320 kB / 0.7364 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.2015, allocations: 322.4 kB / 0.7367 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2015, allocations: 0 / 0.7367 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009675/0.2025, allocations: 0.5132 MB / 0.7372 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/0.2025, allocations: 93.09 kB / 0.7373 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2026, allocations: 0 / 0.7373 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.2026, allocations: 8.156 kB / 0.7373 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.2028, allocations: 43.89 kB / 0.7373 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2028, allocations: 4 kB / 0.7373 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.2031, allocations: 63.83 kB / 0.7374 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.2032, allocations: 8 kB / 0.7374 GB, free: 7.094 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.0001618/0.2033, allocations: 159.8 kB / 0.7376 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.2034, allocations: 19.86 kB / 0.7376 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.2041, allocations: 277.1 kB / 0.7378 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2041, allocations: 4 kB / 0.7378 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2041, allocations: 0 / 0.7378 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2042, allocations: 7.984 kB / 0.7379 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2052, allocations: 0.5651 MB / 0.7384 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2052, allocations: 3.938 kB / 0.7384 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.2053, allocations: 31.97 kB / 0.7384 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2053, allocations: 4 kB / 0.7384 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.2054, allocations: 3.984 kB / 0.7384 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2054, allocations: 4 kB / 0.7384 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2054, allocations: 0 / 0.7384 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.2061, allocations: 361.3 kB / 0.7388 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.2061, allocations: 23.8 kB / 0.7388 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.2062, allocations: 12 kB / 0.7388 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.2065, allocations: 51.81 kB / 0.7389 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2066, allocations: 55.84 kB / 0.7389 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.2066, allocations: 15.92 kB / 0.7389 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001332/0.2068, allocations: 144.6 kB / 0.7391 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2068, allocations: 0 / 0.7391 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003135/0.2071, allocations: 63.89 kB / 0.7391 GB, free: 5.242 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.001455/0.2085, allocations: 1.005 MB / 0.7401 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009608/0.2095, allocations: 0.4995 MB / 0.7406 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2095, allocations: 0 / 0.7406 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.2099, allocations: 118.2 kB / 0.7407 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2102, allocations: 42.7 kB / 0.7408 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.2147, allocations: 3.027 MB / 0.7437 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2148, allocations: 134.2 kB / 0.7439 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.2149, allocations: 21.95 kB / 0.7439 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2151, allocations: 79.39 kB / 0.7439 GB, free: 12 kB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.2151, allocations: 4 kB / 0.744 GB, free: 8 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.2492, allocations: 6.523 MB / 0.7503 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 0 / 0.7503 GB, free: 9.711 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=50 --tolerance=1e-08 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.163336276076734] Failed to read output from testmodel.py, exit status != 0: 11.389646666124463 11.678209104 11.483713679 Calling exit ...