Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006679/0.006679, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 9.781 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002164/0.3163, allocations: 1.771 MB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.3172, allocations: 0.5572 MB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.3173, allocations: 3.938 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.825e-05/0.3174, allocations: 15.86 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.717e-05/0.3175, allocations: 27.78 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.3177, allocations: 83.84 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.3179, allocations: 243.4 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.3182, allocations: 110.9 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3183, allocations: 75.64 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3184, allocations: 103.4 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.3184, allocations: 12 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.3185, allocations: 8 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.3185, allocations: 35.83 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3186, allocations: 117.2 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.3189, allocations: 251.3 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3189, allocations: 0 / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3189, allocations: 4 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.3189, allocations: 0 / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001117/0.32, allocations: 0.6137 MB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3201, allocations: 12.03 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.3202, allocations: 24.66 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.3205, allocations: 244.5 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.3205, allocations: 24.73 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.3206, allocations: 20.36 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.3212, allocations: 286.6 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3213, allocations: 4 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.3213, allocations: 8 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3213, allocations: 4 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.3221, allocations: 227.8 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.3233, allocations: 0.6442 MB / 1.08 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.3242, allocations: 270.5 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.3246, allocations: 104.8 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3246, allocations: 3.984 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.3252, allocations: 207.2 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.3252, allocations: 0 / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001138/0.3263, allocations: 382.8 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.3264, allocations: 114.8 kB / 1.081 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.3266, allocations: 208.2 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3266, allocations: 33.7 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3267, allocations: 156.2 kB / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.3268, allocations: 47.44 kB / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.3268, allocations: 41.7 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.327, allocations: 330.8 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.3274, allocations: 128.2 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.3278, allocations: 191.8 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007311/0.3286, allocations: 343 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3286, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009729/0.3296, allocations: 451.9 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.3296, allocations: 89.09 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3296, allocations: 4 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3297, allocations: 3.938 kB / 1.083 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.3299, allocations: 63.89 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3299, allocations: 128 / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.3303, allocations: 75.69 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.3303, allocations: 16 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.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,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 (31): * Single equations (assignments): 28 * 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.0001668/0.3305, allocations: 144 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.3305, allocations: 19.8 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008304/0.3314, allocations: 296.8 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.475e-06/0.3314, allocations: 7.938 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3314, allocations: 3.984 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3314, allocations: 4 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3325, allocations: 0.6053 MB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3325, allocations: 0 / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3327, allocations: 43.91 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3327, allocations: 0 / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.3327, allocations: 11.98 kB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3327, allocations: 3.938 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3328, allocations: 0 / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.3336, allocations: 379 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.3337, allocations: 92.86 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.3337, allocations: 8 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.3341, allocations: 55.94 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3342, allocations: 43.94 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3342, allocations: 11.98 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001124/0.3344, allocations: 143 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3344, allocations: 0 / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003354/0.3347, allocations: 55.84 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($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) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * 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.0001766/0.3349, allocations: 120 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009432/0.3358, allocations: 457.5 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3359, allocations: 0 / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.3363, allocations: 132 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.3367, allocations: 50.16 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.3377, allocations: 428.9 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.338, allocations: 0.7361 MB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000109/0.3381, allocations: 25.53 kB / 1.086 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.3382, allocations: 19.44 kB / 1.086 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.3382, allocations: 0 / 1.086 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.005771/0.3439, allocations: 2.749 MB / 1.089 GB, free: 7.656 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1)