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.001339/0.001339, allocations: 98.33 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.001506/0.001506, allocations: 215.6 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.407/3.407, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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.00199/0.00199, allocations: 68.34 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.356, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004668/0.3607, allocations: 2.529 MB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.3638, allocations: 1.739 MB / 1.35 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.3641, allocations: 7.938 kB / 1.35 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.3651, allocations: 330.7 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006983/0.3658, allocations: 266.8 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.3664, allocations: 203.5 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.367, allocations: 414.6 kB / 1.351 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3671, allocations: 56.83 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.3675, allocations: 171.3 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.3678, allocations: 187.1 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.3678, allocations: 20 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.368, allocations: 79.89 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3682, allocations: 135.5 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.3684, allocations: 198.5 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.3691, allocations: 0.5093 MB / 1.352 GB, free: 9.668 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3691, allocations: 0 / 1.352 GB, free: 9.668 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3691, allocations: 0 / 1.352 GB, free: 9.668 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.3691, allocations: 0 / 1.352 GB, free: 9.668 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.001486/0.3706, allocations: 0.8008 MB / 1.353 GB, free: 8.828 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3707, allocations: 8.031 kB / 1.353 GB, free: 8.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.3707, allocations: 4.375 kB / 1.353 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.3707, allocations: 38.75 kB / 1.353 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.3709, allocations: 64.52 kB / 1.353 GB, free: 8.707 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.3716, allocations: 394.9 kB / 1.353 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3716, allocations: 8 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.3716, allocations: 19.97 kB / 1.353 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3719, allocations: 135.3 kB / 1.353 GB, free: 8.125 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3719, allocations: 0 / 1.353 GB, free: 8.125 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.372, allocations: 7.938 kB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.372, allocations: 0 / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.3722, allocations: 71.91 kB / 1.353 GB, free: 8.047 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.3731, allocations: 0.5462 MB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.3734, allocations: 118.7 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3735, allocations: 48.83 kB / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3735, allocations: 4 kB / 1.354 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.3738, allocations: 116 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.3738, allocations: 0 / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005577/0.3744, allocations: 234.9 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3744, allocations: 81.11 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.3753, allocations: 0.7072 MB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3753, allocations: 29.7 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.3756, allocations: 272.4 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.3756, allocations: 39.73 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3757, allocations: 57.69 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3759, allocations: 366.8 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3761, allocations: 75.95 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.3763, allocations: 133.6 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3765, allocations: 132.4 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3765, allocations: 0 / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005116/0.377, allocations: 279.3 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3771, allocations: 8 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3771, allocations: 0 / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3771, allocations: 0 / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3773, allocations: 43.92 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3773, allocations: 4 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.3774, allocations: 23.88 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.3775, allocations: 8 kB / 1.357 GB, free: 4.609 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.0002523/0.3777, allocations: 219.5 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.3778, allocations: 59.61 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.3782, allocations: 208.8 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3782, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3782, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3782, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.3787, allocations: 356.4 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3787, allocations: 0 / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.3788, allocations: 8 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3788, allocations: 4 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3788, allocations: 7.984 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3788, allocations: 4 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3788, allocations: 0 / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.3792, allocations: 228.6 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.254e-05/0.3793, allocations: 63.53 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.3793, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3794, allocations: 19.98 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.3795, allocations: 19.97 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3795, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005733/0.3801, allocations: 483 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3801, allocations: 0 / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003155/0.3804, allocations: 63.89 kB / 1.358 GB, free: 2.82 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 (13): * Single equations (assignments): 9 * 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.002217/0.3826, allocations: 1.095 MB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3831, allocations: 150.6 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3831, allocations: 0 / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3832, allocations: 43.98 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.3837, allocations: 100.8 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.3891, allocations: 3.964 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.3897, allocations: 0.865 MB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.3899, allocations: 50.92 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.3901, allocations: 175.4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of SimCode: time 1.102e-06/0.3901, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.4272, allocations: 10.24 MB / 1.375 GB, free: 2.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.49, allocations: 13.98 kB / 1.375 GB, free: 2.273 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.721278035023715] Failed to read output from testmodel.py, exit status != 0: 12.71855928999139 12.743878397 12.369847975 Calling exit ...