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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001506/0.001506, allocations: 115.8 kB / 16.42 MB, free: 6.488 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.001631/0.001631, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.442/1.442, 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 11.0.1-master/package.mo): time 2.782/2.782, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup): time 0.3211/1.383, allocations: 253.6 MB / 1.456 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.06136/1.444, allocations: 33 MB / 1.488 GB, free: 13.99 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008145/1.453, allocations: 115.4 kB / 1.488 GB, free: 13.88 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01046/1.463, allocations: 2.574 MB / 1.491 GB, free: 11.29 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01894/1.482, allocations: 4.688 MB / 1.496 GB, free: 6.594 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0136/1.496, allocations: 3.614 MB / 1.499 GB, free: 3.004 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0272/1.523, allocations: 14.5 MB / 1.513 GB, free: 4.48 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/1.533, allocations: 4.181 MB / 1.517 GB, free: 220 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/1.545, allocations: 3.639 MB / 1.521 GB, free: 12.57 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006852/1.552, allocations: 2.806 MB / 1.524 GB, free: 9.75 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002855/1.555, allocations: 0.5195 MB / 1.524 GB, free: 9.23 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/1.567, allocations: 4.017 MB / 1.528 GB, free: 5.207 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003732/1.571, allocations: 1.609 MB / 1.53 GB, free: 3.594 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.007719/1.578, allocations: 2.671 MB / 1.532 GB, free: 0.9102 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02282/1.601, allocations: 9.395 MB / 1.541 GB, free: 7.488 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.601, allocations: 4 kB / 1.541 GB, free: 7.484 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.464e-06/1.601, allocations: 0 / 1.541 GB, free: 7.484 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000333/1.602, allocations: 0 / 1.541 GB, free: 7.484 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: 692 * Number of variables: 692 Notification: Performance of Generate backend data structure: time 0.02024/1.622, allocations: 5.609 MB / 1.547 GB, free: 1.766 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/1.622, allocations: 12.03 kB / 1.547 GB, free: 1.754 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/1.627, allocations: 0.8138 MB / 1.548 GB, free: 0.9336 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/1.638, allocations: 4.844 MB / 1.552 GB, free: 12.04 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/1.639, allocations: 225.4 kB / 1.553 GB, free: 11.81 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/1.64, allocations: 300 kB / 1.553 GB, free: 11.52 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007077/1.647, allocations: 3.273 MB / 1.556 GB, free: 8.129 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/1.647, allocations: 0 / 1.556 GB, free: 8.129 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/1.647, allocations: 116 kB / 1.556 GB, free: 8.016 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.114e-05/1.647, allocations: 93.27 kB / 1.556 GB, free: 7.922 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006026/1.653, allocations: 3.092 MB / 1.559 GB, free: 4.816 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 1.031/2.684, allocations: 12.94 MB / 1.572 GB, free: 339.7 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/2.69, allocations: 2.434 MB / 1.574 GB, free: 338.7 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/2.692, allocations: 1.144 MB / 1.575 GB, free: 338.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.013/2.705, allocations: 6.936 MB / 1.582 GB, free: 333.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002904/2.708, allocations: 1.542 MB / 1.584 GB, free: 332.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 5.57e-06/2.708, allocations: 0 / 1.584 GB, free: 332.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.01157/2.72, allocations: 4.312 MB / 1.588 GB, free: 331.1 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/2.72, allocations: 232.7 kB / 1.588 GB, free: 330.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005574/2.726, allocations: 3.685 MB / 1.592 GB, free: 329.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008039/2.726, allocations: 89.47 kB / 1.592 GB, free: 329.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/2.728, allocations: 1.775 MB / 1.594 GB, free: 327.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000946/2.729, allocations: 0.696 MB / 1.594 GB, free: 327.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/2.73, allocations: 0.6921 MB / 1.595 GB, free: 326.9 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/2.73, allocations: 301.1 kB / 1.595 GB, free: 326.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/2.732, allocations: 1.41 MB / 1.597 GB, free: 325.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/2.736, allocations: 2.375 MB / 1.599 GB, free: 324.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/2.741, allocations: 3.133 MB / 1.602 GB, free: 322.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/2.741, allocations: 7.094 kB / 1.602 GB, free: 322.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.007525/2.748, allocations: 4.102 MB / 1.606 GB, free: 318.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/2.748, allocations: 12 kB / 1.606 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/2.748, allocations: 14.23 kB / 1.606 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054/3.802, allocations: 146.4 MB / 1.749 GB, free: 172.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/3.805, allocations: 0.5305 MB / 1.749 GB, free: 171.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/3.808, allocations: 3.602 MB / 1.753 GB, free: 168 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/3.812, allocations: 390.7 kB / 1.753 GB, free: 167.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/3.812, allocations: 143.9 kB / 1.754 GB, free: 167.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003671/3.816, allocations: 2.157 MB / 1.756 GB, free: 165.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002526/3.819, allocations: 2.277 MB / 1.758 GB, free: 162.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00382/3.823, allocations: 2.912 MB / 1.761 GB, free: 159.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.404e-06/3.823, allocations: 4 kB / 1.761 GB, free: 159.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization_lambda0): time 0.006842/3.829, allocations: 3.897 MB / 1.764 GB, free: 155.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/3.829, allocations: 12 kB / 1.765 GB, free: 155.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/3.829, allocations: 10.91 kB / 1.765 GB, free: 155.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091/4.92, allocations: 146.4 MB / 1.907 GB, free: 9.09 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/4.923, allocations: 0.5303 MB / 1.908 GB, free: 8.559 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007528/4.931, allocations: 6.039 MB / 1.914 GB, free: 2.129 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007338/4.938, allocations: 403.2 kB / 1.914 GB, free: 1.742 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/4.939, allocations: 132 kB / 1.914 GB, free: 1.613 MB / 1.279 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.001553/4.941, allocations: 365.3 kB / 1.915 GB, free: 1.254 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002415/4.943, allocations: 379.2 kB / 1.915 GB, free: 0.8789 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/4.954, allocations: 3.452 MB / 1.918 GB, free: 13.43 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006582/4.961, allocations: 2.697 MB / 1.921 GB, free: 10.69 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/4.961, allocations: 3.938 kB / 1.921 GB, free: 10.68 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003202/4.964, allocations: 0.774 MB / 1.922 GB, free: 9.887 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001343/4.965, allocations: 52 kB / 1.922 GB, free: 9.836 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/4.968, allocations: 151.8 kB / 1.922 GB, free: 9.688 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/4.969, allocations: 177.7 kB / 1.922 GB, free: 9.512 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008691/4.978, allocations: 3.129 MB / 1.925 GB, free: 6.414 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008661/4.986, allocations: 4.457 MB / 1.93 GB, free: 1.93 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002194/4.988, allocations: 1.218 MB / 1.931 GB, free: 0.7148 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005177/4.994, allocations: 2.479 MB / 1.933 GB, free: 14.23 MB / 1.311 GB Notification: Performance of Backend: time 8.01e-07/4.994, allocations: 0 / 1.933 GB, free: 14.23 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01836/5.012, allocations: 6.179 MB / 1.939 GB, free: 8.488 MB / 1.311 GB Notification: Performance of SimCode: time 0.02057/5.033, allocations: 8.6 MB / 1.948 GB, free: 15.91 MB / 1.326 GB Notification: Performance of Templates: time 0.1647/5.197, allocations: 97.73 MB / 2.043 GB, free: 15.25 MB / 1.42 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)