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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00147/0.001471, allocations: 191.3 kB / 16.14 MB, free: 6.688 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.64 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3141, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003816/0.318, allocations: 2.132 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3191, allocations: 0.5649 MB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.3192, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.3194, allocations: 11.86 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.3195, allocations: 35.72 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.3197, allocations: 79.92 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.3199, allocations: 239.4 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.3202, allocations: 116.5 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3203, allocations: 95.62 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3204, allocations: 115.4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.3205, allocations: 16 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.698e-05/0.3205, allocations: 16 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.3206, allocations: 51.83 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3207, allocations: 103.4 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.321, allocations: 251.4 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.321, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.321, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.321, allocations: 0 / 1.071 GB, free: 7.086 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.001122/0.3221, allocations: 0.6332 MB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3222, allocations: 20.02 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.3222, allocations: 24.66 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3225, allocations: 256.4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3226, allocations: 16.75 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.3226, allocations: 20.38 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.3232, allocations: 274.5 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3232, allocations: 0 / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.3233, allocations: 7.984 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3233, allocations: 4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.324, allocations: 199.8 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.3251, allocations: 0.613 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/0.3259, allocations: 226.5 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.3262, allocations: 88.72 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3263, allocations: 4 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.3269, allocations: 192.5 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.3269, allocations: 3.938 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001118/0.328, allocations: 330.2 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.3281, allocations: 110.8 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3283, allocations: 204.3 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.3283, allocations: 41.69 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3284, allocations: 148.2 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3285, allocations: 51.34 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3286, allocations: 69.69 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3287, allocations: 326.8 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.3291, allocations: 108.2 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.3295, allocations: 179.8 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.3302, allocations: 303 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3302, allocations: 0 / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009344/0.3312, allocations: 423.9 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.3313, allocations: 89.09 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3313, allocations: 3.938 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3313, allocations: 7.938 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3315, allocations: 43.95 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3315, allocations: 7.938 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.3319, allocations: 55.92 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3319, allocations: 11.98 kB / 1.076 GB, free: 1.707 MB / 0.8262 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.000145/0.3321, allocations: 144.7 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3321, allocations: 19.75 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.3329, allocations: 265 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3329, allocations: 7.938 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3329, allocations: 3.938 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3329, allocations: 0 / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009907/0.3339, allocations: 0.5762 MB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3339, allocations: 7.984 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.3341, allocations: 31.91 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3341, allocations: 4 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3341, allocations: 3.984 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3341, allocations: 0 / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3342, allocations: 4 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.3349, allocations: 345.3 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.335, allocations: 96.8 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.335, allocations: 12 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3353, allocations: 43.94 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3355, allocations: 39.94 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3355, allocations: 11.98 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001334/0.3356, allocations: 135 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3356, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003184/0.336, allocations: 67.77 kB / 1.078 GB, free: 15.81 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.0001404/0.3361, allocations: 112.8 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008663/0.337, allocations: 417.8 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.337, allocations: 4.312 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.3374, allocations: 111.8 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3378, allocations: 42.52 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.3386, allocations: 436 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3389, allocations: 0.74 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.339, allocations: 17.55 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.3391, allocations: 19.44 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3391, allocations: 4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.005919/0.345, allocations: 2.786 MB / 1.082 GB, free: 11.07 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)