Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001361/0.001361, allocations: 101.3 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.001525/0.001525, allocations: 221.4 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.048/3.048, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001907/0.001907, allocations: 69.02 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3175, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003872/0.3214, allocations: 2.111 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3226, allocations: 0.5844 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.3227, allocations: 7.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.3229, allocations: 27.66 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.323, allocations: 47.59 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.3233, allocations: 99.88 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.3237, allocations: 299.3 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.3239, allocations: 99.81 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.3241, allocations: 123.6 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.3243, allocations: 139.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.3243, allocations: 28 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.3244, allocations: 32 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.3245, allocations: 67.75 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.3246, allocations: 111.5 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.325, allocations: 326.6 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.325, allocations: 4 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.325, allocations: 0 / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3251, allocations: 0 / 1.331 GB, free: 13.4 MB / 1.029 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.001293/0.3263, allocations: 0.6014 MB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3264, allocations: 12.03 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.99e-05/0.3264, allocations: 8.609 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.36e-05/0.3265, allocations: 63.16 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.3266, allocations: 36.75 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.327, allocations: 210.6 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.327, allocations: 20.8 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.3271, allocations: 32.12 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.3278, allocations: 388.5 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3278, allocations: 7.938 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3278, allocations: 8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.3279, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006834/0.3285, allocations: 221.6 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3299, allocations: 0.5988 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.3306, allocations: 210.4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.3309, allocations: 104.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3309, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005224/0.3314, allocations: 209.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.3315, allocations: 3.938 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.001708/0.3332, allocations: 0.549 MB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.3333, allocations: 136.5 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.3335, allocations: 223.8 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.3335, allocations: 37.7 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3337, allocations: 172.6 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.3337, allocations: 75.41 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3339, allocations: 78 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.334, allocations: 334.8 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.3345, allocations: 209.3 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.335, allocations: 358.8 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.3357, allocations: 338.9 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3357, allocations: 4 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001042/0.3367, allocations: 0.5434 MB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.3368, allocations: 94.81 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3368, allocations: 0 / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3368, allocations: 4 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.3371, allocations: 51.89 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3371, allocations: 4.156 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.3374, allocations: 59.94 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3375, allocations: 12 kB / 1.336 GB, free: 7.012 MB / 1.029 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,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,antFre.ySetOn.y,$PRE.antFre.ySetOn.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.0001807/0.3376, allocations: 156.4 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.3377, allocations: 27.8 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/0.3385, allocations: 313.3 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3385, allocations: 4 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3385, allocations: 0 / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3385, allocations: 0 / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3399, allocations: 0.685 MB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3399, allocations: 0 / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3401, allocations: 47.89 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3401, allocations: 4.125 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.3401, allocations: 11.92 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3401, allocations: 8 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3401, allocations: 3.938 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.3409, allocations: 416.5 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.341, allocations: 31.78 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.341, allocations: 16 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.3414, allocations: 43.94 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3415, allocations: 59.84 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.3415, allocations: 11.98 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001415/0.3417, allocations: 153 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3417, allocations: 0 / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003425/0.342, allocations: 56 kB / 1.338 GB, free: 4.891 MB / 1.029 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.ySetOn.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,antFre.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.00156/0.3436, allocations: 1.096 MB / 1.339 GB, free: 3.754 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.3446, allocations: 0.5238 MB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3446, allocations: 0 / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.345, allocations: 152.2 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3454, allocations: 35.95 kB / 1.34 GB, free: 2.992 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.3502, allocations: 3.258 MB / 1.343 GB, free: 15.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.3504, allocations: 142.2 kB / 1.343 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000126/0.3505, allocations: 33.88 kB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.3507, allocations: 91.39 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/0.3507, allocations: 0 / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.3787, allocations: 6.802 MB / 1.35 GB, free: 8.652 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.58, allocations: 6.094 kB / 1.35 GB, free: 8.648 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.85653746605385] Failed to read output from testmodel.py, exit status != 0: 11.742236053920351 11.757566114 11.429473268 Calling exit ...