Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1Pum.y.1.|y1Pum.y.2.|ope.y|senRelPre.p_rel|senRelPre1.p_rel|floSet.y|senMasFlo.m_flow|senMasFlo1.m_flow|pum.P",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1Pum.y.1.|y1Pum.y.2.|ope.y|senRelPre.p_rel|senRelPre1.p_rel|floSet.y|senMasFlo.m_flow|senMasFlo1.m_flow|pum.P",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 117.2 kB / 16.42 MB, free: 6.492 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.002205/0.002205, allocations: 183.9 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.682/2.682, allocations: 472.7 MB / 0.746 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.89 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow): time 0.2221/1.233, allocations: 224.5 MB / 1.446 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.05481/1.288, allocations: 37.62 MB / 1.482 GB, free: 6.48 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008344/1.297, allocations: 151.2 kB / 1.483 GB, free: 6.332 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.009844/1.306, allocations: 3.005 MB / 1.485 GB, free: 3.316 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/1.324, allocations: 5.73 MB / 1.491 GB, free: 13.57 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01168/1.335, allocations: 4.309 MB / 1.495 GB, free: 9.277 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.03545/1.371, allocations: 21.29 MB / 1.516 GB, free: 3.945 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009097/1.38, allocations: 3.989 MB / 1.52 GB, free: 15.89 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/1.393, allocations: 4.727 MB / 1.525 GB, free: 11.16 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007914/1.401, allocations: 3.55 MB / 1.528 GB, free: 7.59 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002461/1.403, allocations: 0.5 MB / 1.529 GB, free: 7.09 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/1.414, allocations: 2.91 MB / 1.531 GB, free: 4.176 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003903/1.418, allocations: 2.041 MB / 1.533 GB, free: 2.129 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00783/1.425, allocations: 3.063 MB / 1.536 GB, free: 15.05 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/1.445, allocations: 9.435 MB / 1.546 GB, free: 5.582 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.445, allocations: 0 / 1.546 GB, free: 5.582 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.854e-06/1.445, allocations: 0 / 1.546 GB, free: 5.582 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0003325/1.446, allocations: 0 / 1.546 GB, free: 5.582 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 571 * Number of variables: 571 Notification: Performance of Generate backend data structure: time 0.01815/1.464, allocations: 6.502 MB / 1.552 GB, free: 14.96 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.464, allocations: 8.031 kB / 1.552 GB, free: 14.95 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/1.47, allocations: 1.081 MB / 1.553 GB, free: 13.87 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/1.488, allocations: 7.854 MB / 1.561 GB, free: 5.949 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/1.488, allocations: 256.9 kB / 1.561 GB, free: 5.684 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/1.49, allocations: 279.9 kB / 1.561 GB, free: 5.41 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007862/1.498, allocations: 3.072 MB / 1.564 GB, free: 2.195 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.884e-05/1.498, allocations: 11.94 kB / 1.564 GB, free: 2.184 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005664/1.498, allocations: 95.98 kB / 1.564 GB, free: 2.09 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.912e-05/1.498, allocations: 88.2 kB / 1.564 GB, free: 2 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8507/2.349, allocations: 2.475 MB / 1.567 GB, free: 328.5 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02669/2.376, allocations: 14.34 MB / 1.581 GB, free: 320.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/2.38, allocations: 1.996 MB / 1.583 GB, free: 319.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/2.382, allocations: 1.031 MB / 1.584 GB, free: 318.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008764/2.391, allocations: 4.704 MB / 1.588 GB, free: 316.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/2.393, allocations: 1.338 MB / 1.59 GB, free: 315.8 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00178/2.395, allocations: 245.6 kB / 1.59 GB, free: 315.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=144): time 6.803e-06/2.395, allocations: 0 / 1.59 GB, free: 315.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=144): time 0.009161/2.404, allocations: 3.6 MB / 1.593 GB, free: 314.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/2.404, allocations: 72.11 kB / 1.593 GB, free: 314.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008646/2.413, allocations: 4.962 MB / 1.598 GB, free: 312.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008448/2.414, allocations: 77.52 kB / 1.598 GB, free: 312.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/2.416, allocations: 2.216 MB / 1.601 GB, free: 310.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006715/2.416, allocations: 0.5157 MB / 1.601 GB, free: 310.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/2.418, allocations: 0.9031 MB / 1.602 GB, free: 309.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/2.418, allocations: 305.1 kB / 1.602 GB, free: 309.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/2.42, allocations: 1.991 MB / 1.604 GB, free: 308.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/2.424, allocations: 3.191 MB / 1.607 GB, free: 306.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005212/2.429, allocations: 4.509 MB / 1.612 GB, free: 303.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/2.429, allocations: 4 kB / 1.612 GB, free: 303.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.008284/2.438, allocations: 5.605 MB / 1.617 GB, free: 297.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/2.438, allocations: 19.98 kB / 1.617 GB, free: 297.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/2.438, allocations: 22.3 kB / 1.617 GB, free: 297.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/2.438, allocations: 171.8 kB / 1.617 GB, free: 297.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/2.441, allocations: 0.721 MB / 1.618 GB, free: 296.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/2.443, allocations: 3.622 MB / 1.622 GB, free: 293 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/2.448, allocations: 234.4 kB / 1.622 GB, free: 292.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/2.448, allocations: 195.9 kB / 1.622 GB, free: 292.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004421/2.452, allocations: 2.795 MB / 1.625 GB, free: 289.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003089/2.456, allocations: 2.92 MB / 1.628 GB, free: 286.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004629/2.46, allocations: 3.956 MB / 1.631 GB, free: 282.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-05/2.46, allocations: 4 kB / 1.631 GB, free: 282.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=471) (initialization_lambda0): time 0.006962/2.467, allocations: 4.899 MB / 1.636 GB, free: 277.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/2.467, allocations: 19.98 kB / 1.636 GB, free: 277.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/2.467, allocations: 20 kB / 1.636 GB, free: 277.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/2.467, allocations: 36 kB / 1.636 GB, free: 277.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/2.47, allocations: 0.7395 MB / 1.637 GB, free: 276.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-05/2.47, allocations: 47.86 kB / 1.637 GB, free: 276.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/2.475, allocations: 287.9 kB / 1.637 GB, free: 276.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/2.475, allocations: 171.9 kB / 1.638 GB, free: 276 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,y1Pum.intTimTab.idx,$PRE.y1Pum.intTimTab.idx,y1Pum.intTimTab.y[2],$PRE.y1Pum.intTimTab.y[2],y1Pum.intTimTab.y[1],$PRE.y1Pum.intTimTab.y[1],pum.preY1[2].y,pum.preY1[2].u,$PRE.pum.preY1[2].u,pum.preY1[1].u,$PRE.pum.preY1[1].u,pum.isOpe.greHys.y,$PRE.pum.isOpe.greHys.y,pum.com.y1One,pum.com.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 345 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008321/2.476, allocations: 365.1 kB / 1.638 GB, free: 275.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/2.477, allocations: 492.7 kB / 1.638 GB, free: 275.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/2.483, allocations: 2.937 MB / 1.641 GB, free: 272.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003406/2.486, allocations: 2.384 MB / 1.644 GB, free: 269.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/2.486, allocations: 0 / 1.644 GB, free: 269.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/2.489, allocations: 0.7395 MB / 1.644 GB, free: 269.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/2.49, allocations: 40 kB / 1.644 GB, free: 269 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/2.492, allocations: 111.7 kB / 1.644 GB, free: 268.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/2.492, allocations: 121.8 kB / 1.645 GB, free: 268.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005634/2.498, allocations: 2.577 MB / 1.647 GB, free: 266.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006537/2.505, allocations: 3.995 MB / 1.651 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001583/2.506, allocations: 1.027 MB / 1.652 GB, free: 261.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004977/2.511, allocations: 3.283 MB / 1.655 GB, free: 257.9 MB / 1.279 GB Notification: Performance of Backend: time 1.693e-06/2.511, allocations: 0 / 1.655 GB, free: 257.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01239/2.524, allocations: 6.287 MB / 1.661 GB, free: 251.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.01737/2.541, allocations: 10.78 MB / 1.672 GB, free: 241 MB / 1.279 GB Notification: Performance of Templates: time 0.1411/2.682, allocations: 107.2 MB / 1.776 GB, free: 135.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsFlow.pipe 2>&1)