Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp.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.MultiplePumpsDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1Pum.y.1.|y1Pum.y.2.|ope.y|dpSet.y|senRelPre.p_rel|senRelPre1.p_rel|senMasFlo.m_flow|senMasFlo1.m_flow|pum.P",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1Pum.y.1.|y1Pum.y.2.|ope.y|dpSet.y|senRelPre.p_rel|senRelPre1.p_rel|senMasFlo.m_flow|senMasFlo1.m_flow|pum.P",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 112.9 kB / 16.42 MB, free: 6.453 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.001496/0.001496, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.676/2.676, allocations: 472.7 MB / 0.746 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8488, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp): time 0.2269/1.076, allocations: 224.6 MB / 1.446 GB, free: 12.14 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0614/1.137, allocations: 37.6 MB / 1.482 GB, free: 6.434 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009937/1.147, allocations: 155.1 kB / 1.483 GB, free: 6.281 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/1.159, allocations: 3.031 MB / 1.486 GB, free: 3.242 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02331/1.182, allocations: 5.716 MB / 1.491 GB, free: 13.5 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01302/1.195, allocations: 4.296 MB / 1.495 GB, free: 9.227 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.03866/1.234, allocations: 21.3 MB / 1.516 GB, free: 3.898 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/1.246, allocations: 3.977 MB / 1.52 GB, free: 15.86 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/1.261, allocations: 4.717 MB / 1.525 GB, free: 11.13 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008192/1.269, allocations: 3.55 MB / 1.528 GB, free: 7.562 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002649/1.271, allocations: 0.4999 MB / 1.529 GB, free: 7.062 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009506/1.281, allocations: 2.906 MB / 1.531 GB, free: 4.152 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003951/1.285, allocations: 2.053 MB / 1.533 GB, free: 2.094 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.008227/1.293, allocations: 3.071 MB / 1.536 GB, free: 15 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02147/1.315, allocations: 9.431 MB / 1.546 GB, free: 5.543 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/1.315, allocations: 0 / 1.546 GB, free: 5.543 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.926e-06/1.315, allocations: 3.938 kB / 1.546 GB, free: 5.539 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0003725/1.315, allocations: 0 / 1.546 GB, free: 5.539 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.02174/1.337, allocations: 6.506 MB / 1.552 GB, free: 14.92 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/1.337, allocations: 8.031 kB / 1.552 GB, free: 14.91 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/1.344, allocations: 1.081 MB / 1.553 GB, free: 13.82 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02129/1.365, allocations: 7.832 MB / 1.561 GB, free: 5.926 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005154/1.366, allocations: 264.9 kB / 1.561 GB, free: 5.652 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/1.367, allocations: 268 kB / 1.561 GB, free: 5.391 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009724/1.377, allocations: 3.076 MB / 1.564 GB, free: 2.172 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/1.377, allocations: 15.83 kB / 1.564 GB, free: 2.156 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/1.377, allocations: 99.98 kB / 1.564 GB, free: 2.059 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/1.377, allocations: 84.28 kB / 1.564 GB, free: 1.973 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8309/2.208, allocations: 2.464 MB / 1.567 GB, free: 328.6 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.02663/2.235, allocations: 14.45 MB / 1.581 GB, free: 320 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/2.239, allocations: 2.012 MB / 1.583 GB, free: 319.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/2.241, allocations: 1.027 MB / 1.584 GB, free: 318.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009246/2.251, allocations: 4.661 MB / 1.588 GB, free: 316.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002291/2.253, allocations: 1.322 MB / 1.59 GB, free: 315.7 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/2.255, allocations: 252.8 kB / 1.59 GB, free: 315.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=142): time 7.524e-06/2.255, allocations: 0 / 1.59 GB, free: 315.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=142): time 0.01202/2.267, allocations: 4.081 MB / 1.594 GB, free: 314.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/2.267, allocations: 74.2 kB / 1.594 GB, free: 314.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007154/2.274, allocations: 4.971 MB / 1.599 GB, free: 312.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006841/2.275, allocations: 77.42 kB / 1.599 GB, free: 312.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001718/2.277, allocations: 2.216 MB / 1.601 GB, free: 310.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004971/2.277, allocations: 0.509 MB / 1.602 GB, free: 310 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/2.278, allocations: 0.9024 MB / 1.603 GB, free: 309.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/2.278, allocations: 308.2 kB / 1.603 GB, free: 309.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/2.281, allocations: 1.982 MB / 1.605 GB, free: 308.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/2.285, allocations: 3.197 MB / 1.608 GB, free: 306 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/2.29, allocations: 4.479 MB / 1.612 GB, free: 302.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/2.29, allocations: 8 kB / 1.612 GB, free: 302.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=469) (initialization): time 0.008595/2.299, allocations: 5.632 MB / 1.618 GB, free: 297.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/2.299, allocations: 24.97 kB / 1.618 GB, free: 297.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/2.299, allocations: 20 kB / 1.618 GB, free: 297.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008633/2.3, allocations: 249.1 kB / 1.618 GB, free: 296.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/2.303, allocations: 0.7035 MB / 1.619 GB, free: 296.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/2.304, allocations: 3.202 MB / 1.622 GB, free: 292.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/2.309, allocations: 241.2 kB / 1.622 GB, free: 292.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/2.309, allocations: 191.9 kB / 1.622 GB, free: 292.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004256/2.313, allocations: 2.794 MB / 1.625 GB, free: 289.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002963/2.316, allocations: 2.918 MB / 1.628 GB, free: 286.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004559/2.321, allocations: 3.94 MB / 1.632 GB, free: 282.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.026e-05/2.321, allocations: 4 kB / 1.632 GB, free: 282.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=469) (initialization_lambda0): time 0.007413/2.328, allocations: 4.963 MB / 1.637 GB, free: 277.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/2.328, allocations: 19.94 kB / 1.637 GB, free: 277.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/2.328, allocations: 22.62 kB / 1.637 GB, free: 277.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/2.328, allocations: 118.3 kB / 1.637 GB, free: 277.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/2.331, allocations: 0.7099 MB / 1.637 GB, free: 276.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/2.333, allocations: 3.51 MB / 1.641 GB, free: 272.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005164/2.339, allocations: 296.7 kB / 1.641 GB, free: 272.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/2.339, allocations: 168 kB / 1.641 GB, free: 272.1 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 (345): * Single equations (assignments): 334 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008216/2.34, allocations: 370.1 kB / 1.642 GB, free: 271.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/2.341, allocations: 496.6 kB / 1.642 GB, free: 271.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/2.346, allocations: 2.944 MB / 1.645 GB, free: 268.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003468/2.35, allocations: 2.399 MB / 1.647 GB, free: 265.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/2.35, allocations: 0 / 1.647 GB, free: 265.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/2.352, allocations: 0.7356 MB / 1.648 GB, free: 265.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008325/2.353, allocations: 43.98 kB / 1.648 GB, free: 265.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/2.355, allocations: 111.8 kB / 1.648 GB, free: 264.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/2.355, allocations: 113.8 kB / 1.648 GB, free: 264.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005445/2.361, allocations: 2.573 MB / 1.651 GB, free: 262.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005872/2.367, allocations: 3.928 MB / 1.655 GB, free: 258.3 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001506/2.368, allocations: 0.9997 MB / 1.656 GB, free: 257.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00455/2.373, allocations: 3.28 MB / 1.659 GB, free: 254.1 MB / 1.279 GB Notification: Performance of Backend: time 6.52e-07/2.373, allocations: 0 / 1.659 GB, free: 254.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01218/2.385, allocations: 6.529 MB / 1.665 GB, free: 247.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.01658/2.402, allocations: 10.89 MB / 1.676 GB, free: 236.8 MB / 1.279 GB Notification: Performance of Templates: time 0.1478/2.549, allocations: 107.5 MB / 1.781 GB, free: 130.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsDp.pipe 2>&1)