Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001494/0.001494, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001698/0.001698, allocations: 220.8 kB / 23.03 MB, free: 4.945 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.646/2.646, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.001911/0.001911, allocations: 66.89 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2924, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003576/0.296, allocations: 2.062 MB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.297, allocations: 0.5728 MB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2971, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2972, allocations: 23.73 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/0.2973, allocations: 39.59 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2976, allocations: 79.89 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.2979, allocations: 275.3 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2981, allocations: 94.3 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2982, allocations: 111.6 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2984, allocations: 123.4 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.2984, allocations: 27.94 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.345e-05/0.2985, allocations: 28 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.2986, allocations: 55.83 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2987, allocations: 99.5 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.299, allocations: 274.9 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.299, allocations: 0 / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.299, allocations: 4 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.299, allocations: 4 kB / 1.288 GB, free: 6.852 MB / 0.9825 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.001142/0.3002, allocations: 0.5771 MB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3002, allocations: 12.03 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.263e-05/0.3003, allocations: 4.625 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/0.3003, allocations: 59.16 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.3004, allocations: 28.75 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3007, allocations: 191.4 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3008, allocations: 16.81 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.3008, allocations: 36.06 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.3015, allocations: 330 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3015, allocations: 0 / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3015, allocations: 11.98 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3016, allocations: 4 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.3022, allocations: 205.5 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3034, allocations: 0.5639 MB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.3042, allocations: 226.3 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.3045, allocations: 97.09 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.3045, allocations: 7.906 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/0.305, allocations: 199.1 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.305, allocations: 0 / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001656/0.3067, allocations: 0.5107 MB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.3068, allocations: 118.8 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.307, allocations: 208.1 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.3071, allocations: 33.7 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3072, allocations: 160.7 kB / 1.291 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.3073, allocations: 71.42 kB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3074, allocations: 65.69 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3075, allocations: 342.8 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.3079, allocations: 197.3 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.3084, allocations: 329.2 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.3091, allocations: 323.2 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3091, allocations: 7.938 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001028/0.3101, allocations: 0.5298 MB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/0.3102, allocations: 93.09 kB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3102, allocations: 4 kB / 1.293 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3102, allocations: 0 / 1.293 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.3105, allocations: 55.89 kB / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3105, allocations: 0 / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.3108, allocations: 51.94 kB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3108, allocations: 16.06 kB / 1.293 GB, free: 0.8281 MB / 0.9825 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 (37): * Single equations (assignments): 34 * 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.000165/0.311, allocations: 155.6 kB / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.311, allocations: 31.84 kB / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/0.3118, allocations: 293.5 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3118, allocations: 4 kB / 1.294 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3118, allocations: 3.938 kB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3118, allocations: 0 / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3131, allocations: 0.645 MB / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3131, allocations: 0 / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.3133, allocations: 47.89 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3133, allocations: 4 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3134, allocations: 7.922 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3134, allocations: 4 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3134, allocations: 0 / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.3142, allocations: 404.8 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.3142, allocations: 15.89 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.3142, allocations: 15.94 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.3145, allocations: 43.94 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3146, allocations: 51.92 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3147, allocations: 11.98 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001317/0.3148, allocations: 143.3 kB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3148, allocations: 0 / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003214/0.3151, allocations: 48 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (24): * Single equations (assignments): 17 * 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.001543/0.3167, allocations: 1.067 MB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009642/0.3176, allocations: 0.5031 MB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3176, allocations: 0 / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.3181, allocations: 147.8 kB / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.3185, allocations: 46.73 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.3231, allocations: 3.076 MB / 1.3 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.3232, allocations: 138.1 kB / 1.3 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.3233, allocations: 29.92 kB / 1.3 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3235, allocations: 71.41 kB / 1.3 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/0.3235, allocations: 0 / 1.3 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.3505, allocations: 6.109 MB / 1.306 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.49, allocations: 9.781 kB / 1.306 GB, free: 3.512 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.695037113968283] Failed to read output from testmodel.py, exit status != 0: 12.119141320930794 11.680788955 11.377557764 Calling exit ...