Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.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.CoolingTowerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1.y.1.|y1.y.2.|ctl.y|coo.m_flow|coo.coo.m_flow|coo.mConWatUni_flow_nominal|coo.weaBus.TWetBul|TConWatSupSet.y|TConWatRet.T|TConWatSup.T|coo.P",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1.y.1.|y1.y.2.|ctl.y|coo.m_flow|coo.coo.m_flow|coo.mConWatUni_flow_nominal|coo.weaBus.TWetBul|TConWatSupSet.y|TConWatRet.T|TConWatSup.T|coo.P",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 114.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.001285/0.001285, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 67.89 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.145, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup): time 0.3003/1.446, allocations: 253.6 MB / 1.474 GB, free: 14.96 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.05512/1.501, allocations: 33.01 MB / 1.506 GB, free: 13.88 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007377/1.508, allocations: 115.4 kB / 1.506 GB, free: 13.76 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.009163/1.517, allocations: 2.612 MB / 1.509 GB, free: 11.14 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01925/1.537, allocations: 4.867 MB / 1.514 GB, free: 6.258 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01169/1.548, allocations: 3.615 MB / 1.517 GB, free: 2.664 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.02417/1.573, allocations: 14.52 MB / 1.531 GB, free: 4.129 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/1.585, allocations: 4.189 MB / 1.535 GB, free: 15.86 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/1.596, allocations: 3.638 MB / 1.539 GB, free: 12.21 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006418/1.603, allocations: 2.809 MB / 1.542 GB, free: 9.391 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002846/1.606, allocations: 0.5195 MB / 1.542 GB, free: 8.871 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/1.617, allocations: 4.029 MB / 1.546 GB, free: 4.836 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003024/1.62, allocations: 1.617 MB / 1.548 GB, free: 3.215 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.006243/1.626, allocations: 2.663 MB / 1.55 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01995/1.646, allocations: 9.429 MB / 1.56 GB, free: 7.078 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.646, allocations: 0 / 1.56 GB, free: 7.078 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.803e-06/1.646, allocations: 0 / 1.56 GB, free: 7.078 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000349/1.646, allocations: 0 / 1.56 GB, free: 7.078 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 692 * Number of variables: 692 Notification: Performance of Generate backend data structure: time 0.01824/1.665, allocations: 5.789 MB / 1.565 GB, free: 1.172 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.665, allocations: 8.031 kB / 1.565 GB, free: 1.164 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/1.67, allocations: 0.8439 MB / 1.566 GB, free: 324 kB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8834/2.553, allocations: 4.876 MB / 1.571 GB, free: 330.6 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/2.554, allocations: 223.9 kB / 1.571 GB, free: 330.5 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009734/2.555, allocations: 299.5 kB / 1.571 GB, free: 330.4 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007869/2.562, allocations: 3.282 MB / 1.575 GB, free: 329 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/2.562, allocations: 1.094 kB / 1.575 GB, free: 329 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/2.563, allocations: 116.5 kB / 1.575 GB, free: 328.9 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/2.563, allocations: 100.7 kB / 1.575 GB, free: 328.9 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006304/2.569, allocations: 3.082 MB / 1.578 GB, free: 328 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.01952/2.589, allocations: 12.98 MB / 1.59 GB, free: 320 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/2.593, allocations: 2.445 MB / 1.593 GB, free: 318.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/2.595, allocations: 1.154 MB / 1.594 GB, free: 318.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009318/2.604, allocations: 6.928 MB / 1.601 GB, free: 312 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/2.606, allocations: 1.529 MB / 1.602 GB, free: 311.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 6.392e-06/2.606, allocations: 0.5312 kB / 1.602 GB, free: 311.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.01091/2.617, allocations: 4.341 MB / 1.606 GB, free: 308.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/2.617, allocations: 238.5 kB / 1.607 GB, free: 308.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/2.622, allocations: 3.678 MB / 1.61 GB, free: 305.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003157/2.623, allocations: 89.7 kB / 1.61 GB, free: 305.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/2.624, allocations: 1.808 MB / 1.612 GB, free: 303.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005078/2.624, allocations: 0.7285 MB / 1.613 GB, free: 302.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008726/2.625, allocations: 0.6936 MB / 1.614 GB, free: 302 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/2.625, allocations: 313.1 kB / 1.614 GB, free: 301.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/2.627, allocations: 1.403 MB / 1.615 GB, free: 300.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/2.63, allocations: 2.377 MB / 1.618 GB, free: 297.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/2.634, allocations: 3.133 MB / 1.621 GB, free: 294.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/2.634, allocations: 4 kB / 1.621 GB, free: 294.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.007265/2.641, allocations: 4.12 MB / 1.625 GB, free: 290.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/2.642, allocations: 8 kB / 1.625 GB, free: 290.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/2.642, allocations: 12 kB / 1.625 GB, free: 290.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9464/3.588, allocations: 146.4 MB / 1.768 GB, free: 143.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/3.591, allocations: 0.5343 MB / 1.768 GB, free: 143.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/3.594, allocations: 3.605 MB / 1.772 GB, free: 139.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/3.599, allocations: 394.2 kB / 1.772 GB, free: 139 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005828/3.599, allocations: 139.9 kB / 1.772 GB, free: 138.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004101/3.604, allocations: 2.155 MB / 1.774 GB, free: 136.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002932/3.607, allocations: 2.284 MB / 1.776 GB, free: 134.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004223/3.611, allocations: 2.908 MB / 1.779 GB, free: 131 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.317e-06/3.611, allocations: 4 kB / 1.779 GB, free: 131 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization_lambda0): time 0.007958/3.619, allocations: 3.918 MB / 1.783 GB, free: 127 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/3.619, allocations: 12 kB / 1.783 GB, free: 127 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/3.619, allocations: 9.75 kB / 1.783 GB, free: 127 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9803/4.599, allocations: 146.4 MB / 1.926 GB, free: 12.41 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/4.602, allocations: 0.5188 MB / 1.927 GB, free: 11.89 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007992/4.61, allocations: 6.043 MB / 1.932 GB, free: 5.449 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/4.615, allocations: 404.8 kB / 1.933 GB, free: 5.059 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000687/4.616, allocations: 143.9 kB / 1.933 GB, free: 4.918 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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],weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],coo.preY1[2].y,coo.preY1[2].u,$PRE.coo.preY1[2].u,coo.preY1[1].u,$PRE.coo.preY1[1].u,coo.com.y1One,coo.com.y1[1],$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 315 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,6), (1,1), (2,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001218/4.617, allocations: 360.6 kB / 1.933 GB, free: 4.559 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/4.619, allocations: 405.3 kB / 1.934 GB, free: 4.16 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008953/4.628, allocations: 3.442 MB / 1.937 GB, free: 0.7109 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005852/4.633, allocations: 2.705 MB / 1.94 GB, free: 13.96 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/4.633, allocations: 3.984 kB / 1.94 GB, free: 13.96 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/4.636, allocations: 0.7867 MB / 1.941 GB, free: 13.15 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/4.637, allocations: 55.98 kB / 1.941 GB, free: 13.1 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/4.64, allocations: 159.7 kB / 1.941 GB, free: 12.94 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/4.64, allocations: 181.7 kB / 1.941 GB, free: 12.77 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008578/4.649, allocations: 3.125 MB / 1.944 GB, free: 9.672 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008895/4.658, allocations: 4.476 MB / 1.948 GB, free: 5.172 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002272/4.66, allocations: 1.218 MB / 1.95 GB, free: 3.953 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.005482/4.665, allocations: 2.482 MB / 1.952 GB, free: 1.461 MB / 1.326 GB Notification: Performance of Backend: time 1.062e-06/4.665, allocations: 0 / 1.952 GB, free: 1.461 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.02003/4.685, allocations: 6.196 MB / 1.958 GB, free: 11.57 MB / 1.342 GB Notification: Performance of SimCode: time 0.0221/4.708, allocations: 8.727 MB / 1.967 GB, free: 2.84 MB / 1.342 GB Notification: Performance of Templates: time 0.1732/4.881, allocations: 97.75 MB / 2.062 GB, free: 2.156 MB / 1.436 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe 2>&1)