Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001295/0.001295, allocations: 78.33 kB / 19.76 MB, free: 1.875 MB / 14.72 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.00205/0.00205, allocations: 155.5 kB / 23.01 MB, free: 4.59 MB / 14.72 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 1.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002457/0.002457, allocations: 242.3 kB / 260 MB, free: 452 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9126/0.9126, allocations: 138.5 MB / 455 MB, free: 15.11 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003068/0.003068, allocations: 95.86 kB / 0.6474 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.402, allocations: 95.35 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00289/0.4049, allocations: 2.045 MB / 0.7425 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.4057, allocations: 0.571 MB / 0.7431 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.747e-05/0.4058, allocations: 6.719 kB / 0.7431 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.4059, allocations: 20.89 kB / 0.7431 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.406, allocations: 41 kB / 0.7431 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.4063, allocations: 92.81 kB / 0.7432 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.4065, allocations: 259.5 kB / 0.7435 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.4067, allocations: 90.61 kB / 0.7435 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4069, allocations: 110.9 kB / 0.7437 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.407, allocations: 108.6 kB / 0.7438 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.407, allocations: 26.91 kB / 0.7438 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.4071, allocations: 24.78 kB / 0.7438 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.4071, allocations: 54.66 kB / 0.7439 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.4072, allocations: 103.5 kB / 0.744 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.4075, allocations: 274.3 kB / 0.7442 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4075, allocations: 0 / 0.7442 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4075, allocations: 1.375 kB / 0.7442 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.4076, allocations: 4 kB / 0.7442 GB, free: 15.07 MB / 0.5919 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.0009862/0.4085, allocations: 0.571 MB / 0.7448 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.4086, allocations: 10.06 kB / 0.7448 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.4086, allocations: 28.12 kB / 0.7448 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.4089, allocations: 201.4 kB / 0.745 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4089, allocations: 18.45 kB / 0.745 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.409, allocations: 24.59 kB / 0.7451 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.4095, allocations: 320.4 kB / 0.7454 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4096, allocations: 1.344 kB / 0.7454 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4096, allocations: 14.16 kB / 0.7454 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4096, allocations: 4.875 kB / 0.7454 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.4102, allocations: 201.2 kB / 0.7456 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.4112, allocations: 494.1 kB / 0.746 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.412, allocations: 214.5 kB / 0.7462 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.4123, allocations: 86.41 kB / 0.7463 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4123, allocations: 3.359 kB / 0.7463 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004583/0.4127, allocations: 191.6 kB / 0.7465 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.4127, allocations: 0 / 0.7465 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.001047/0.4138, allocations: 332.9 kB / 0.7468 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.4138, allocations: 120 kB / 0.7469 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.414, allocations: 211.7 kB / 0.7471 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.414, allocations: 35.34 kB / 0.7472 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.4141, allocations: 150.3 kB / 0.7473 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.4141, allocations: 56.36 kB / 0.7474 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.4142, allocations: 68.09 kB / 0.7474 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.4142, allocations: 332.4 kB / 0.7478 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.4146, allocations: 190.8 kB / 0.7479 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.415, allocations: 309.7 kB / 0.7482 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/0.4156, allocations: 310.2 kB / 0.7485 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.4156, allocations: 5.375 kB / 0.7485 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008535/0.4165, allocations: 0.4957 MB / 0.749 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.4165, allocations: 91.55 kB / 0.7491 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4165, allocations: 1.375 kB / 0.7491 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4165, allocations: 3.438 kB / 0.7491 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.4168, allocations: 50.16 kB / 0.7492 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4168, allocations: 5.375 kB / 0.7492 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.4171, allocations: 60.67 kB / 0.7492 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.4171, allocations: 14.09 kB / 0.7492 GB, free: 11.7 MB / 0.5919 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.0001038/0.4172, allocations: 146 kB / 0.7494 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.4172, allocations: 17.25 kB / 0.7494 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007186/0.418, allocations: 268 kB / 0.7497 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.418, allocations: 2.844 kB / 0.7497 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.418, allocations: 7.875 kB / 0.7497 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.418, allocations: 2.859 kB / 0.7497 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/0.4188, allocations: 0.4929 MB / 0.7501 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4188, allocations: 0.5625 kB / 0.7501 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.419, allocations: 28.56 kB / 0.7502 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.419, allocations: 1.156 kB / 0.7502 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.419, allocations: 11.72 kB / 0.7502 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.419, allocations: 5.766 kB / 0.7502 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.419, allocations: 0 / 0.7502 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007047/0.4197, allocations: 348 kB / 0.7505 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.4197, allocations: 14.52 kB / 0.7505 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.4198, allocations: 12.53 kB / 0.7505 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.4201, allocations: 47.8 kB / 0.7506 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4202, allocations: 40.27 kB / 0.7506 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.4202, allocations: 7.672 kB / 0.7506 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.851e-05/0.4203, allocations: 142.1 kB / 0.7508 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4203, allocations: 5.344 kB / 0.7508 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000298/0.4206, allocations: 55.3 kB / 0.7508 GB, free: 10.81 MB / 0.5919 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 9.363e-05/0.4207, allocations: 121.3 kB / 0.7509 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008132/0.4215, allocations: 492.2 kB / 0.7514 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4215, allocations: 0 / 0.7514 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.4218, allocations: 110.7 kB / 0.7515 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.4222, allocations: 44.12 kB / 0.7516 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.4229, allocations: 361.9 kB / 0.7519 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.546e-05/0.423, allocations: 127.7 kB / 0.752 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.796e-05/0.4231, allocations: 19.56 kB / 0.7521 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.4231, allocations: 26.91 kB / 0.7521 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.4231, allocations: 0 / 0.7521 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.006601/0.4297, allocations: 3.423 MB / 0.7554 GB, free: 8.906 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.885284002986737] Failed to read output from testmodel.py, exit status != 0: 0.4370335099520162 0.447114888 0.03722715 Calling exit ...