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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 118.9 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 187.8 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 249.1 MB, free: 3.656 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8158/0.8158, allocations: 128.4 MB / 432.4 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 179] 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 FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.88 kB / 0.5988 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4023, allocations: 83.25 MB / 0.6801 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002816/0.4051, allocations: 2.083 MB / 0.6821 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.4059, allocations: 0.5765 MB / 0.6827 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.406, allocations: 6.969 kB / 0.6827 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.4062, allocations: 19.73 kB / 0.6827 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.4062, allocations: 39.47 kB / 0.6827 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.4065, allocations: 87.31 kB / 0.6828 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.4067, allocations: 268.6 kB / 0.6831 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.4069, allocations: 87.41 kB / 0.6832 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.4071, allocations: 103.6 kB / 0.6833 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.4072, allocations: 127.7 kB / 0.6834 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.4072, allocations: 27.09 kB / 0.6834 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.4073, allocations: 26.56 kB / 0.6834 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.4073, allocations: 58.25 kB / 0.6835 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.4074, allocations: 111.9 kB / 0.6836 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.4077, allocations: 278.9 kB / 0.6839 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4077, allocations: 1.125 kB / 0.6839 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4077, allocations: 0 / 0.6839 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4077, allocations: 4 kB / 0.6839 GB, free: 4.109 MB / 0.4981 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.001015/0.4087, allocations: 0.6399 MB / 0.6845 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.4088, allocations: 8.812 kB / 0.6845 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.4088, allocations: 27.14 kB / 0.6845 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.4091, allocations: 262.1 kB / 0.6848 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.4091, allocations: 25.42 kB / 0.6848 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.4092, allocations: 23.25 kB / 0.6848 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.4097, allocations: 264 kB / 0.6851 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4097, allocations: 0 / 0.6851 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.4098, allocations: 6.531 kB / 0.6851 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4098, allocations: 12.02 kB / 0.6851 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.4104, allocations: 201.4 kB / 0.6853 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.4113, allocations: 0.6057 MB / 0.6859 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.4121, allocations: 221.7 kB / 0.6861 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.4124, allocations: 81.19 kB / 0.6862 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4124, allocations: 2.812 kB / 0.6862 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.4128, allocations: 195.8 kB / 0.6864 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.4128, allocations: 0 / 0.6864 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0009987/0.4138, allocations: 331 kB / 0.6867 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4139, allocations: 106.9 kB / 0.6868 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.414, allocations: 211.9 kB / 0.687 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.4141, allocations: 38.75 kB / 0.687 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.4141, allocations: 160.9 kB / 0.6872 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.4142, allocations: 46.48 kB / 0.6872 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.4142, allocations: 63.16 kB / 0.6873 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.4143, allocations: 330.7 kB / 0.6876 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.4146, allocations: 110.5 kB / 0.6877 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.415, allocations: 181 kB / 0.6879 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.4156, allocations: 308.8 kB / 0.6882 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4156, allocations: 1.062 kB / 0.6882 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008042/0.4164, allocations: 419.9 kB / 0.6886 GB, free: 376 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.4164, allocations: 96.53 kB / 0.6887 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4164, allocations: 2.375 kB / 0.6887 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4164, allocations: 2.062 kB / 0.6887 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.4167, allocations: 49.14 kB / 0.6887 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4167, allocations: 3.406 kB / 0.6887 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.417, allocations: 63.7 kB / 0.6888 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.417, allocations: 16.38 kB / 0.6888 GB, free: 204 kB / 0.4981 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.0001125/0.4171, allocations: 144.8 kB / 0.6889 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4171, allocations: 20.97 kB / 0.6889 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007574/0.4179, allocations: 258.1 kB / 0.6892 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.4179, allocations: 2.875 kB / 0.6892 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4179, allocations: 4 kB / 0.6892 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4179, allocations: 0 / 0.6892 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.419, allocations: 0.5845 MB / 0.6898 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.419, allocations: 0 / 0.6898 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4191, allocations: 35.55 kB / 0.6898 GB, free: 15.42 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4191, allocations: 1.281 kB / 0.6898 GB, free: 15.42 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4192, allocations: 1.531 kB / 0.6898 GB, free: 15.42 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.4192, allocations: 5.297 kB / 0.6898 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4192, allocations: 3.938 kB / 0.6898 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.4199, allocations: 345.2 kB / 0.6901 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.42, allocations: 97.31 kB / 0.6902 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.42, allocations: 6.844 kB / 0.6902 GB, free: 15.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.4203, allocations: 46.91 kB / 0.6903 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.4205, allocations: 46.03 kB / 0.6903 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4205, allocations: 8.469 kB / 0.6903 GB, free: 15.01 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0001261/0.4206, allocations: 141 kB / 0.6905 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4206, allocations: 0 / 0.6905 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003222/0.421, allocations: 56.2 kB / 0.6905 GB, free: 14.89 MB / 0.5138 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.0001664/0.4211, allocations: 121.9 kB / 0.6906 GB, free: 14.79 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0009014/0.422, allocations: 407.2 kB / 0.691 GB, free: 14.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.422, allocations: 320 / 0.691 GB, free: 14.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.4224, allocations: 106.7 kB / 0.6911 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.4227, allocations: 38.17 kB / 0.6912 GB, free: 14.43 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008774/0.4236, allocations: 387.9 kB / 0.6915 GB, free: 14.13 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.424, allocations: 0.7332 MB / 0.6923 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.4241, allocations: 27.39 kB / 0.6923 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of SimCode: time 3.61e-07/0.4241, allocations: 0 / 0.6923 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.004922/0.429, allocations: 2.887 MB / 0.6951 GB, free: 11.89 MB / 0.5138 GB " [Timeout remaining time 660] 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] [Calling sys.exit(0), Time elapsed: 7.57726670592092] Failed to read output from testmodel.py, exit status != 0: 0.4367985089775175 0.448520833 0.038237387000000005 Calling exit ...