Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spe.y|y1Pum.y.1.|y1Pum.y.2.|ope.y|senRelPre.p_rel|senRelPre1.p_rel|senMasFlo.m_flow|senMasFlo1.m_flow|pum.P",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spe.y|y1Pum.y.1.|y1Pum.y.2.|ope.y|senRelPre.p_rel|senRelPre1.p_rel|senMasFlo.m_flow|senMasFlo1.m_flow|pum.P",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 113.9 kB / 16.42 MB, free: 6.465 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.001636/0.001636, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.88 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7607, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed): time 0.2295/0.9902, allocations: 224.4 MB / 1.386 GB, free: 2.66 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.05581/1.046, allocations: 37.54 MB / 1.423 GB, free: 13.03 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00582/1.052, allocations: 147.2 kB / 1.423 GB, free: 12.88 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.008277/1.06, allocations: 2.955 MB / 1.426 GB, free: 9.914 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01558/1.076, allocations: 5.662 MB / 1.432 GB, free: 4.23 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01202/1.088, allocations: 4.087 MB / 1.436 GB, free: 168 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.03264/1.121, allocations: 21.11 MB / 1.456 GB, free: 11.02 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008074/1.129, allocations: 3.961 MB / 1.46 GB, free: 6.988 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/1.141, allocations: 4.576 MB / 1.465 GB, free: 2.406 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008621/1.15, allocations: 3.577 MB / 1.468 GB, free: 14.82 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.002338/1.152, allocations: 0.5078 MB / 1.469 GB, free: 14.31 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008093/1.16, allocations: 2.921 MB / 1.471 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003598/1.164, allocations: 2.037 MB / 1.473 GB, free: 9.34 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.007342/1.171, allocations: 3.06 MB / 1.476 GB, free: 6.266 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01695/1.188, allocations: 9.526 MB / 1.486 GB, free: 12.71 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.188, allocations: 0 / 1.486 GB, free: 12.71 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.783e-06/1.188, allocations: 0 / 1.486 GB, free: 12.71 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002968/1.188, allocations: 0 / 1.486 GB, free: 12.71 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01731/1.206, allocations: 6.284 MB / 1.492 GB, free: 6.32 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.206, allocations: 16.88 kB / 1.492 GB, free: 6.305 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/1.212, allocations: 1.047 MB / 1.493 GB, free: 5.25 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/1.23, allocations: 7.825 MB / 1.501 GB, free: 13.35 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/1.23, allocations: 264.8 kB / 1.501 GB, free: 13.07 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/1.231, allocations: 276 kB / 1.501 GB, free: 12.8 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007682/1.239, allocations: 3.064 MB / 1.504 GB, free: 9.598 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.655e-05/1.239, allocations: 7.938 kB / 1.504 GB, free: 9.59 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006138/1.239, allocations: 92 kB / 1.504 GB, free: 9.5 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/1.24, allocations: 92.2 kB / 1.504 GB, free: 9.406 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006513/1.246, allocations: 2.464 MB / 1.507 GB, free: 6.926 MB / 1.232 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.02534/1.271, allocations: 14.06 MB / 1.52 GB, free: 8.094 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/1.276, allocations: 1.966 MB / 1.522 GB, free: 6.105 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/1.278, allocations: 1.034 MB / 1.523 GB, free: 5.066 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/1.289, allocations: 4.655 MB / 1.528 GB, free: 140 kB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002626/1.292, allocations: 1.329 MB / 1.529 GB, free: 14.8 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001793/1.294, allocations: 237.8 kB / 1.529 GB, free: 14.56 MB / 1.264 GB Notification: Performance of pre-optimization done (n=145): time 8.326e-06/1.294, allocations: 0 / 1.529 GB, free: 14.56 MB / 1.264 GB Notification: Performance of matching and sorting (n=145): time 0.01579/1.309, allocations: 4.462 MB / 1.534 GB, free: 10.05 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/1.309, allocations: 72.7 kB / 1.534 GB, free: 9.965 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009699/1.319, allocations: 4.933 MB / 1.539 GB, free: 5.055 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006776/1.32, allocations: 81.7 kB / 1.539 GB, free: 4.969 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00291/1.323, allocations: 2.164 MB / 1.541 GB, free: 2.785 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007936/1.324, allocations: 0.5086 MB / 1.541 GB, free: 2.27 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002226/1.326, allocations: 0.899 MB / 1.542 GB, free: 1.363 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.326, allocations: 305.1 kB / 1.543 GB, free: 1.062 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/1.33, allocations: 1.994 MB / 1.544 GB, free: 15.06 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004579/1.334, allocations: 3.204 MB / 1.548 GB, free: 11.41 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007232/1.341, allocations: 4.501 MB / 1.552 GB, free: 6.602 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/1.342, allocations: 4 kB / 1.552 GB, free: 6.598 MB / 1.279 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.0114/1.353, allocations: 5.605 MB / 1.557 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/1.353, allocations: 13.88 kB / 1.557 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/1.353, allocations: 20 kB / 1.557 GB, free: 0.918 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/1.355, allocations: 487.7 kB / 1.558 GB, free: 448 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5774/1.932, allocations: 0.6287 MB / 1.559 GB, free: 376.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/1.934, allocations: 1.553 MB / 1.56 GB, free: 375.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005106/1.939, allocations: 239.2 kB / 1.56 GB, free: 375.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007188/1.94, allocations: 192.5 kB / 1.561 GB, free: 375.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006186/1.946, allocations: 2.785 MB / 1.563 GB, free: 375 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003643/1.95, allocations: 2.932 MB / 1.566 GB, free: 373.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005105/1.955, allocations: 3.953 MB / 1.57 GB, free: 371 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.187e-05/1.955, allocations: 7.5 kB / 1.57 GB, free: 371 MB / 1.279 GB Notification: Performance of matching and sorting (n=472) (initialization_lambda0): time 0.008283/1.963, allocations: 5.073 MB / 1.575 GB, free: 369.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.963, allocations: 17.66 kB / 1.575 GB, free: 369.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.963, allocations: 25.66 kB / 1.575 GB, free: 369.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009804/1.964, allocations: 396.6 kB / 1.575 GB, free: 369.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/1.967, allocations: 0.6483 MB / 1.576 GB, free: 369.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/1.974, allocations: 6.674 MB / 1.582 GB, free: 364.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/1.979, allocations: 298.4 kB / 1.583 GB, free: 364.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/1.979, allocations: 168.7 kB / 1.583 GB, free: 364.7 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].y,pum.preY1[1].u,$PRE.pum.preY1[1].u,pum.isOpe.greHys.y,$PRE.pum.isOpe.greHys.y,pum.com.y1One) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (339): * Single equations (assignments): 331 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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,10), (3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0008027/1.98, allocations: 368.3 kB / 1.583 GB, free: 364.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000889/1.981, allocations: 471.7 kB / 1.584 GB, free: 364.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005642/1.987, allocations: 3.086 MB / 1.587 GB, free: 362.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003765/1.991, allocations: 2.539 MB / 1.589 GB, free: 360.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/1.991, allocations: 0 / 1.589 GB, free: 360.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.993, allocations: 0.7082 MB / 1.59 GB, free: 359.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/1.993, allocations: 33.97 kB / 1.59 GB, free: 359.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.995, allocations: 110.7 kB / 1.59 GB, free: 359.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/1.995, allocations: 120.5 kB / 1.59 GB, free: 359.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005521/2.001, allocations: 2.592 MB / 1.593 GB, free: 357.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00592/2.007, allocations: 3.891 MB / 1.596 GB, free: 353.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001539/2.008, allocations: 0.9904 MB / 1.597 GB, free: 352.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004138/2.013, allocations: 3.263 MB / 1.601 GB, free: 349.4 MB / 1.279 GB Notification: Performance of Backend: time 8.62e-07/2.013, allocations: 0 / 1.601 GB, free: 349.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01153/2.024, allocations: 6.702 MB / 1.607 GB, free: 343 MB / 1.279 GB Notification: Performance of SimCode: time 0.0191/2.043, allocations: 10.74 MB / 1.618 GB, free: 332.3 MB / 1.279 GB Notification: Performance of Templates: time 0.1438/2.187, allocations: 111.4 MB / 1.727 GB, free: 222.2 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe 2>&1)