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.006518/0.006518, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001375/0.001375, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.655/1.655, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001579/0.001579, allocations: 67.91 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005057/0.2464, allocations: 2.471 MB / 0.8305 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.249, allocations: 1.351 MB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.2492, allocations: 4 kB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.2502, allocations: 326 kB / 0.8321 GB, free: 12.04 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.2506, allocations: 207.1 kB / 0.8323 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.2512, allocations: 210 kB / 0.8325 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.2517, allocations: 386.7 kB / 0.8329 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.2519, allocations: 76.69 kB / 0.8329 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.2521, allocations: 155.3 kB / 0.8331 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.2523, allocations: 155.3 kB / 0.8332 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.2524, allocations: 20 kB / 0.8333 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.2526, allocations: 67.92 kB / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2528, allocations: 127.6 kB / 0.8334 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.253, allocations: 186.5 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.2537, allocations: 482.2 kB / 0.8341 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2537, allocations: 0 / 0.8341 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2538, allocations: 0 / 0.8341 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2538, allocations: 0 / 0.8341 GB, free: 10.01 MB / 0.6544 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.001335/0.2551, allocations: 0.8257 MB / 0.8349 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2552, allocations: 16.03 kB / 0.8349 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2553, allocations: 56.19 kB / 0.835 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.256, allocations: 420.8 kB / 0.8354 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.256, allocations: 16.12 kB / 0.8354 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.2561, allocations: 7.938 kB / 0.8354 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.2564, allocations: 143.3 kB / 0.8355 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2564, allocations: 0 / 0.8355 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2564, allocations: 8 kB / 0.8355 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2564, allocations: 4 kB / 0.8355 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2566, allocations: 71.89 kB / 0.8356 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.2575, allocations: 0.5627 MB / 0.8361 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.2578, allocations: 134.6 kB / 0.8363 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2579, allocations: 44.84 kB / 0.8363 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.258, allocations: 0 / 0.8363 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.2582, allocations: 111.3 kB / 0.8364 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2582, allocations: 3.938 kB / 0.8364 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005351/0.2588, allocations: 245.7 kB / 0.8367 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.2588, allocations: 77.11 kB / 0.8367 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008651/0.2597, allocations: 0.6721 MB / 0.8374 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.2597, allocations: 33.7 kB / 0.8374 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.26, allocations: 268.2 kB / 0.8377 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2601, allocations: 35.55 kB / 0.8377 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2602, allocations: 57.69 kB / 0.8378 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2604, allocations: 374.8 kB / 0.8381 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2605, allocations: 71.97 kB / 0.8382 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.2607, allocations: 118.9 kB / 0.8383 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.261, allocations: 136.5 kB / 0.8384 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.261, allocations: 0 / 0.8384 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004573/0.2615, allocations: 271.5 kB / 0.8387 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2615, allocations: 8 kB / 0.8387 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2615, allocations: 0 / 0.8387 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.2615, allocations: 0 / 0.8387 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.2617, allocations: 35.92 kB / 0.8387 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2617, allocations: 4 kB / 0.8387 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.2619, allocations: 23.95 kB / 0.8388 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2619, allocations: 11.98 kB / 0.8388 GB, free: 4.926 MB / 0.6544 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.0002281/0.2622, allocations: 215.5 kB / 0.839 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.2623, allocations: 67.27 kB / 0.839 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.2624, allocations: 53.03 kB / 0.8391 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2624, allocations: 4 kB / 0.8391 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2624, allocations: 0 / 0.8391 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2624, allocations: 0 / 0.8391 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.2628, allocations: 373.3 kB / 0.8395 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2628, allocations: 3.938 kB / 0.8395 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.2629, allocations: 15.94 kB / 0.8395 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2629, allocations: 0 / 0.8395 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2629, allocations: 4 kB / 0.8395 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2629, allocations: 7.922 kB / 0.8395 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2629, allocations: 0 / 0.8395 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.2633, allocations: 216.8 kB / 0.8397 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2634, allocations: 136.4 kB / 0.8398 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.2635, allocations: 8 kB / 0.8398 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2636, allocations: 7.984 kB / 0.8398 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.2637, allocations: 15.98 kB / 0.8399 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.2637, allocations: 7.984 kB / 0.8399 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006236/0.2643, allocations: 467 kB / 0.8403 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2643, allocations: 0 / 0.8403 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003122/0.2646, allocations: 63.84 kB / 0.8404 GB, free: 3.203 MB / 0.6544 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.001028/0.2657, allocations: 416.2 kB / 0.8408 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.2661, allocations: 151.9 kB / 0.8409 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2661, allocations: 0 / 0.8409 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.2662, allocations: 55.92 kB / 0.841 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.2667, allocations: 99.3 kB / 0.8411 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.268, allocations: 0.8212 MB / 0.8419 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.2687, allocations: 0.8726 MB / 0.8427 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.2688, allocations: 54.23 kB / 0.8428 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.2689, allocations: 27.44 kB / 0.8428 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2689, allocations: 0 / 0.8428 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of Templates: time 0.009746/0.2787, allocations: 4.201 MB / 0.8469 GB, free: 12.66 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (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)