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.001653/0.001653, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001537/0.001537, allocations: 211 kB / 23.75 MB, free: 4.539 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.785 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 1.026/1.026, allocations: 149.9 MB / 463.8 MB, free: 10.32 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: translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [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.002166/0.002166, allocations: 71.06 kB / 0.6424 GB, free: 9.562 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1841, allocations: 89.17 MB / 0.7294 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00381/0.1879, allocations: 2.092 MB / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1891, allocations: 0.5689 MB / 0.732 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1893, allocations: 11.94 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.1894, allocations: 27.66 kB / 0.7321 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1895, allocations: 43.59 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1898, allocations: 95.88 kB / 0.7322 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.1901, allocations: 287.3 kB / 0.7325 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.1904, allocations: 91.53 kB / 0.7326 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1906, allocations: 119.7 kB / 0.7327 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1907, allocations: 127.3 kB / 0.7328 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.1908, allocations: 28 kB / 0.7328 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.463e-05/0.1908, allocations: 28 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.1909, allocations: 63.81 kB / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.191, allocations: 99.52 kB / 0.733 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.1914, allocations: 298.8 kB / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1914, allocations: 0 / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1914, allocations: 0 / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.1914, allocations: 0 / 0.7333 GB, free: 12.49 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.001256/0.1927, allocations: 0.6084 MB / 0.7339 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1927, allocations: 8.031 kB / 0.7339 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.1928, allocations: 32.73 kB / 0.7339 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.1933, allocations: 207.5 kB / 0.7341 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1933, allocations: 20.56 kB / 0.7341 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.1933, allocations: 20 kB / 0.7342 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.194, allocations: 380.5 kB / 0.7345 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1941, allocations: 0 / 0.7345 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1941, allocations: 8 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1941, allocations: 8 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.1948, allocations: 209.5 kB / 0.7347 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1959, allocations: 0.5176 MB / 0.7352 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.1966, allocations: 210.3 kB / 0.7354 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.197, allocations: 87.03 kB / 0.7355 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.197, allocations: 0 / 0.7355 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005228/0.1975, allocations: 208.8 kB / 0.7357 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.1975, allocations: 0 / 0.7357 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001137/0.1986, allocations: 346.4 kB / 0.7361 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.1987, allocations: 114.8 kB / 0.7362 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.199, allocations: 219.1 kB / 0.7364 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.199, allocations: 33.7 kB / 0.7364 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1992, allocations: 160.4 kB / 0.7366 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.1992, allocations: 59.56 kB / 0.7366 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.1993, allocations: 69.92 kB / 0.7367 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1995, allocations: 334.8 kB / 0.737 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.1999, allocations: 197.3 kB / 0.7372 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.2004, allocations: 320 kB / 0.7375 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.2012, allocations: 318.5 kB / 0.7378 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2012, allocations: 3.938 kB / 0.7378 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001027/0.2022, allocations: 0.5171 MB / 0.7383 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.2023, allocations: 93.09 kB / 0.7384 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2023, allocations: 0 / 0.7384 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2023, allocations: 4 kB / 0.7384 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.2025, allocations: 47.89 kB / 0.7384 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.2026, allocations: 0 / 0.7384 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.2029, allocations: 67.91 kB / 0.7385 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2029, allocations: 12 kB / 0.7385 GB, free: 6.73 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.0001822/0.2031, allocations: 147.9 kB / 0.7387 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.2031, allocations: 19.84 kB / 0.7387 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/0.204, allocations: 277.8 kB / 0.7389 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.204, allocations: 4 kB / 0.7389 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.204, allocations: 3.938 kB / 0.739 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.204, allocations: 3.984 kB / 0.739 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.2051, allocations: 0.5368 MB / 0.7395 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2051, allocations: 3.984 kB / 0.7395 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2053, allocations: 31.97 kB / 0.7395 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2053, allocations: 0 / 0.7395 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.2053, allocations: 7.984 kB / 0.7395 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2053, allocations: 0 / 0.7395 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2053, allocations: 0 / 0.7395 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.2062, allocations: 368.9 kB / 0.7399 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.2062, allocations: 23.84 kB / 0.7399 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.2062, allocations: 8 kB / 0.7399 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.2066, allocations: 43.94 kB / 0.7399 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.2067, allocations: 47.92 kB / 0.74 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.2067, allocations: 11.98 kB / 0.74 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001504/0.2069, allocations: 144.6 kB / 0.7401 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2069, allocations: 0 / 0.7401 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003272/0.2072, allocations: 59.89 kB / 0.7402 GB, free: 4.953 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.0001619/0.2074, allocations: 115.2 kB / 0.7403 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2084, allocations: 0.4917 MB / 0.7408 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2084, allocations: 0 / 0.7408 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.2088, allocations: 111.8 kB / 0.7409 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.2092, allocations: 49.17 kB / 0.7409 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2102, allocations: 424.1 kB / 0.7413 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.2103, allocations: 130.2 kB / 0.7415 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2105, allocations: 31.42 kB / 0.7415 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2105, allocations: 0 / 0.7415 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of Templates: time 0.006565/0.217, allocations: 3.165 MB / 0.7446 GB, free: 360 kB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.332534911110997] Failed to read output from testmodel.py, exit status != 0: 0.2268877001479268 0.244588612 0.049677548 Calling exit ...