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.001572/0.001572, allocations: 105 kB / 20.45 MB, free: 1.5 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.001487/0.001487, allocations: 214.2 kB / 23.76 MB, free: 4.711 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.942/0.942, allocations: 150 MB / 463.9 MB, free: 10.47 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.002069/0.002069, allocations: 70.77 kB / 0.6425 GB, free: 9.84 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1969, allocations: 89.17 MB / 0.7296 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003976/0.2009, allocations: 2.173 MB / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2021, allocations: 0.6116 MB / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2023, allocations: 0 / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2024, allocations: 31.67 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2025, allocations: 43.59 kB / 0.7324 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2028, allocations: 95.81 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.2032, allocations: 283.3 kB / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.2035, allocations: 99.53 kB / 0.7329 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.2036, allocations: 123.6 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.2038, allocations: 131.4 kB / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.2039, allocations: 32 kB / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.45e-05/0.2039, allocations: 32 kB / 0.7332 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.204, allocations: 67.7 kB / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2041, allocations: 123.3 kB / 0.7334 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.2045, allocations: 298.8 kB / 0.7336 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2045, allocations: 0 / 0.7336 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2045, allocations: 3.938 kB / 0.7337 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2045, allocations: 0 / 0.7337 GB, free: 12.58 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.001284/0.2058, allocations: 0.6006 MB / 0.7342 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2059, allocations: 8.031 kB / 0.7342 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.2059, allocations: 28.8 kB / 0.7343 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.2064, allocations: 207.5 kB / 0.7345 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.2064, allocations: 20.56 kB / 0.7345 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.2065, allocations: 31.98 kB / 0.7345 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.2071, allocations: 291.4 kB / 0.7348 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2071, allocations: 0 / 0.7348 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.2072, allocations: 8 kB / 0.7348 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.2072, allocations: 4 kB / 0.7348 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/0.2079, allocations: 213.6 kB / 0.735 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.2091, allocations: 0.6146 MB / 0.7356 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.2098, allocations: 198.4 kB / 0.7358 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.2101, allocations: 88.77 kB / 0.7359 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.2101, allocations: 7.938 kB / 0.7359 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/0.2106, allocations: 199.1 kB / 0.7361 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.2106, allocations: 0 / 0.7361 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001102/0.2117, allocations: 343.1 kB / 0.7364 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2118, allocations: 110.8 kB / 0.7365 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.2121, allocations: 211 kB / 0.7367 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.2121, allocations: 37.69 kB / 0.7368 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2122, allocations: 168.6 kB / 0.7369 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.2123, allocations: 59.56 kB / 0.737 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.2124, allocations: 69.95 kB / 0.737 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2126, allocations: 330.8 kB / 0.7374 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.213, allocations: 116.2 kB / 0.7375 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.2134, allocations: 183.5 kB / 0.7376 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/0.2141, allocations: 318.5 kB / 0.7379 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2141, allocations: 0 / 0.7379 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009568/0.215, allocations: 440.5 kB / 0.7384 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/0.2151, allocations: 89.09 kB / 0.7384 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2151, allocations: 0 / 0.7384 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.2151, allocations: 4 kB / 0.7385 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2154, allocations: 47.89 kB / 0.7385 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2154, allocations: 4 kB / 0.7385 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.2158, allocations: 75.72 kB / 0.7386 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.2158, allocations: 12 kB / 0.7386 GB, free: 7.188 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.0001772/0.216, allocations: 151.9 kB / 0.7387 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.216, allocations: 27.8 kB / 0.7388 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007932/0.2168, allocations: 279.2 kB / 0.739 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2168, allocations: 0 / 0.739 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2168, allocations: 4 kB / 0.739 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2168, allocations: 0 / 0.739 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.218, allocations: 0.5959 MB / 0.7396 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.218, allocations: 3.938 kB / 0.7396 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2181, allocations: 27.97 kB / 0.7396 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2181, allocations: 4 kB / 0.7396 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.2181, allocations: 7.984 kB / 0.7397 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2181, allocations: 0 / 0.7397 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.2182, allocations: 4 kB / 0.7397 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.2189, allocations: 365.2 kB / 0.74 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.219, allocations: 19.86 kB / 0.74 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.219, allocations: 8 kB / 0.74 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.2193, allocations: 43.94 kB / 0.7401 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.2194, allocations: 51.91 kB / 0.7401 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.2195, allocations: 11.98 kB / 0.7401 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001425/0.2196, allocations: 140.6 kB / 0.7403 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2196, allocations: 0 / 0.7403 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003397/0.2199, allocations: 67.83 kB / 0.7403 GB, free: 5.328 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.0001606/0.2201, allocations: 111.2 kB / 0.7404 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009153/0.221, allocations: 418.4 kB / 0.7408 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.221, allocations: 4.312 kB / 0.7408 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.2214, allocations: 115.8 kB / 0.741 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2218, allocations: 37.45 kB / 0.741 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.2227, allocations: 420.6 kB / 0.7414 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.2232, allocations: 0.7402 MB / 0.7421 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2233, allocations: 27.42 kB / 0.7421 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.2233, allocations: 4 kB / 0.7421 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of Templates: time 0.005913/0.2292, allocations: 3.1 MB / 0.7452 GB, free: 296 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.41481892997399] Failed to read output from testmodel.py, exit status != 0: 0.2385535640642047 0.25332367399999994 0.045559203 Calling exit ...