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.001318/0.001318, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001561/0.001561, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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.869/2.869, allocations: 0.5003 GB / 0.8061 GB, free: 26.97 MB / 0.6231 GB " [Timeout remaining time 177] 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.001778/0.001778, allocations: 61.83 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2824, allocations: 179 MB / 1.345 GB, free: 420 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003242/0.2856, allocations: 2.182 MB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2867, allocations: 0.6195 MB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2868, allocations: 4 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2869, allocations: 23.67 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.303e-05/0.287, allocations: 39.59 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2873, allocations: 103.9 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.2876, allocations: 279.3 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.2878, allocations: 99.58 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.2879, allocations: 123.6 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.2881, allocations: 135.4 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.2882, allocations: 31.94 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-05/0.2882, allocations: 28 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.2883, allocations: 63.77 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.2884, allocations: 131.4 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.2887, allocations: 298.7 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2887, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2887, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2887, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 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.001095/0.2898, allocations: 0.6004 MB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2899, allocations: 12.03 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.028e-05/0.2899, allocations: 4.625 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.122e-05/0.29, allocations: 67.09 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.29, allocations: 40.73 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.2904, allocations: 207.5 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2904, allocations: 20.8 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.2905, allocations: 32.06 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.2911, allocations: 307.4 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2911, allocations: 0 / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.2912, allocations: 12 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2912, allocations: 4 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.2919, allocations: 217.6 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.293, allocations: 0.6377 MB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.2937, allocations: 218.3 kB / 1.352 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.294, allocations: 100.8 kB / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2941, allocations: 8 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004954/0.2946, allocations: 202 kB / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.2946, allocations: 0 / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=26): time 0.001635/0.2962, allocations: 0.5465 MB / 1.353 GB, free: 8.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.2963, allocations: 110.8 kB / 1.353 GB, free: 8.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.2965, allocations: 226.6 kB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.2965, allocations: 37.7 kB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2966, allocations: 160.8 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.664e-05/0.2967, allocations: 71.42 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2968, allocations: 77.97 kB / 1.353 GB, free: 8.145 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2969, allocations: 334.8 kB / 1.354 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.2973, allocations: 132.2 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.2977, allocations: 184.4 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.2984, allocations: 330.6 kB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2984, allocations: 4 kB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009528/0.2994, allocations: 459.2 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.2995, allocations: 97.03 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.2995, allocations: 8.156 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2995, allocations: 4 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.2998, allocations: 51.89 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2998, allocations: 11.97 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.3001, allocations: 51.95 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.3001, allocations: 15.92 kB / 1.355 GB, free: 6.387 MB / 1.045 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.0001669/0.3003, allocations: 159.9 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3003, allocations: 31.78 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007968/0.3011, allocations: 299.6 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3011, allocations: 4 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3011, allocations: 0 / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3011, allocations: 0 / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.3025, allocations: 0.7095 MB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3025, allocations: 3.938 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.3027, allocations: 43.95 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3027, allocations: 4 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3027, allocations: 7.984 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3027, allocations: 4.125 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3027, allocations: 4 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.3035, allocations: 410.5 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.3036, allocations: 19.86 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.3036, allocations: 15.98 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.3039, allocations: 43.94 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.304, allocations: 63.84 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.3041, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001198/0.3042, allocations: 143.2 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3042, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003164/0.3045, allocations: 59.94 kB / 1.357 GB, free: 4.281 MB / 1.045 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.001505/0.306, allocations: 1.087 MB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009445/0.3069, allocations: 446.9 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3069, allocations: 0 / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.3074, allocations: 151.8 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3078, allocations: 43.16 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.312, allocations: 2.86 MB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3124, allocations: 0.748 MB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.3125, allocations: 29.94 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.3126, allocations: 83.41 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3126, allocations: 112 / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.3392, allocations: 6.359 MB / 1.368 GB, free: 8.426 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.7, allocations: 14.05 kB / 1.368 GB, free: 8.414 MB / 1.061 GB " [Timeout remaining time 289] (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: 16.595588513999246] Failed to read output from testmodel.py, exit status != 0: 10.865902599995025 10.880699706 10.589050143 Calling exit ...