Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001836/0.001836, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002068/0.002068, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.232/3.232, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 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.AssertWaterFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",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.002027/0.002027, allocations: 65.2 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3508, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004124/0.355, allocations: 2.414 MB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.3578, allocations: 1.614 MB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.358, allocations: 7.938 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.359, allocations: 325 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.3597, allocations: 270.9 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.3602, allocations: 211.5 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.3607, allocations: 406.7 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3609, allocations: 48.84 kB / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.3611, allocations: 175.2 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.3613, allocations: 183.1 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.3614, allocations: 24 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.3616, allocations: 79.95 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3618, allocations: 135.4 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.3619, allocations: 146.9 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.3625, allocations: 0.521 MB / 1.352 GB, free: 9.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3625, allocations: 0 / 1.352 GB, free: 9.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3625, allocations: 0 / 1.352 GB, free: 9.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3626, allocations: 0 / 1.352 GB, free: 9.375 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001292/0.3638, allocations: 0.8008 MB / 1.352 GB, free: 8.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3639, allocations: 8.031 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.327e-05/0.3639, allocations: 4.375 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.364, allocations: 38.75 kB / 1.352 GB, free: 8.477 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3641, allocations: 64.52 kB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3647, allocations: 386.9 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3647, allocations: 8 kB / 1.353 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3647, allocations: 12 kB / 1.353 GB, free: 7.992 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.3651, allocations: 204.1 kB / 1.353 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3651, allocations: 4 kB / 1.353 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3651, allocations: 3.938 kB / 1.353 GB, free: 7.762 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.3651, allocations: 4 kB / 1.353 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.3653, allocations: 71.95 kB / 1.353 GB, free: 7.688 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.3662, allocations: 0.519 MB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.3665, allocations: 122.8 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3666, allocations: 48.78 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.3666, allocations: 8 kB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.3669, allocations: 143.3 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.3669, allocations: 0 / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005439/0.3674, allocations: 245.2 kB / 1.354 GB, free: 6.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.3675, allocations: 85.05 kB / 1.354 GB, free: 6.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/0.3683, allocations: 0.7111 MB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.3683, allocations: 33.7 kB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.3686, allocations: 268.4 kB / 1.355 GB, free: 5.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.3686, allocations: 39.73 kB / 1.355 GB, free: 5.371 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.3687, allocations: 61.64 kB / 1.355 GB, free: 5.305 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3689, allocations: 374.8 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3691, allocations: 75.97 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.3693, allocations: 198.2 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3696, allocations: 148.5 kB / 1.356 GB, free: 4.473 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.3696, allocations: 7.938 kB / 1.356 GB, free: 4.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004842/0.3701, allocations: 274.6 kB / 1.356 GB, free: 4.191 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3701, allocations: 8 kB / 1.356 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3701, allocations: 4 kB / 1.356 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3701, allocations: 3.984 kB / 1.356 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3703, allocations: 31.98 kB / 1.356 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3703, allocations: 7.938 kB / 1.356 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3705, allocations: 19.94 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.3705, allocations: 12 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002395/0.3707, allocations: 219.5 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.3708, allocations: 55.62 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.3713, allocations: 222.8 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3713, allocations: 0 / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3713, allocations: 0 / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3713, allocations: 3.984 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.3716, allocations: 336.4 kB / 1.357 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3716, allocations: 0 / 1.357 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.3717, allocations: 8 kB / 1.357 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3717, allocations: 0 / 1.357 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3717, allocations: 11.98 kB / 1.357 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3717, allocations: 0 / 1.357 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3717, allocations: 3.938 kB / 1.357 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3721, allocations: 251.1 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.3722, allocations: 55.62 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.3723, allocations: 8.031 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3724, allocations: 15.97 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.3725, allocations: 19.97 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3725, allocations: 4 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005819/0.373, allocations: 483 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.373, allocations: 0 / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003298/0.3734, allocations: 71.92 kB / 1.358 GB, free: 2.297 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002313/0.3757, allocations: 1.136 MB / 1.359 GB, free: 1.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.3761, allocations: 155.9 kB / 1.359 GB, free: 1.168 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3761, allocations: 0 / 1.359 GB, free: 1.168 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3762, allocations: 60.05 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3768, allocations: 106 kB / 1.36 GB, free: 1.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.382, allocations: 3.995 MB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3822, allocations: 262.7 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.3824, allocations: 42.95 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.3826, allocations: 179.4 kB / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.3826, allocations: 3.938 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.4169, allocations: 10.68 MB / 1.374 GB, free: 1.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.55, allocations: 3.859 kB / 1.374 GB, free: 1.883 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.345087110064924] Failed to read output from testmodel.py, exit status != 0: 12.770339960930869 12.787272292 12.421240839 Calling exit ...