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.001078/0.001078, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002661, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001119/0.001119, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002479, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9753/0.9753, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1125/1.088, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.6994/0.6994, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06432/0.7637, allocations: 37.87 MB / 400.9 MB, free: 13.73 MB / 394.7 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.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.443e-06/1.443e-06, allocations: 0 / 402.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.662e-05, allocations: 6.25 kB / 402.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002391/0.002407, allocations: 2.193 MB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.003304, allocations: 0.6232 MB / 405.1 MB, free: 9.531 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.003428, allocations: 7.938 kB / 405.1 MB, free: 9.523 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.185e-05/0.0035, allocations: 27.61 kB / 405.1 MB, free: 9.496 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.003578, allocations: 39.59 kB / 405.2 MB, free: 9.457 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.003776, allocations: 103.8 kB / 405.3 MB, free: 9.355 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.004038, allocations: 283.3 kB / 405.6 MB, free: 9.078 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.004233, allocations: 106.1 kB / 405.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.004434, allocations: 183.6 kB / 405.8 MB, free: 8.793 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.004549, allocations: 99.67 kB / 405.9 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.004588, allocations: 28 kB / 406 MB, free: 8.668 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.004617, allocations: 28 kB / 406 MB, free: 8.641 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.004663, allocations: 43.81 kB / 406 MB, free: 8.598 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.004729, allocations: 63.86 kB / 406.1 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.004939, allocations: 175.4 kB / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.628e-05/0.004955, allocations: 7.922 kB / 406.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004956, allocations: 4 kB / 406.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.004974, allocations: 3.938 kB / 406.3 MB, free: 8.348 MB / 394.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.0007455/0.00572, allocations: 0.5951 MB / 406.9 MB, free: 7.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.00575, allocations: 12.03 kB / 406.9 MB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.005805, allocations: 32.91 kB / 406.9 MB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.006001, allocations: 182.3 kB / 407.1 MB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.006024, allocations: 16.88 kB / 407.1 MB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.00605, allocations: 28.38 kB / 407.1 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.006337, allocations: 283.7 kB / 407.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.006348, allocations: 0 / 407.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.006364, allocations: 12 kB / 407.4 MB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.006371, allocations: 4 kB / 407.4 MB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.006458, allocations: 55.47 kB / 407.5 MB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.007049, allocations: 386.3 kB / 407.9 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.00719, allocations: 86.45 kB / 407.9 MB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.007231, allocations: 28.84 kB / 408 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.007259, allocations: 0 / 408 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.007449, allocations: 139.1 kB / 408.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.00745, allocations: 0 / 408.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001883/0.007639, allocations: 125.6 kB / 408.2 MB, free: 6.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.007677, allocations: 71.33 kB / 408.3 MB, free: 6.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.007793, allocations: 210.2 kB / 408.5 MB, free: 5.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.007818, allocations: 33.7 kB / 408.5 MB, free: 5.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.007887, allocations: 152.6 kB / 408.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.007918, allocations: 55.59 kB / 408.7 MB, free: 5.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.007998, allocations: 69.92 kB / 408.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.008083, allocations: 338.8 kB / 409.1 MB, free: 5.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.008156, allocations: 109.4 kB / 409.3 MB, free: 5.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.008274, allocations: 235.8 kB / 409.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.008407, allocations: 214.5 kB / 409.7 MB, free: 4.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.008409, allocations: 0 / 409.7 MB, free: 4.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002135/0.008623, allocations: 320.4 kB / 410 MB, free: 4.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.008676, allocations: 97.03 kB / 410.1 MB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008682, allocations: 4 kB / 410.1 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.008692, allocations: 4.156 kB / 410.1 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.008823, allocations: 51.97 kB / 410.2 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.008828, allocations: 7.875 kB / 410.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.008954, allocations: 55.84 kB / 410.2 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.008966, allocations: 4 kB / 410.2 MB, free: 4.031 MB / 394.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.68e-05/0.009062, allocations: 139.9 kB / 410.4 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.009088, allocations: 27.97 kB / 410.4 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.009225, allocations: 115.4 kB / 410.5 MB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.009229, allocations: 4 kB / 410.5 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.009232, allocations: 3.938 kB / 410.5 MB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.009236, allocations: 0 / 410.5 MB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.009507, allocations: 307.5 kB / 410.8 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009509, allocations: 0 / 410.8 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.009572, allocations: 23.97 kB / 410.8 MB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.009591, allocations: 23.8 kB / 410.9 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.009595, allocations: 3.938 kB / 410.9 MB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.009605, allocations: 8 kB / 410.9 MB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.009606, allocations: 7.984 kB / 410.9 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.009609, allocations: 4 kB / 410.9 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.009745, allocations: 203.5 kB / 411.1 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.009773, allocations: 15.98 kB / 411.1 MB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.009879, allocations: 31.91 kB / 411.1 MB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.009959, allocations: 47.91 kB / 411.2 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.009976, allocations: 11.98 kB / 411.2 MB, free: 3.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.01002, allocations: 49.97 kB / 411.2 MB, free: 2.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01002, allocations: 4 kB / 411.2 MB, free: 2.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.0102, allocations: 63.89 kB / 411.3 MB, free: 2.898 MB / 394.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.634e-05/0.01029, allocations: 96.34 kB / 411.4 MB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.01058, allocations: 360.5 kB / 411.7 MB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.01059, allocations: 4 kB / 411.7 MB, free: 2.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.01066, allocations: 65.02 kB / 411.8 MB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.01086, allocations: 63.86 kB / 411.9 MB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.01167, allocations: 387.4 kB / 412.3 MB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.01172, allocations: 84.27 kB / 412.3 MB, free: 1.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.01179, allocations: 17.95 kB / 412.4 MB, free: 1.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.01192, allocations: 103.3 kB / 412.5 MB, free: 1.625 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01192, allocations: 0 / 412.5 MB, free: 1.625 MB / 394.7 MB Notification: Performance of Templates: time 0.005278/0.0172, allocations: 3.846 MB / 416.3 MB, free: 13.77 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.2404726035892963]