Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 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.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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed") translateModel(Buildings.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_latest_Buildings.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.00178/0.00178, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.0023/0.0023, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.608/2.608, allocations: 472.7 MB / 0.746 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.89 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9644/0.9659, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed): time 0.2219/1.188, allocations: 224.3 MB / 1.445 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.05281/1.241, allocations: 37.51 MB / 1.482 GB, free: 6.891 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007115/1.248, allocations: 143.2 kB / 1.482 GB, free: 6.75 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.009173/1.257, allocations: 2.954 MB / 1.485 GB, free: 3.789 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01723/1.274, allocations: 5.665 MB / 1.491 GB, free: 14.1 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01157/1.286, allocations: 4.09 MB / 1.495 GB, free: 10.03 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.03372/1.32, allocations: 21.11 MB / 1.515 GB, free: 4.883 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008555/1.328, allocations: 3.957 MB / 1.519 GB, free: 0.8594 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/1.34, allocations: 4.567 MB / 1.523 GB, free: 12.29 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007142/1.348, allocations: 3.577 MB / 1.527 GB, free: 8.691 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002379/1.35, allocations: 0.5038 MB / 1.527 GB, free: 8.188 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008827/1.359, allocations: 2.921 MB / 1.53 GB, free: 5.262 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003592/1.363, allocations: 2.049 MB / 1.532 GB, free: 3.207 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.007082/1.37, allocations: 3.056 MB / 1.535 GB, free: 140 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01851/1.388, allocations: 9.455 MB / 1.545 GB, free: 6.648 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.388, allocations: 0 / 1.545 GB, free: 6.648 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.637e-06/1.388, allocations: 0 / 1.545 GB, free: 6.648 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0003796/1.389, allocations: 3.938 kB / 1.545 GB, free: 6.645 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.01919/1.408, allocations: 6.474 MB / 1.551 GB, free: 60 kB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.408, allocations: 8.031 kB / 1.551 GB, free: 52 kB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/1.414, allocations: 1.078 MB / 1.552 GB, free: 14.97 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/1.434, allocations: 7.853 MB / 1.56 GB, free: 7.043 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/1.434, allocations: 268.8 kB / 1.56 GB, free: 6.766 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/1.436, allocations: 268 kB / 1.56 GB, free: 6.504 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00742/1.443, allocations: 3.072 MB / 1.563 GB, free: 3.289 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.661e-05/1.443, allocations: 7.938 kB / 1.563 GB, free: 3.281 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/1.444, allocations: 99.97 kB / 1.563 GB, free: 3.184 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.226e-05/1.444, allocations: 84.28 kB / 1.563 GB, free: 3.098 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005849/1.449, allocations: 2.476 MB / 1.566 GB, free: 0.6055 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.847/2.296, allocations: 14.07 MB / 1.579 GB, free: 319.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/2.301, allocations: 1.997 MB / 1.581 GB, free: 318.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/2.303, allocations: 1.027 MB / 1.582 GB, free: 318 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00922/2.312, allocations: 4.645 MB / 1.587 GB, free: 315.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002415/2.314, allocations: 1.327 MB / 1.588 GB, free: 314.9 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00192/2.316, allocations: 245.1 kB / 1.588 GB, free: 314.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=145): time 5.931e-06/2.316, allocations: 3.938 kB / 1.588 GB, free: 314.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=145): time 0.01363/2.33, allocations: 4.495 MB / 1.593 GB, free: 313.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/2.33, allocations: 72.44 kB / 1.593 GB, free: 313.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006639/2.337, allocations: 4.925 MB / 1.598 GB, free: 311.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006531/2.337, allocations: 80.78 kB / 1.598 GB, free: 311.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/2.339, allocations: 2.187 MB / 1.6 GB, free: 309.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006321/2.34, allocations: 0.5228 MB / 1.6 GB, free: 309.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/2.341, allocations: 0.9101 MB / 1.601 GB, free: 308.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/2.341, allocations: 301.1 kB / 1.602 GB, free: 308.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/2.344, allocations: 1.987 MB / 1.604 GB, free: 307.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003463/2.347, allocations: 3.215 MB / 1.607 GB, free: 305 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/2.352, allocations: 4.501 MB / 1.611 GB, free: 301.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/2.352, allocations: 11.94 kB / 1.611 GB, free: 301.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007731/2.36, allocations: 5.616 MB / 1.617 GB, free: 296.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/2.36, allocations: 16 kB / 1.617 GB, free: 296 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/2.36, allocations: 23.84 kB / 1.617 GB, free: 296 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/2.361, allocations: 479 kB / 1.617 GB, free: 295.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/2.364, allocations: 0.6346 MB / 1.618 GB, free: 294.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/2.365, allocations: 1.555 MB / 1.619 GB, free: 293.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/2.37, allocations: 255.5 kB / 1.62 GB, free: 293.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/2.37, allocations: 195.5 kB / 1.62 GB, free: 292.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00499/2.375, allocations: 2.79 MB / 1.622 GB, free: 290.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003146/2.378, allocations: 2.93 MB / 1.625 GB, free: 286.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004646/2.383, allocations: 3.959 MB / 1.629 GB, free: 282.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.156e-05/2.383, allocations: 8 kB / 1.629 GB, free: 282.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=472) (initialization_lambda0): time 0.007958/2.391, allocations: 5.102 MB / 1.634 GB, free: 277.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/2.391, allocations: 12 kB / 1.634 GB, free: 277.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/2.391, allocations: 20 kB / 1.634 GB, free: 277.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/2.392, allocations: 397.4 kB / 1.635 GB, free: 277 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/2.394, allocations: 0.6435 MB / 1.635 GB, free: 276.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007459/2.402, allocations: 6.682 MB / 1.642 GB, free: 269.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/2.408, allocations: 292 kB / 1.642 GB, free: 269.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006753/2.408, allocations: 171.9 kB / 1.642 GB, free: 269 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 (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.0009069/2.409, allocations: 376.7 kB / 1.642 GB, free: 268.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/2.411, allocations: 492.6 kB / 1.643 GB, free: 268.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005963/2.417, allocations: 3.073 MB / 1.646 GB, free: 265.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003706/2.42, allocations: 2.547 MB / 1.648 GB, free: 262.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/2.421, allocations: 0 / 1.648 GB, free: 262.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/2.423, allocations: 0.728 MB / 1.649 GB, free: 261.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007659/2.423, allocations: 39.92 kB / 1.649 GB, free: 261.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/2.425, allocations: 106 kB / 1.649 GB, free: 261.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/2.426, allocations: 121.8 kB / 1.649 GB, free: 261.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005488/2.431, allocations: 2.606 MB / 1.652 GB, free: 258.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006026/2.437, allocations: 3.908 MB / 1.656 GB, free: 254.9 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001491/2.439, allocations: 0.9955 MB / 1.657 GB, free: 253.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004863/2.443, allocations: 3.255 MB / 1.66 GB, free: 250.7 MB / 1.279 GB Notification: Performance of Backend: time 6.61e-07/2.443, allocations: 0 / 1.66 GB, free: 250.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01319/2.457, allocations: 6.708 MB / 1.666 GB, free: 244.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.01896/2.476, allocations: 10.9 MB / 1.677 GB, free: 233.3 MB / 1.279 GB Notification: Performance of Templates: time 0.1501/2.626, allocations: 110.9 MB / 1.785 GB, free: 123.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.MultiplePumpsSpeed.pipe 2>&1)