Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009612/0.009612, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.528/1.528, allocations: 252 MB / 0.5105 GB, free: 4.672 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008232/0.000823, allocations: 20.61 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.59, allocations: 106.3 MB / 0.7287 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002998/0.593, allocations: 2.173 MB / 0.7308 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.595, allocations: 1.304 MB / 0.7321 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.5952, allocations: 4 kB / 0.7321 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008565/0.5961, allocations: 307 kB / 0.7324 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.5965, allocations: 190 kB / 0.7326 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.597, allocations: 206.6 kB / 0.7328 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.5974, allocations: 370.8 kB / 0.7331 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.5976, allocations: 66.8 kB / 0.7332 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.5977, allocations: 131.3 kB / 0.7333 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.5979, allocations: 155.2 kB / 0.7335 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.598, allocations: 4 kB / 0.7335 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.5981, allocations: 51.97 kB / 0.7335 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5982, allocations: 115.5 kB / 0.7336 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.5984, allocations: 200.3 kB / 0.7338 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.5988, allocations: 450.1 kB / 0.7343 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5989, allocations: 4 kB / 0.7343 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5989, allocations: 0 / 0.7343 GB, free: 5.824 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5989, allocations: 0 / 0.7343 GB, free: 5.824 MB / 0.545 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.001118/0.6, allocations: 0.7522 MB / 0.735 GB, free: 5.016 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6, allocations: 8.031 kB / 0.735 GB, free: 5.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.337e-05/0.6001, allocations: 60.19 kB / 0.7351 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.6006, allocations: 436.5 kB / 0.7355 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.6007, allocations: 12.12 kB / 0.7355 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.6007, allocations: 8 kB / 0.7355 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.601, allocations: 146 kB / 0.7356 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.601, allocations: 4 kB / 0.7356 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.601, allocations: 4 kB / 0.7357 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6011, allocations: 7.922 kB / 0.7357 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.6012, allocations: 67.91 kB / 0.7357 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.602, allocations: 0.5629 MB / 0.7363 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.6023, allocations: 126.7 kB / 0.7364 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.6025, allocations: 48.84 kB / 0.7364 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.6025, allocations: 4 kB / 0.7364 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.6027, allocations: 111.3 kB / 0.7365 GB, free: 3.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.6027, allocations: 3.938 kB / 0.7366 GB, free: 3.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005025/0.6032, allocations: 239.9 kB / 0.7368 GB, free: 3.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.6033, allocations: 85.09 kB / 0.7369 GB, free: 2.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.604, allocations: 0.6758 MB / 0.7375 GB, free: 2.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.604, allocations: 33.7 kB / 0.7376 GB, free: 2.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.6042, allocations: 260.4 kB / 0.7378 GB, free: 1.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.6043, allocations: 31.56 kB / 0.7378 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.6043, allocations: 33.7 kB / 0.7379 GB, free: 1.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6045, allocations: 370.8 kB / 0.7382 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.6046, allocations: 71.97 kB / 0.7383 GB, free: 1.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.6048, allocations: 125 kB / 0.7384 GB, free: 1.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.605, allocations: 128.8 kB / 0.7385 GB, free: 1.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.605, allocations: 0 / 0.7385 GB, free: 1.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004215/0.6055, allocations: 272.7 kB / 0.7388 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6055, allocations: 14.02 kB / 0.7388 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6055, allocations: 0 / 0.7388 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.6055, allocations: 3.938 kB / 0.7388 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.6057, allocations: 35.92 kB / 0.7388 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6057, allocations: 0 / 0.7388 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.6059, allocations: 31.83 kB / 0.7389 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.6059, allocations: 12.06 kB / 0.7389 GB, free: 0.8281 MB / 0.545 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.0002108/0.6061, allocations: 215.5 kB / 0.7391 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.6062, allocations: 59.27 kB / 0.7391 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.552e-05/0.6063, allocations: 60.98 kB / 0.7392 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6063, allocations: 4 kB / 0.7392 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6063, allocations: 0 / 0.7392 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6063, allocations: 3.984 kB / 0.7392 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.6066, allocations: 361.4 kB / 0.7396 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6066, allocations: 0 / 0.7396 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.6067, allocations: 19.92 kB / 0.7396 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6067, allocations: 0 / 0.7396 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6067, allocations: 0 / 0.7396 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.6067, allocations: 4 kB / 0.7396 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6067, allocations: 0 / 0.7396 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.6071, allocations: 220.3 kB / 0.7398 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.6072, allocations: 136.3 kB / 0.7399 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.6072, allocations: 8 kB / 0.7399 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.6074, allocations: 15.98 kB / 0.7399 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.6074, allocations: 15.97 kB / 0.74 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.6075, allocations: 8 kB / 0.74 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004845/0.6079, allocations: 463 kB / 0.7404 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.608, allocations: 0 / 0.7404 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002885/0.6082, allocations: 63.91 kB / 0.7405 GB, free: 15.11 MB / 0.5606 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.001002/0.6093, allocations: 429 kB / 0.7409 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.6096, allocations: 151.8 kB / 0.741 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6096, allocations: 0 / 0.741 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.6097, allocations: 52.48 kB / 0.7411 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.6103, allocations: 96.84 kB / 0.7412 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.6115, allocations: 0.9683 MB / 0.7421 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.6119, allocations: 0.8614 MB / 0.743 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.612, allocations: 46.25 kB / 0.743 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.6121, allocations: 31.42 kB / 0.743 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.6121, allocations: 0 / 0.743 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.008298/0.6204, allocations: 3.903 MB / 0.7468 GB, free: 8.727 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) Environment - environmentSimulation: