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.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,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=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00148/0.00148, allocations: 110.9 kB / 15.99 MB, free: 6.359 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.001698/0.001698, allocations: 191.8 kB / 16.91 MB, free: 6.195 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7886/0.7886, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 0.4945 GB, free: 3.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.33, allocations: 78.7 MB / 0.5713 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003051/0.3331, allocations: 2.122 MB / 0.5734 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.334, allocations: 0.5499 MB / 0.574 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3342, allocations: 3.375 kB / 0.574 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3343, allocations: 15.86 kB / 0.574 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.3344, allocations: 29.09 kB / 0.574 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3347, allocations: 75.61 kB / 0.5741 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.335, allocations: 269.8 kB / 0.5743 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.3353, allocations: 116.2 kB / 0.5744 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3354, allocations: 110.7 kB / 0.5745 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3356, allocations: 120.8 kB / 0.5747 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.3356, allocations: 25.72 kB / 0.5747 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.3357, allocations: 26.94 kB / 0.5747 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.3357, allocations: 58.44 kB / 0.5748 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.3358, allocations: 117 kB / 0.5749 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.3361, allocations: 272.2 kB / 0.5751 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3362, allocations: 0.625 kB / 0.5751 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3362, allocations: 1 kB / 0.5751 GB, free: 28.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3362, allocations: 1.344 kB / 0.5751 GB, free: 28.78 MB / 446.1 MB 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.001021/0.3372, allocations: 0.6317 MB / 0.5758 GB, free: 28.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3372, allocations: 8.281 kB / 0.5758 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.3373, allocations: 28.64 kB / 0.5758 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3375, allocations: 257.5 kB / 0.576 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3376, allocations: 14.33 kB / 0.5761 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.3376, allocations: 28.05 kB / 0.5761 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.3382, allocations: 269.8 kB / 0.5763 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3382, allocations: 0 / 0.5763 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.3383, allocations: 11.55 kB / 0.5763 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3383, allocations: 6.641 kB / 0.5764 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.3389, allocations: 192.5 kB / 0.5765 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.34, allocations: 0.6137 MB / 0.5771 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.3408, allocations: 232.1 kB / 0.5774 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3411, allocations: 88.12 kB / 0.5774 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3412, allocations: 3 kB / 0.5774 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.3417, allocations: 191.8 kB / 0.5776 GB, free: 27.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.3417, allocations: 0 / 0.5776 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.00101/0.3427, allocations: 332 kB / 0.5779 GB, free: 27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3428, allocations: 107.5 kB / 0.578 GB, free: 26.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.343, allocations: 207.9 kB / 0.5782 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.343, allocations: 39.48 kB / 0.5783 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.3431, allocations: 149.4 kB / 0.5784 GB, free: 26.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.3431, allocations: 47.05 kB / 0.5785 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.3432, allocations: 68 kB / 0.5785 GB, free: 26.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.3433, allocations: 335 kB / 0.5789 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3437, allocations: 108 kB / 0.579 GB, free: 26.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.344, allocations: 175 kB / 0.5791 GB, free: 25.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.3446, allocations: 311 kB / 0.5794 GB, free: 25.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3446, allocations: 0 / 0.5794 GB, free: 25.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008072/0.3455, allocations: 425.2 kB / 0.5798 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.3455, allocations: 89.14 kB / 0.5799 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3455, allocations: 1.562 kB / 0.5799 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3455, allocations: 3.094 kB / 0.5799 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3457, allocations: 50.7 kB / 0.58 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3458, allocations: 2.656 kB / 0.58 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.3461, allocations: 61.25 kB / 0.58 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3461, allocations: 13.19 kB / 0.58 GB, free: 25.3 MB / 446.1 MB 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.0001148/0.3462, allocations: 146.9 kB / 0.5802 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.3463, allocations: 24.31 kB / 0.5802 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/0.3469, allocations: 262.9 kB / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.347, allocations: 7.984 kB / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.347, allocations: 0 / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.347, allocations: 0 / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/0.3478, allocations: 0.5777 MB / 0.581 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3478, allocations: 0 / 0.581 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.348, allocations: 32.12 kB / 0.5811 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.348, allocations: 4.562 kB / 0.5811 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.348, allocations: 7.984 kB / 0.5811 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.348, allocations: 0 / 0.5811 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.348, allocations: 0.9375 kB / 0.5811 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.3487, allocations: 350 kB / 0.5814 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.3487, allocations: 94.98 kB / 0.5815 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3488, allocations: 15.83 kB / 0.5815 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3491, allocations: 35.39 kB / 0.5815 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3492, allocations: 47.22 kB / 0.5816 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.3492, allocations: 13.06 kB / 0.5816 GB, free: 24.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.251e-05/0.3493, allocations: 139.9 kB / 0.5817 GB, free: 24.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.3493, allocations: 0 / 0.5817 GB, free: 24.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3496, allocations: 67.14 kB / 0.5818 GB, free: 23.99 MB / 446.1 MB 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.0001034/0.3497, allocations: 110.2 kB / 0.5819 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.3504, allocations: 423 kB / 0.5823 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3505, allocations: 1.188 kB / 0.5823 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.3508, allocations: 122.9 kB / 0.5824 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3511, allocations: 34.31 kB / 0.5825 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.3519, allocations: 426.2 kB / 0.5829 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3521, allocations: 0.7352 MB / 0.5836 GB, free: 22.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3522, allocations: 17.11 kB / 0.5836 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.3522, allocations: 27.38 kB / 0.5836 GB, free: 22.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3522, allocations: 1.594 kB / 0.5836 GB, free: 22.47 MB / 446.1 MB Notification: Performance of Templates: time 0.005252/0.3575, allocations: 2.963 MB / 0.5865 GB, free: 21.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1)