Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008887/0.0008886, allocations: 90.83 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.005991/0.005991, allocations: 169.6 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.385/1.385, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 9.812 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3099, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002371/0.3123, allocations: 1.779 MB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3133, allocations: 0.5611 MB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3135, allocations: 3.938 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.3136, allocations: 15.86 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3137, allocations: 27.72 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.314, allocations: 83.91 kB / 1.077 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.3143, allocations: 239.4 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.3145, allocations: 98.92 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3147, allocations: 87.61 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3149, allocations: 103.4 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.3149, allocations: 16 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.717e-05/0.315, allocations: 8 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.315, allocations: 35.84 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3151, allocations: 121.1 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3154, allocations: 247.3 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3154, allocations: 0 / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3155, allocations: 4 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.3155, allocations: 0 / 1.077 GB, free: 4.109 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.00117/0.3167, allocations: 0.606 MB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3167, allocations: 12.03 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.3168, allocations: 28.66 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.3171, allocations: 248.5 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3171, allocations: 12.75 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.3172, allocations: 28.36 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.3178, allocations: 290.4 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3178, allocations: 0 / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.3179, allocations: 12 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3179, allocations: 4 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.3186, allocations: 227.8 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.3199, allocations: 0.648 MB / 1.08 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.3209, allocations: 270.5 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.3213, allocations: 104.8 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.3213, allocations: 0 / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005992/0.3219, allocations: 203.2 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3219, allocations: 0 / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001161/0.3231, allocations: 386.5 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3232, allocations: 114.8 kB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.3234, allocations: 204.2 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.3234, allocations: 41.64 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.3235, allocations: 152.2 kB / 1.081 GB, free: 332 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.3236, allocations: 51.42 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.3236, allocations: 37.7 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3238, allocations: 330.8 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.3242, allocations: 132.1 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.3246, allocations: 191.8 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.3253, allocations: 339 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3254, allocations: 8 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009605/0.3263, allocations: 443.9 kB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.3264, allocations: 93.09 kB / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3264, allocations: 0 / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3264, allocations: 8.062 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.3267, allocations: 59.89 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3267, allocations: 4 kB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.3271, allocations: 75.69 kB / 1.083 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.3271, allocations: 11.98 kB / 1.083 GB, free: 14.46 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.0001641/0.3273, allocations: 148 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.3273, allocations: 15.81 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.3281, allocations: 296.5 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3281, allocations: 7.938 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3282, allocations: 0 / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3282, allocations: 3.984 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3292, allocations: 0.6076 MB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3292, allocations: 0 / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3294, allocations: 47.84 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3294, allocations: 3.938 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.3294, allocations: 7.984 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3294, allocations: 4 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3294, allocations: 0 / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.3302, allocations: 372.8 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.3303, allocations: 92.86 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.3304, allocations: 15.94 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.3307, allocations: 55.94 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3308, allocations: 43.92 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.3308, allocations: 7.984 kB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001147/0.331, allocations: 151 kB / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.331, allocations: 0 / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003255/0.3313, allocations: 55.84 kB / 1.085 GB, free: 12.45 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.0001419/0.3315, allocations: 117 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009199/0.3324, allocations: 464 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3324, allocations: 0 / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.3328, allocations: 124 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3332, allocations: 39.69 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000841/0.334, allocations: 436.8 kB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3344, allocations: 0.7323 MB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.3345, allocations: 21.55 kB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.3346, allocations: 19.42 kB / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3346, allocations: 0 / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.006245/0.3408, allocations: 2.77 MB / 1.089 GB, free: 7.672 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1)