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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 72.83 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9813/0.9813, allocations: 177.1 MB / 204.6 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5998/0.5998, allocations: 115 MB / 376 MB, free: 7.434 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.522e-06/1.522e-06, allocations: 0 / 428.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.01e-05, allocations: 2.312 kB / 428.8 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002978/0.002998, allocations: 2.158 MB / 430.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.00413, allocations: 0.6154 MB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.004253, allocations: 0 / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.004396, allocations: 35.61 kB / 431.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.004499, allocations: 39.59 kB / 431.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.004781, allocations: 103.8 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.005368, allocations: 287.2 kB / 432 MB, free: 15.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.005577, allocations: 98.19 kB / 432.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.005796, allocations: 179.6 kB / 432.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.005926, allocations: 103.7 kB / 432.4 MB, free: 15.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.00597, allocations: 28 kB / 432.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.006003, allocations: 28 kB / 432.4 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.00606, allocations: 63.8 kB / 432.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.006141, allocations: 79.75 kB / 432.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.006381, allocations: 207.2 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.006382, allocations: 0 / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006383, allocations: 0 / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.006387, allocations: 4 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006789/0.007066, allocations: 0.5486 MB / 433.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.007101, allocations: 12.03 kB / 433.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.007166, allocations: 32.91 kB / 433.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.01042, allocations: 182.1 kB / 433.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.01044, allocations: 20.88 kB / 433.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.01048, allocations: 24.31 kB / 433.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.01082, allocations: 291.7 kB / 433.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.01083, allocations: 0 / 433.9 MB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.01085, allocations: 12 kB / 433.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.01086, allocations: 4 kB / 433.9 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.01095, allocations: 51.47 kB / 433.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.01157, allocations: 382.3 kB / 434.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.01171, allocations: 82.47 kB / 434.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.01175, allocations: 24.86 kB / 434.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01177, allocations: 4 kB / 434.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.01194, allocations: 130.3 kB / 434.6 MB, free: 12.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.01195, allocations: 0 / 434.6 MB, free: 12.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002199/0.01217, allocations: 129.5 kB / 434.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.01222, allocations: 110.8 kB / 434.8 MB, free: 12.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.01236, allocations: 218.6 kB / 435 MB, free: 12.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.01239, allocations: 37.7 kB / 435 MB, free: 12.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.01246, allocations: 144.4 kB / 435.2 MB, free: 12.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.0125, allocations: 59.55 kB / 435.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.01259, allocations: 73.88 kB / 435.3 MB, free: 12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.01269, allocations: 334.8 kB / 435.6 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.01278, allocations: 109.4 kB / 435.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.01292, allocations: 239.8 kB / 436 MB, free: 11.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.01308, allocations: 202.5 kB / 436.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.01308, allocations: 0 / 436.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003298/0.01638, allocations: 328.4 kB / 436.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.01643, allocations: 93.09 kB / 436.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01644, allocations: 0 / 436.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01645, allocations: 4 kB / 436.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.0166, allocations: 47.84 kB / 436.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01661, allocations: 8.094 kB / 436.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.01676, allocations: 55.84 kB / 436.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01678, allocations: 8 kB / 436.7 MB, free: 10.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.y,ySetOn.y,$PRE.ySetOn.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,antFre.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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 9.81e-05/0.01688, allocations: 135.9 kB / 436.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.01691, allocations: 27.97 kB / 436.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.01708, allocations: 119.3 kB / 437 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01709, allocations: 4 kB / 437 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01709, allocations: 7.938 kB / 437 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01709, allocations: 0 / 437 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.01742, allocations: 314.2 kB / 437.3 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01742, allocations: 0 / 437.3 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.01749, allocations: 23.92 kB / 437.3 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01749, allocations: 3.984 kB / 437.3 MB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.0175, allocations: 0 / 437.3 MB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01751, allocations: 7.938 kB / 437.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01751, allocations: 4 kB / 437.3 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.01766, allocations: 195.5 kB / 437.5 MB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.01768, allocations: 23.8 kB / 437.6 MB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.01772, allocations: 11.98 kB / 437.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.01786, allocations: 35.91 kB / 437.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.01795, allocations: 47.91 kB / 437.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.01796, allocations: 7.984 kB / 437.7 MB, free: 9.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.569e-05/0.01802, allocations: 57.95 kB / 437.7 MB, free: 9.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01802, allocations: 0 / 437.7 MB, free: 9.355 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.01828, allocations: 67.83 kB / 437.8 MB, free: 9.289 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$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,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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 9.729e-05/0.01837, allocations: 96.41 kB / 437.9 MB, free: 9.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.01865, allocations: 372.6 kB / 438.2 MB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.01865, allocations: 0 / 438.2 MB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.01874, allocations: 56.78 kB / 438.3 MB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.02198, allocations: 40.05 kB / 438.3 MB, free: 8.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.02268, allocations: 395.1 kB / 438.7 MB, free: 8.254 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.02273, allocations: 76.33 kB / 438.8 MB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.642e-05/0.02282, allocations: 25.94 kB / 438.8 MB, free: 8.133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.02298, allocations: 103.3 kB / 438.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02298, allocations: 0 / 438.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of Templates: time 0.008074/0.03105, allocations: 3.715 MB / 442.6 MB, free: 4.332 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5302643510513008]