Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001892/0.001892, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.002128/0.002128, allocations: 214.4 kB / 20.13 MB, free: 3.051 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.564/1.564, 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 3.028/3.028, allocations: 0.5003 GB / 0.8026 GB, free: 6.684 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.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_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.002897/0.002897, allocations: 67.91 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9573, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003585/0.9609, allocations: 2.224 MB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.9629, allocations: 1.546 MB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.963, allocations: 6.312 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.9637, allocations: 186.1 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.9641, allocations: 171.3 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.9643, allocations: 116 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.9647, allocations: 241.4 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.9648, allocations: 32.72 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.9649, allocations: 109.2 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.9651, allocations: 101.5 kB / 1.345 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.9651, allocations: 11 kB / 1.345 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.9652, allocations: 58.86 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.9653, allocations: 93.95 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.9654, allocations: 136.6 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.9659, allocations: 370.3 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9659, allocations: 2.031 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9659, allocations: 4 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9659, allocations: 0 / 1.345 GB, free: 12.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009552/0.9669, allocations: 0.692 MB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9669, allocations: 14.34 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.962e-05/0.9669, allocations: 5.406 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.967, allocations: 37.53 kB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.9671, allocations: 49.2 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.9675, allocations: 367.9 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.9675, allocations: 6.812 kB / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.9675, allocations: 9.125 kB / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.9677, allocations: 70.17 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.9677, allocations: 1.75 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.9677, allocations: 4.516 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9677, allocations: 1.719 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.9678, allocations: 31.8 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.9685, allocations: 469.2 kB / 1.347 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.9687, allocations: 60.06 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.9688, allocations: 25.86 kB / 1.347 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.9688, allocations: 9.188 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.969, allocations: 74.78 kB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.969, allocations: 0 / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003528/0.9694, allocations: 148.6 kB / 1.347 GB, free: 11.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.9694, allocations: 52.66 kB / 1.347 GB, free: 11.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.97, allocations: 0.5445 MB / 1.348 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.97, allocations: 27.59 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.9701, allocations: 226 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.9701, allocations: 26.67 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.9702, allocations: 40.64 kB / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.9703, allocations: 358.8 kB / 1.349 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.9704, allocations: 48.78 kB / 1.349 GB, free: 10.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.9705, allocations: 73.75 kB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.9707, allocations: 86.81 kB / 1.349 GB, free: 10.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9707, allocations: 5.125 kB / 1.349 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003004/0.971, allocations: 204.8 kB / 1.349 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.971, allocations: 5.688 kB / 1.349 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.971, allocations: 0 / 1.349 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.971, allocations: 5.125 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.9711, allocations: 26.16 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9711, allocations: 1.062 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.9712, allocations: 18.38 kB / 1.349 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.9713, allocations: 8.484 kB / 1.349 GB, free: 10.1 MB / 1.061 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.0001445/0.9714, allocations: 187.3 kB / 1.349 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.9714, allocations: 43.47 kB / 1.349 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.9715, allocations: 45.55 kB / 1.349 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9715, allocations: 1.656 kB / 1.349 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9715, allocations: 3.938 kB / 1.349 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9715, allocations: 0.6094 kB / 1.349 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.9718, allocations: 301.3 kB / 1.35 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9718, allocations: 1.094 kB / 1.35 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.9718, allocations: 7.984 kB / 1.35 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9718, allocations: 0 / 1.35 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.9718, allocations: 6.578 kB / 1.35 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9718, allocations: 5.281 kB / 1.35 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9718, allocations: 0.6562 kB / 1.35 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.972, allocations: 153.1 kB / 1.35 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.9721, allocations: 122.6 kB / 1.35 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.9721, allocations: 5.688 kB / 1.35 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.9722, allocations: 10.67 kB / 1.35 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.9723, allocations: 13.66 kB / 1.35 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.9723, allocations: 2.75 kB / 1.35 GB, free: 9.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000377/0.9727, allocations: 366.6 kB / 1.35 GB, free: 9.258 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9727, allocations: 1.594 kB / 1.35 GB, free: 9.258 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002707/0.9729, allocations: 40.28 kB / 1.35 GB, free: 9.254 MB / 1.061 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * 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.001784/0.9747, allocations: 1.012 MB / 1.351 GB, free: 8.496 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.975, allocations: 93.27 kB / 1.351 GB, free: 8.465 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.975, allocations: 1.031 kB / 1.351 GB, free: 8.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.975, allocations: 21.12 kB / 1.351 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.9754, allocations: 67.14 kB / 1.351 GB, free: 8.434 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.9788, allocations: 3.112 MB / 1.355 GB, free: 6.617 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.9791, allocations: 0.813 MB / 1.355 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.9792, allocations: 23.38 kB / 1.355 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.9793, allocations: 118.9 kB / 1.355 GB, free: 5.816 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.9793, allocations: 0 / 1.355 GB, free: 5.816 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/1.005, allocations: 7.437 MB / 1.363 GB, free: 4.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.089/10.09, allocations: 6.312 kB / 1.363 GB, free: 4.496 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.774983102979604] Failed to read output from testmodel.py, exit status != 0: 10.288146473991219 10.310052382 9.339459704 Calling exit ...