Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001789/0.001789, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002292/0.002292, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.892/2.892, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.001971/0.001971, allocations: 68.91 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003885/0.2925, allocations: 2.227 MB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.295, allocations: 1.568 MB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2951, allocations: 0 / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.2957, allocations: 190.9 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.2961, allocations: 167.2 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2964, allocations: 119.6 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.2967, allocations: 239.1 kB / 1.289 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2969, allocations: 36.56 kB / 1.289 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.297, allocations: 103.6 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.2972, allocations: 103.5 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.2972, allocations: 12 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2974, allocations: 59.92 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2975, allocations: 99.59 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2976, allocations: 130.9 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.2981, allocations: 366.4 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2981, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2981, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2981, allocations: 0 / 1.289 GB, free: 6.328 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009579/0.299, allocations: 0.6358 MB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2991, allocations: 12.03 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.1e-05/0.2991, allocations: 192 / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.2991, allocations: 42.73 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.2992, allocations: 48.66 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.2996, allocations: 286.9 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.2996, allocations: 15.94 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2997, allocations: 4 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.2998, allocations: 81.53 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2998, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2999, allocations: 7.984 kB / 1.291 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-06/0.2999, allocations: 0 / 1.291 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3, allocations: 39.92 kB / 1.291 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.3006, allocations: 435.6 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3008, allocations: 58.62 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.3009, allocations: 28.84 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3009, allocations: 0 / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3011, allocations: 79.38 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3011, allocations: 0 / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000346/0.3014, allocations: 149.2 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.3015, allocations: 59.39 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.3021, allocations: 0.5418 MB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3021, allocations: 25.7 kB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3023, allocations: 220 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3023, allocations: 15.91 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.3024, allocations: 49.66 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3026, allocations: 358.8 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3027, allocations: 51.89 kB / 1.293 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3028, allocations: 77.05 kB / 1.293 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.303, allocations: 92.09 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.303, allocations: 4 kB / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003277/0.3033, allocations: 201.3 kB / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3033, allocations: 4 kB / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3034, allocations: 0 / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3034, allocations: 7.938 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3035, allocations: 19.98 kB / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3035, allocations: 4 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3036, allocations: 15.89 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.3036, allocations: 11.97 kB / 1.293 GB, free: 2.484 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001889/0.3038, allocations: 189.8 kB / 1.293 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.3039, allocations: 43.72 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.3041, allocations: 133.8 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3041, allocations: 4 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3041, allocations: 112 / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3042, allocations: 7.922 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.3044, allocations: 272.6 kB / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3044, allocations: 0 / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.3044, allocations: 4 kB / 1.294 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3044, allocations: 4 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3045, allocations: 7.922 kB / 1.294 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3045, allocations: 7.938 kB / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3045, allocations: 0 / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3047, allocations: 152.8 kB / 1.294 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.3048, allocations: 35.72 kB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.3048, allocations: 3.938 kB / 1.294 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.3049, allocations: 19.92 kB / 1.294 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.305, allocations: 7.984 kB / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.305, allocations: 4 kB / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000409/0.3054, allocations: 370.8 kB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3054, allocations: 0 / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002752/0.3056, allocations: 47.94 kB / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002074/0.3077, allocations: 1.005 MB / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.308, allocations: 91.84 kB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.308, allocations: 4 kB / 1.295 GB, free: 148 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.86e-05/0.3081, allocations: 27.97 kB / 1.295 GB, free: 120 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.3085, allocations: 55.95 kB / 1.295 GB, free: 72 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.3123, allocations: 3.091 MB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.3128, allocations: 0.8217 MB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.3129, allocations: 29.59 kB / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3131, allocations: 115.4 kB / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.3131, allocations: 4 kB / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.3534, allocations: 7.543 MB / 1.307 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.87, allocations: 16.17 kB / 1.307 GB, free: 4.461 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.654022002010606] Failed to read output from testmodel.py, exit status != 0: 12.592621629999485 12.105724684 11.804434023 Calling exit ...