Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002772/0.002772, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.003523/0.003523, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.63/1.63, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.334/3.334, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.911e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003953/0.003982, allocations: 2.111 MB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.005424, allocations: 0.5805 MB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.005564, allocations: 7.938 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.005694, allocations: 23.67 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.00581, allocations: 43.53 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.006106, allocations: 103.8 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.006534, allocations: 291.2 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.006795, allocations: 91.58 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.007056, allocations: 175.6 kB / 1.005 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.00724, allocations: 103.7 kB / 1.005 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.007305, allocations: 28 kB / 1.005 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.224e-05/0.007357, allocations: 28 kB / 1.005 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.007442, allocations: 63.75 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.007568, allocations: 83.8 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.00802, allocations: 319 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.008023, allocations: 4 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.011e-06/0.008024, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.008029, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 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.001366/0.009396, allocations: 0.5929 MB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.009439, allocations: 8.75 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.009529, allocations: 36.75 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.009938, allocations: 206.8 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.009971, allocations: 16.88 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.01002, allocations: 28.36 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00081/0.01083, allocations: 378 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.01085, allocations: 192 / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.01088, allocations: 8.125 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.0109, allocations: 15.98 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.01165, allocations: 209.8 kB / 1.007 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.01291, allocations: 0.5141 MB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.01363, allocations: 190.4 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.01396, allocations: 92.72 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.01399, allocations: 4 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005631/0.01455, allocations: 197.2 kB / 1.008 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.01455, allocations: 4 kB / 1.008 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.001189/0.01574, allocations: 345.2 kB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.01585, allocations: 118.8 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.01612, allocations: 215.2 kB / 1.008 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.01617, allocations: 45.62 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.01631, allocations: 164.3 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.01638, allocations: 59.56 kB / 1.008 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.0165, allocations: 65.97 kB / 1.008 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.01669, allocations: 334.8 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/0.01716, allocations: 197.3 kB / 1.009 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.01772, allocations: 312.1 kB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007786/0.0185, allocations: 314.5 kB / 1.01 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.0185, allocations: 0 / 1.01 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001107/0.0196, allocations: 0.513 MB / 1.01 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.0198, allocations: 93.09 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01981, allocations: 0 / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.01983, allocations: 4.156 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.0201, allocations: 51.89 kB / 1.01 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.02011, allocations: 11.88 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.02044, allocations: 59.83 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.02048, allocations: 12 kB / 1.01 GB, free: 3.16 MB / 0.9636 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.0001921/0.02067, allocations: 155.1 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.02071, allocations: 23.84 kB / 1.01 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/0.02158, allocations: 273.6 kB / 1.011 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.02158, allocations: 4 kB / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.02159, allocations: 3.938 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.0216, allocations: 4 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.02274, allocations: 0.5291 MB / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02275, allocations: 0 / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.02293, allocations: 27.97 kB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.02293, allocations: 0 / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.02296, allocations: 19.92 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02296, allocations: 0 / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.02296, allocations: 0 / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008536/0.02381, allocations: 362.1 kB / 1.012 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.02385, allocations: 19.86 kB / 1.012 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.0239, allocations: 11.94 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.02421, allocations: 43.94 kB / 1.012 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.02436, allocations: 55.84 kB / 1.012 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.02439, allocations: 12 kB / 1.012 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001461/0.02454, allocations: 140.4 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02454, allocations: 0 / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003353/0.02487, allocations: 67.88 kB / 1.012 GB, free: 1.367 MB / 0.9636 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.0001739/0.02505, allocations: 115.2 kB / 1.012 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.02611, allocations: 0.4917 MB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02611, allocations: 320 / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.0265, allocations: 123.8 kB / 1.013 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.02688, allocations: 31.97 kB / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.02778, allocations: 383.2 kB / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.02793, allocations: 130.2 kB / 1.013 GB, free: 0 / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.02804, allocations: 25.94 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.02813, allocations: 28.5 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/0.02813, allocations: 0 / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of Templates: time 0.009309/0.03744, allocations: 3.675 MB / 1.017 GB, free: 12.33 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.347384333610535]