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.001793/0.001793, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002116/0.002116, allocations: 214.8 kB / 22.99 MB, free: 4.977 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9891/0.9891, allocations: 149.9 MB / 463 MB, free: 10.33 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.002149/0.002149, allocations: 66.98 kB / 0.6416 GB, free: 9.578 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.192, allocations: 89.17 MB / 0.7287 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003878/0.1958, allocations: 2.084 MB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.197, allocations: 0.5806 MB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1971, allocations: 0 / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1973, allocations: 31.66 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1974, allocations: 39.59 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1977, allocations: 103.8 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.1981, allocations: 279.3 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.1983, allocations: 95.53 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1985, allocations: 123.6 kB / 0.7319 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1987, allocations: 119.4 kB / 0.732 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.1987, allocations: 28 kB / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.1988, allocations: 28 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.1988, allocations: 67.69 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.199, allocations: 107.5 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.1993, allocations: 298.8 kB / 0.7325 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1993, allocations: 0 / 0.7325 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1993, allocations: 0 / 0.7325 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1993, allocations: 0 / 0.7325 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.001195/0.2005, allocations: 0.6045 MB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2006, allocations: 8.031 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.2006, allocations: 28.8 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.2011, allocations: 211.5 kB / 0.7334 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.2011, allocations: 20.56 kB / 0.7334 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.2011, allocations: 24 kB / 0.7334 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.2018, allocations: 376.5 kB / 0.7338 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2018, allocations: 0 / 0.7338 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.2019, allocations: 4 kB / 0.7338 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2019, allocations: 8 kB / 0.7338 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.2026, allocations: 209.6 kB / 0.734 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.2037, allocations: 0.5254 MB / 0.7345 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.2044, allocations: 194.4 kB / 0.7347 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.2047, allocations: 88.78 kB / 0.7348 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2047, allocations: 7.938 kB / 0.7348 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004906/0.2052, allocations: 195.1 kB / 0.735 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.2052, allocations: 0 / 0.735 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.0011/0.2063, allocations: 346.6 kB / 0.7353 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.2064, allocations: 118.8 kB / 0.7354 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.2066, allocations: 219.1 kB / 0.7356 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.2067, allocations: 37.7 kB / 0.7356 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2068, allocations: 160.3 kB / 0.7358 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.2068, allocations: 55.56 kB / 0.7359 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.207, allocations: 73.92 kB / 0.7359 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2071, allocations: 334.8 kB / 0.7362 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.2075, allocations: 201.3 kB / 0.7364 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.208, allocations: 320 kB / 0.7367 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.2087, allocations: 318.5 kB / 0.737 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2087, allocations: 0 / 0.737 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001007/0.2097, allocations: 0.5171 MB / 0.7376 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.2098, allocations: 89.09 kB / 0.7376 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2098, allocations: 0 / 0.7376 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2098, allocations: 4 kB / 0.7376 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.2101, allocations: 47.89 kB / 0.7377 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2101, allocations: 12.09 kB / 0.7377 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.2105, allocations: 63.73 kB / 0.7378 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.2105, allocations: 15.98 kB / 0.7378 GB, free: 6.727 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.0001595/0.2107, allocations: 147.9 kB / 0.7379 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.2107, allocations: 19.84 kB / 0.7379 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.2115, allocations: 275.2 kB / 0.7382 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2115, allocations: 4 kB / 0.7382 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2115, allocations: 0 / 0.7382 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2115, allocations: 3.984 kB / 0.7382 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2125, allocations: 0.531 MB / 0.7387 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2125, allocations: 0 / 0.7387 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2127, allocations: 31.95 kB / 0.7388 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2127, allocations: 0 / 0.7388 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.2127, allocations: 11.98 kB / 0.7388 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2127, allocations: 0 / 0.7388 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2127, allocations: 4 kB / 0.7388 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.2135, allocations: 364.8 kB / 0.7391 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.2136, allocations: 19.84 kB / 0.7391 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.2136, allocations: 8 kB / 0.7391 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.2139, allocations: 51.88 kB / 0.7392 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.2141, allocations: 51.91 kB / 0.7392 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.2141, allocations: 11.98 kB / 0.7393 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001278/0.2142, allocations: 140.6 kB / 0.7394 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2142, allocations: 0 / 0.7394 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003471/0.2146, allocations: 59.89 kB / 0.7394 GB, free: 4.957 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.0001736/0.2147, allocations: 117.1 kB / 0.7396 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2158, allocations: 0.4955 MB / 0.74 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2158, allocations: 0 / 0.74 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.2162, allocations: 120.1 kB / 0.7402 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.2166, allocations: 42.2 kB / 0.7402 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.2174, allocations: 392.6 kB / 0.7406 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.2175, allocations: 134.2 kB / 0.7407 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.2176, allocations: 21.95 kB / 0.7407 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.2177, allocations: 27.36 kB / 0.7407 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.2177, allocations: 3.938 kB / 0.7407 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of Templates: time 0.007941/0.2257, allocations: 3.835 MB / 0.7445 GB, free: 15.77 MB / 0.5762 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: 6.041467206552625] Failed to read output from testmodel.py, exit status != 0: 0.23459875024855137 0.250007454 0.047358648 Calling exit ...