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.0008813/0.0008813, allocations: 97.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 185.4 kB / 16.92 MB, free: 6.75 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7583/0.7583, allocations: 126.2 MB / 418.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.000307, allocations: 12.62 kB / 0.4972 GB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.41, allocations: 80.08 MB / 0.5754 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002113/0.4121, allocations: 1.759 MB / 0.5771 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008844/0.413, allocations: 0.5528 MB / 0.5777 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.4131, allocations: 7.062 kB / 0.5777 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.929e-05/0.4132, allocations: 13.86 kB / 0.5777 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.4133, allocations: 31.14 kB / 0.5777 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.4136, allocations: 81.42 kB / 0.5778 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.4139, allocations: 241.6 kB / 0.578 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.4141, allocations: 107.7 kB / 0.5781 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4142, allocations: 91.36 kB / 0.5782 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.4144, allocations: 92.03 kB / 0.5783 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.4144, allocations: 8.375 kB / 0.5783 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.4145, allocations: 8.844 kB / 0.5783 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.4145, allocations: 38.19 kB / 0.5784 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4146, allocations: 121.8 kB / 0.5785 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.415, allocations: 248.8 kB / 0.5787 GB, free: 6.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.415, allocations: 0.7812 kB / 0.5787 GB, free: 6.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.415, allocations: 0 / 0.5787 GB, free: 6.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.415, allocations: 4.812 kB / 0.5787 GB, free: 6.066 MB / 430.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.001084/0.4161, allocations: 0.6092 MB / 0.5793 GB, free: 5.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4161, allocations: 10.22 kB / 0.5793 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.4162, allocations: 30.73 kB / 0.5794 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.4165, allocations: 256.7 kB / 0.5796 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4165, allocations: 14.61 kB / 0.5796 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.4166, allocations: 23.45 kB / 0.5796 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.4173, allocations: 289.3 kB / 0.5799 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4173, allocations: 0 / 0.5799 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.4173, allocations: 6.453 kB / 0.5799 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4173, allocations: 10.19 kB / 0.5799 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.4181, allocations: 226.7 kB / 0.5801 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4194, allocations: 0.6393 MB / 0.5808 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.4204, allocations: 272.5 kB / 0.581 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.4208, allocations: 108.6 kB / 0.5811 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.4208, allocations: 2.094 kB / 0.5811 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/0.4214, allocations: 210.8 kB / 0.5813 GB, free: 4.484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.4214, allocations: 0 / 0.5813 GB, free: 4.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.001239/0.4227, allocations: 386.7 kB / 0.5817 GB, free: 4.379 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.4228, allocations: 109.2 kB / 0.5818 GB, free: 4.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4229, allocations: 204.6 kB / 0.582 GB, free: 4.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.423, allocations: 39 kB / 0.582 GB, free: 4.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.4231, allocations: 148.9 kB / 0.5822 GB, free: 3.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.4231, allocations: 47.12 kB / 0.5822 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.4232, allocations: 39.42 kB / 0.5823 GB, free: 3.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.4232, allocations: 334.6 kB / 0.5826 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.4236, allocations: 126.1 kB / 0.5827 GB, free: 3.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.4241, allocations: 197.3 kB / 0.5829 GB, free: 3.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.4248, allocations: 338.6 kB / 0.5832 GB, free: 3.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4248, allocations: 1.375 kB / 0.5832 GB, free: 3.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001001/0.4258, allocations: 455.7 kB / 0.5837 GB, free: 3.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.4259, allocations: 101.3 kB / 0.5838 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.4259, allocations: 0.5625 kB / 0.5838 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.4259, allocations: 3.281 kB / 0.5838 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.4262, allocations: 52.05 kB / 0.5838 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.4262, allocations: 3.281 kB / 0.5838 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.4266, allocations: 78.38 kB / 0.5839 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.4266, allocations: 13.17 kB / 0.5839 GB, free: 2.875 MB / 430.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.0001363/0.4268, allocations: 146.4 kB / 0.584 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.4268, allocations: 26.11 kB / 0.5841 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/0.4276, allocations: 292 kB / 0.5843 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4277, allocations: 2.375 kB / 0.5843 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4277, allocations: 0 / 0.5843 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4277, allocations: 6.078 kB / 0.5843 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4287, allocations: 0.6105 MB / 0.5849 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4287, allocations: 0.8125 kB / 0.5849 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4289, allocations: 43.83 kB / 0.585 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4289, allocations: 2.219 kB / 0.585 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.429, allocations: 6.797 kB / 0.585 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.429, allocations: 1.906 kB / 0.585 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.429, allocations: 0 / 0.585 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.4298, allocations: 379.7 kB / 0.5854 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.4298, allocations: 94.12 kB / 0.5854 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.4298, allocations: 12.06 kB / 0.5855 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.4302, allocations: 59.86 kB / 0.5855 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4303, allocations: 42.61 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.4303, allocations: 6.672 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.4305, allocations: 149.7 kB / 0.5857 GB, free: 1.812 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4305, allocations: 0 / 0.5857 GB, free: 1.812 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.4308, allocations: 55.95 kB / 0.5858 GB, free: 1.801 MB / 430.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.0001353/0.4309, allocations: 114.8 kB / 0.5859 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.432, allocations: 455.4 kB / 0.5863 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.432, allocations: 0 / 0.5863 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.4325, allocations: 136.9 kB / 0.5864 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.433, allocations: 32.77 kB / 0.5865 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.434, allocations: 437.5 kB / 0.5869 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4342, allocations: 0.7362 MB / 0.5876 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.4344, allocations: 20.94 kB / 0.5876 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.4345, allocations: 27.97 kB / 0.5876 GB, free: 384 kB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4345, allocations: 3.938 kB / 0.5877 GB, free: 380 kB / 430.1 MB Notification: Performance of Templates: time 0.006943/0.4414, allocations: 2.745 MB / 0.5903 GB, free: 188 kB / 430.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)