Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001405/0.001405, allocations: 116.1 kB / 17.17 MB, free: 6 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.001532/0.001532, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.854/2.854, allocations: 476.7 MB / 0.7678 GB, free: 9.523 MB / 0.6075 GB " [Timeout remaining time 176] 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.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_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.002049/0.002049, allocations: 71.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9593/0.9614, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.0044/0.9658, allocations: 2.525 MB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.969, allocations: 1.72 MB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.9691, allocations: 7.344 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009548/0.9701, allocations: 326.6 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.9707, allocations: 270.1 kB / 1.284 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.9713, allocations: 201.8 kB / 1.284 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.9718, allocations: 411.7 kB / 1.284 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.972, allocations: 49.11 kB / 1.284 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.9722, allocations: 176.1 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.9724, allocations: 177.8 kB / 1.285 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.9725, allocations: 19.78 kB / 1.285 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.9727, allocations: 89.41 kB / 1.285 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.9728, allocations: 131.4 kB / 1.285 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.973, allocations: 198.4 kB / 1.285 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.9738, allocations: 0.5063 MB / 1.286 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.9738, allocations: 0 / 1.286 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9738, allocations: 1.5 kB / 1.286 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.9738, allocations: 0 / 1.286 GB, free: 7.641 MB / 0.9981 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.001479/0.9752, allocations: 0.8668 MB / 1.286 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9753, allocations: 10.84 kB / 1.286 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.657e-05/0.9753, allocations: 6.312 kB / 1.286 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.9754, allocations: 40.88 kB / 1.286 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.9755, allocations: 65.3 kB / 1.287 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.9761, allocations: 453.4 kB / 1.287 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.9761, allocations: 14.22 kB / 1.287 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.9761, allocations: 10.59 kB / 1.287 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.9765, allocations: 133.4 kB / 1.287 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9765, allocations: 1.125 kB / 1.287 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.9765, allocations: 8.844 kB / 1.287 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9765, allocations: 2.156 kB / 1.287 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.9767, allocations: 75.44 kB / 1.287 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009349/0.9776, allocations: 0.582 MB / 1.288 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.978, allocations: 118.2 kB / 1.288 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.9781, allocations: 47.61 kB / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.9781, allocations: 5.312 kB / 1.288 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.9784, allocations: 122.6 kB / 1.288 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.9784, allocations: 0 / 1.288 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.00058/0.9789, allocations: 228.5 kB / 1.288 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.979, allocations: 79.89 kB / 1.288 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.98, allocations: 0.7078 MB / 1.289 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.98, allocations: 32.7 kB / 1.289 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.9803, allocations: 268.1 kB / 1.289 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.9803, allocations: 36.28 kB / 1.289 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.9804, allocations: 58.67 kB / 1.289 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.9807, allocations: 370.8 kB / 1.29 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.9808, allocations: 75.69 kB / 1.29 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.9811, allocations: 124.2 kB / 1.29 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.9813, allocations: 135.2 kB / 1.29 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.9813, allocations: 4 kB / 1.29 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005322/0.9819, allocations: 282.2 kB / 1.29 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9819, allocations: 5.188 kB / 1.29 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9819, allocations: 5.312 kB / 1.29 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9819, allocations: 1.75 kB / 1.29 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.9821, allocations: 31.33 kB / 1.29 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.9821, allocations: 2.953 kB / 1.29 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.9823, allocations: 25.22 kB / 1.29 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.9823, allocations: 10.5 kB / 1.29 GB, free: 4.324 MB / 0.9981 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.0002668/0.9826, allocations: 225.7 kB / 1.291 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.9827, allocations: 58.7 kB / 1.291 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.9828, allocations: 58.67 kB / 1.291 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9828, allocations: 2.375 kB / 1.291 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.9828, allocations: 0.7031 kB / 1.291 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.9828, allocations: 0.75 kB / 1.291 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.9832, allocations: 374.1 kB / 1.291 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9832, allocations: 4.641 kB / 1.291 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.9833, allocations: 11.78 kB / 1.291 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9833, allocations: 1.219 kB / 1.291 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.9833, allocations: 7.969 kB / 1.291 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9833, allocations: 0 / 1.291 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9833, allocations: 3.938 kB / 1.291 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.9837, allocations: 234.3 kB / 1.291 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.9838, allocations: 130.5 kB / 1.291 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.9839, allocations: 6.922 kB / 1.291 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.984, allocations: 14.11 kB / 1.292 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.9841, allocations: 17.27 kB / 1.292 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.9841, allocations: 7.219 kB / 1.292 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006238/0.9847, allocations: 479.4 kB / 1.292 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9847, allocations: 1.594 kB / 1.292 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003646/0.9851, allocations: 69.7 kB / 1.292 GB, free: 3.336 MB / 0.9981 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * 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.002399/0.9875, allocations: 1.097 MB / 1.293 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.9879, allocations: 152 kB / 1.293 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.9879, allocations: 1.312 kB / 1.293 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.988, allocations: 49.92 kB / 1.293 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.9886, allocations: 100.5 kB / 1.293 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.9944, allocations: 3.972 MB / 1.297 GB, free: 316 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.995, allocations: 0.865 MB / 1.298 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000189/0.9952, allocations: 44.17 kB / 1.298 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.9954, allocations: 172.7 kB / 1.298 GB, free: 15.45 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/0.9954, allocations: 4 kB / 1.298 GB, free: 15.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/1.029, allocations: 10.06 MB / 1.308 GB, free: 13.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.315/10.34, allocations: 15.2 kB / 1.308 GB, free: 13.88 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.858797991997562] Failed to read output from testmodel.py, exit status != 0: 10.531297679001 10.555361496 9.577177133 Calling exit ...