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.0009915/0.0009915, allocations: 96.09 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001077/0.001077, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 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 0.9555/0.9555, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.6193/0.6193, allocations: 115 MB / 375.7 MB, free: 7.652 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 481.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.349e-05, allocations: 6.172 kB / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002346/0.002369, allocations: 2.169 MB / 483.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000798/0.003167, allocations: 0.603 MB / 484.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.003267, allocations: 3.125 kB / 484.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.003378, allocations: 31.31 kB / 484.4 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.003452, allocations: 40.75 kB / 484.4 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.003672, allocations: 102.6 kB / 484.5 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.003927, allocations: 286.9 kB / 484.8 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.004121, allocations: 91.8 kB / 484.9 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.004292, allocations: 176.6 kB / 485.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.004392, allocations: 97.09 kB / 485.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.004435, allocations: 28.53 kB / 485.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.187e-05/0.004467, allocations: 28.47 kB / 485.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.004509, allocations: 61.58 kB / 485.3 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.00458, allocations: 87.16 kB / 485.4 MB, free: 9.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.00479, allocations: 210.3 kB / 485.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004792, allocations: 0 / 485.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004793, allocations: 1.125 kB / 485.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.004798, allocations: 0 / 485.6 MB, free: 9.398 MB / 410.7 MB 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.0006686/0.005467, allocations: 0.6791 MB / 486.3 MB, free: 8.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.005503, allocations: 10.28 kB / 486.3 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.005584, allocations: 45.8 kB / 486.3 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.005805, allocations: 198.3 kB / 486.5 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.005831, allocations: 20.06 kB / 486.5 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.005863, allocations: 26.5 kB / 486.5 MB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.006205, allocations: 305.7 kB / 486.8 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.006215, allocations: 1.219 kB / 486.8 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.006234, allocations: 6.094 kB / 486.9 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.006243, allocations: 5.156 kB / 486.9 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.00638, allocations: 77.23 kB / 486.9 MB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.007033, allocations: 0.5593 MB / 487.5 MB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.007196, allocations: 97.3 kB / 487.6 MB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.007252, allocations: 30.44 kB / 487.6 MB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.007273, allocations: 7.422 kB / 487.6 MB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.007444, allocations: 135.2 kB / 487.8 MB, free: 7.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.007446, allocations: 1.5 kB / 487.8 MB, free: 7.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003215/0.007767, allocations: 197.5 kB / 488 MB, free: 7.789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.007803, allocations: 111.9 kB / 488.1 MB, free: 7.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.007932, allocations: 259.6 kB / 488.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.007953, allocations: 38.83 kB / 488.4 MB, free: 7.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.008165, allocations: 213 kB / 488.6 MB, free: 23.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.008194, allocations: 52.86 kB / 488.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.008282, allocations: 78.42 kB / 488.7 MB, free: 23.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.008392, allocations: 0.5007 MB / 489.2 MB, free: 22.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.008496, allocations: 127.7 kB / 489.3 MB, free: 22.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.008622, allocations: 263.6 kB / 489.6 MB, free: 22.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.008775, allocations: 221.9 kB / 489.8 MB, free: 22.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.008779, allocations: 1.406 kB / 489.8 MB, free: 22.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003338/0.009112, allocations: 402.5 kB / 490.2 MB, free: 21.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.009154, allocations: 92.69 kB / 490.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.009159, allocations: 1.875 kB / 490.3 MB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.009173, allocations: 7.375 kB / 490.3 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.00932, allocations: 47.25 kB / 490.3 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.009328, allocations: 9.844 kB / 490.3 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.00946, allocations: 57.8 kB / 490.4 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.009478, allocations: 10.86 kB / 490.4 MB, free: 21.66 MB / 426.7 MB 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.0001002/0.009578, allocations: 185.5 kB / 490.6 MB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.009609, allocations: 29.89 kB / 490.6 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.009827, allocations: 171.9 kB / 490.8 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.00983, allocations: 1.125 kB / 490.8 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.009833, allocations: 4.094 kB / 490.8 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.009837, allocations: 6.844 kB / 490.8 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.01024, allocations: 493.8 kB / 491.3 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01024, allocations: 0.9375 kB / 491.3 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.01031, allocations: 28.83 kB / 491.3 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01031, allocations: 1.219 kB / 491.3 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01033, allocations: 6.641 kB / 491.3 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01033, allocations: 0 / 491.3 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01033, allocations: 1.531 kB / 491.3 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01056, allocations: 310.3 kB / 491.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.01058, allocations: 23.86 kB / 491.6 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.01061, allocations: 7.281 kB / 491.6 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.01073, allocations: 36.02 kB / 491.7 MB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.01082, allocations: 49.27 kB / 491.7 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.01084, allocations: 8.406 kB / 491.7 MB, free: 20.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.565e-05/0.01093, allocations: 178.8 kB / 491.9 MB, free: 20.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01093, allocations: 0 / 491.9 MB, free: 20.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01113, allocations: 66.05 kB / 492 MB, free: 20.61 MB / 426.7 MB 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.0001115/0.01124, allocations: 115.2 kB / 492.1 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000326/0.01157, allocations: 391.2 kB / 492.5 MB, free: 20.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01157, allocations: 2.656 kB / 492.5 MB, free: 20.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.01167, allocations: 71.97 kB / 492.5 MB, free: 20.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01193, allocations: 40 kB / 492.6 MB, free: 20.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/0.01266, allocations: 383.5 kB / 493 MB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.0127, allocations: 79.39 kB / 493 MB, free: 19.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.53e-05/0.01278, allocations: 24.27 kB / 493.1 MB, free: 19.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.01285, allocations: 30.66 kB / 493.1 MB, free: 19.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01286, allocations: 0.6875 kB / 493.1 MB, free: 19.82 MB / 426.7 MB Notification: Performance of Templates: time 0.006375/0.01923, allocations: 3.92 MB / 497 MB, free: 19.49 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5760277900844812]