Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001301/0.001301, allocations: 116.8 kB / 17.17 MB, free: 6 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.001322/0.001322, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.414/1.414, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.921/2.921, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002126/0.002126, allocations: 67.91 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8657, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003058/0.8688, allocations: 2.171 MB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.8699, allocations: 0.613 MB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.87, allocations: 7.875 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.8701, allocations: 20.95 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.8702, allocations: 45.34 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.8705, allocations: 95.62 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.8709, allocations: 282.2 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.8711, allocations: 101.9 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.8712, allocations: 119.5 kB / 1.344 GB, free: 14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.8714, allocations: 135.9 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.8714, allocations: 31.41 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.711e-05/0.8715, allocations: 28.72 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.8715, allocations: 61.61 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.8716, allocations: 127.8 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.872, allocations: 301 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.872, allocations: 0 / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.872, allocations: 0 / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.872, allocations: 0 / 1.344 GB, free: 13.67 MB / 1.061 GB 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.001148/0.8731, allocations: 0.6762 MB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.8732, allocations: 11 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.593e-05/0.8732, allocations: 6.641 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.8733, allocations: 61.33 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.8734, allocations: 33.86 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.8737, allocations: 267.5 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.8737, allocations: 24.56 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.8738, allocations: 30.69 kB / 1.345 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.8745, allocations: 301.1 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.8745, allocations: 3.938 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.8745, allocations: 11.59 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.8745, allocations: 9.312 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007233/0.8753, allocations: 218.7 kB / 1.346 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.8764, allocations: 0.6788 MB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.8771, allocations: 216.3 kB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.8775, allocations: 102.6 kB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.8775, allocations: 2.75 kB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/0.878, allocations: 212.3 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.878, allocations: 0 / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.001723/0.8797, allocations: 0.5409 MB / 1.348 GB, free: 11.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.8798, allocations: 109.5 kB / 1.348 GB, free: 11.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.88, allocations: 216.8 kB / 1.348 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.88, allocations: 40.39 kB / 1.348 GB, free: 11.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.8801, allocations: 163.2 kB / 1.348 GB, free: 11.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.8801, allocations: 72.42 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.8802, allocations: 81.58 kB / 1.348 GB, free: 11.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.8803, allocations: 335.9 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.8807, allocations: 120.2 kB / 1.349 GB, free: 10.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.8811, allocations: 196.9 kB / 1.349 GB, free: 10.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.8818, allocations: 337.4 kB / 1.349 GB, free: 10.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8818, allocations: 1.25 kB / 1.349 GB, free: 10.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009399/0.8827, allocations: 463.8 kB / 1.35 GB, free: 10.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.8828, allocations: 88.5 kB / 1.35 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8828, allocations: 1.953 kB / 1.35 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8828, allocations: 3.719 kB / 1.35 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.8831, allocations: 57.52 kB / 1.35 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.8831, allocations: 3.5 kB / 1.35 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.8834, allocations: 54.72 kB / 1.35 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.8834, allocations: 12.12 kB / 1.35 GB, free: 10.19 MB / 1.061 GB 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,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,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 (40): * Single equations (assignments): 37 * 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.0001286/0.8836, allocations: 151.4 kB / 1.35 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.8836, allocations: 31.81 kB / 1.35 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008293/0.8844, allocations: 306.9 kB / 1.35 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8844, allocations: 2.469 kB / 1.35 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8844, allocations: 0 / 1.35 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8844, allocations: 2.641 kB / 1.35 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.8857, allocations: 0.739 MB / 1.351 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8857, allocations: 1.156 kB / 1.351 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.8859, allocations: 41.8 kB / 1.351 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8859, allocations: 3.25 kB / 1.351 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.8859, allocations: 9.969 kB / 1.351 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8859, allocations: 2.594 kB / 1.351 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8859, allocations: 1.156 kB / 1.351 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.8867, allocations: 419.6 kB / 1.351 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.8868, allocations: 104.7 kB / 1.352 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.8868, allocations: 18.58 kB / 1.352 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.8871, allocations: 46.8 kB / 1.352 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.8873, allocations: 51.16 kB / 1.352 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.8873, allocations: 14.23 kB / 1.352 GB, free: 9.062 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001009/0.8874, allocations: 143.8 kB / 1.352 GB, free: 8.969 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.8874, allocations: 4 kB / 1.352 GB, free: 8.965 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003254/0.8877, allocations: 55.91 kB / 1.352 GB, free: 8.957 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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,ySetOn.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 19 * 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.001323/0.889, allocations: 1.085 MB / 1.353 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008559/0.8899, allocations: 441.8 kB / 1.353 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8899, allocations: 1.156 kB / 1.353 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.8903, allocations: 150.8 kB / 1.353 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.8907, allocations: 39.66 kB / 1.353 GB, free: 7.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.8945, allocations: 2.854 MB / 1.356 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.8947, allocations: 0.7489 MB / 1.357 GB, free: 5.176 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.8948, allocations: 25.73 kB / 1.357 GB, free: 5.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.8949, allocations: 81.83 kB / 1.357 GB, free: 5.117 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.8949, allocations: 0 / 1.357 GB, free: 5.117 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.9182, allocations: 6.141 MB / 1.363 GB, free: 4.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/9.23, allocations: 8.047 kB / 1.363 GB, free: 4.43 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.384770887030754] Failed to read output from testmodel.py, exit status != 0: 9.354414936969988 9.36750497 8.492503179 Calling exit ...