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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=100,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=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001479/0.001479, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.451/1.451, allocations: 225.6 MB / 244.8 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8192/0.8192, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 69.83 kB / 0.5912 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 83.26 MB / 0.6725 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003666/0.1914, allocations: 2.079 MB / 0.6745 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1925, allocations: 0.5726 MB / 0.6751 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1926, allocations: 8 kB / 0.6751 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.1927, allocations: 23.67 kB / 0.6751 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.1928, allocations: 35.66 kB / 0.6752 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1931, allocations: 95.81 kB / 0.6753 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.1935, allocations: 263.3 kB / 0.6755 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.1937, allocations: 82.89 kB / 0.6756 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1939, allocations: 115.6 kB / 0.6757 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.194, allocations: 119.5 kB / 0.6758 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.1941, allocations: 24 kB / 0.6758 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.235e-05/0.1941, allocations: 28 kB / 0.6759 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.1942, allocations: 63.75 kB / 0.6759 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1943, allocations: 107.5 kB / 0.676 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.1947, allocations: 290.8 kB / 0.6763 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1947, allocations: 0 / 0.6763 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1947, allocations: 0 / 0.6763 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.1947, allocations: 0 / 0.6763 GB, free: 15.93 MB / 0.5137 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.001248/0.1959, allocations: 0.6408 MB / 0.6769 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.196, allocations: 8.625 kB / 0.6769 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.1961, allocations: 32.73 kB / 0.677 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.1964, allocations: 256.4 kB / 0.6772 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.1965, allocations: 16.5 kB / 0.6772 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.1965, allocations: 24 kB / 0.6773 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.1972, allocations: 274.1 kB / 0.6775 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1972, allocations: 3.984 kB / 0.6775 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1972, allocations: 12 kB / 0.6775 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1972, allocations: 4 kB / 0.6775 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.1979, allocations: 191.8 kB / 0.6777 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.199, allocations: 0.6209 MB / 0.6783 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.1998, allocations: 218.5 kB / 0.6785 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.2001, allocations: 80.78 kB / 0.6786 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.2002, allocations: 4 kB / 0.6786 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.2008, allocations: 187.2 kB / 0.6788 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.2008, allocations: 0 / 0.6788 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001062/0.2018, allocations: 332.2 kB / 0.6791 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.2019, allocations: 110.8 kB / 0.6792 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.2021, allocations: 210.8 kB / 0.6794 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.2022, allocations: 37.7 kB / 0.6794 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2023, allocations: 152.4 kB / 0.6796 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.2023, allocations: 47.64 kB / 0.6796 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2025, allocations: 69.64 kB / 0.6797 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2026, allocations: 334.8 kB / 0.68 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.203, allocations: 108.2 kB / 0.6801 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.2034, allocations: 175.3 kB / 0.6803 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.2041, allocations: 308.3 kB / 0.6806 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2041, allocations: 3.938 kB / 0.6806 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009286/0.205, allocations: 428.8 kB / 0.681 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.202e-05/0.2051, allocations: 89.05 kB / 0.6811 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2051, allocations: 0 / 0.6811 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2051, allocations: 11.92 kB / 0.6811 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.2053, allocations: 39.97 kB / 0.6811 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.2053, allocations: 7.938 kB / 0.6811 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.2056, allocations: 63.72 kB / 0.6812 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.2057, allocations: 16.09 kB / 0.6812 GB, free: 10.54 MB / 0.5137 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.000166/0.2058, allocations: 140 kB / 0.6814 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.2059, allocations: 27.83 kB / 0.6814 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/0.2066, allocations: 263.2 kB / 0.6816 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2066, allocations: 4 kB / 0.6816 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2066, allocations: 0 / 0.6816 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2066, allocations: 0 / 0.6816 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.2077, allocations: 0.5825 MB / 0.6822 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2077, allocations: 4 kB / 0.6822 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.2078, allocations: 23.97 kB / 0.6822 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.2079, allocations: 7.984 kB / 0.6822 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2079, allocations: 0 / 0.6822 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2079, allocations: 0 / 0.6822 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2079, allocations: 3.984 kB / 0.6822 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.2086, allocations: 351.1 kB / 0.6826 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2087, allocations: 93.02 kB / 0.6827 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.2087, allocations: 11.98 kB / 0.6827 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.209, allocations: 35.95 kB / 0.6827 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.2092, allocations: 47.94 kB / 0.6828 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.2092, allocations: 7.984 kB / 0.6828 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001278/0.2093, allocations: 136.5 kB / 0.6829 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2093, allocations: 0 / 0.6829 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003196/0.2096, allocations: 59.88 kB / 0.683 GB, free: 8.664 MB / 0.5137 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.0001692/0.2098, allocations: 111.2 kB / 0.6831 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009022/0.2107, allocations: 413.8 kB / 0.6835 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2107, allocations: 0 / 0.6835 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.2111, allocations: 114.8 kB / 0.6836 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2114, allocations: 39.89 kB / 0.6836 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.2124, allocations: 355.9 kB / 0.6839 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.2128, allocations: 0.7398 MB / 0.6847 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.618e-05/0.2129, allocations: 17.55 kB / 0.6847 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.213, allocations: 23.44 kB / 0.6847 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.213, allocations: 3.938 kB / 0.6847 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of Templates: time 0.00716/0.2201, allocations: 3.22 MB / 0.6878 GB, free: 3.566 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (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) [Timeout 480]