Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001498/0.001498, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001706/0.001706, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.481/2.481, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 75.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9357/0.9382, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup): time 0.2701/1.208, allocations: 253.8 MB / 1.415 GB, free: 5.109 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0478/1.256, allocations: 33.05 MB / 1.447 GB, free: 3.98 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006943/1.263, allocations: 119.4 kB / 1.448 GB, free: 3.863 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.009249/1.272, allocations: 2.609 MB / 1.45 GB, free: 1.242 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01785/1.29, allocations: 4.866 MB / 1.455 GB, free: 12.36 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/1.301, allocations: 3.629 MB / 1.458 GB, free: 8.754 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02212/1.323, allocations: 14.53 MB / 1.473 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00801/1.331, allocations: 4.197 MB / 1.477 GB, free: 5.922 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008862/1.34, allocations: 3.633 MB / 1.48 GB, free: 2.277 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005242/1.345, allocations: 2.813 MB / 1.483 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002143/1.347, allocations: 0.5156 MB / 1.483 GB, free: 14.94 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009891/1.357, allocations: 4.025 MB / 1.487 GB, free: 10.91 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.003056/1.36, allocations: 1.617 MB / 1.489 GB, free: 9.285 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.006297/1.367, allocations: 2.663 MB / 1.492 GB, free: 6.609 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/1.386, allocations: 9.612 MB / 1.501 GB, free: 12.96 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.386, allocations: 0 / 1.501 GB, free: 12.96 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.496e-06/1.386, allocations: 4 kB / 1.501 GB, free: 12.96 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0003228/1.387, allocations: 0 / 1.501 GB, free: 12.96 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01758/1.404, allocations: 5.805 MB / 1.507 GB, free: 7.043 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.404, allocations: 8.922 kB / 1.507 GB, free: 7.035 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/1.409, allocations: 0.8361 MB / 1.507 GB, free: 6.195 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/1.421, allocations: 4.919 MB / 1.512 GB, free: 1.227 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/1.422, allocations: 233.4 kB / 1.512 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/1.423, allocations: 292 kB / 1.513 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008288/1.431, allocations: 3.254 MB / 1.516 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.264e-05/1.431, allocations: 4 kB / 1.516 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/1.432, allocations: 112 kB / 1.516 GB, free: 13.23 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/1.432, allocations: 105.2 kB / 1.516 GB, free: 13.12 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006731/1.438, allocations: 3.065 MB / 1.519 GB, free: 10.05 MB / 1.248 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.02268/1.461, allocations: 12.97 MB / 1.532 GB, free: 12.53 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005102/1.466, allocations: 2.404 MB / 1.534 GB, free: 10.1 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/1.469, allocations: 1.146 MB / 1.535 GB, free: 8.957 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.48, allocations: 6.943 MB / 1.542 GB, free: 1.332 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003151/1.484, allocations: 1.539 MB / 1.544 GB, free: 15.78 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 5.57e-06/1.484, allocations: 0 / 1.544 GB, free: 15.78 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.01253/1.496, allocations: 4.333 MB / 1.548 GB, free: 11.38 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.496, allocations: 235.6 kB / 1.548 GB, free: 11.09 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007629/1.504, allocations: 3.711 MB / 1.552 GB, free: 7.363 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005079/1.505, allocations: 89.7 kB / 1.552 GB, free: 7.27 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.507, allocations: 1.801 MB / 1.553 GB, free: 5.453 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008931/1.508, allocations: 0.7282 MB / 1.554 GB, free: 4.719 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/1.509, allocations: 0.6975 MB / 1.555 GB, free: 4.012 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/1.509, allocations: 305.1 kB / 1.555 GB, free: 3.711 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/1.512, allocations: 1.397 MB / 1.557 GB, free: 2.305 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7032/2.215, allocations: 2.38 MB / 1.559 GB, free: 378.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007716/2.223, allocations: 3.13 MB / 1.562 GB, free: 377.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-05/2.223, allocations: 3.562 kB / 1.562 GB, free: 377.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.00912/2.232, allocations: 4.123 MB / 1.566 GB, free: 376 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/2.232, allocations: 7.844 kB / 1.566 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/2.232, allocations: 15.53 kB / 1.566 GB, free: 376 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.966/3.198, allocations: 146.4 MB / 1.709 GB, free: 240 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/3.201, allocations: 0.5382 MB / 1.709 GB, free: 239.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/3.204, allocations: 3.592 MB / 1.713 GB, free: 235.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/3.209, allocations: 406.4 kB / 1.713 GB, free: 235.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005596/3.209, allocations: 139.9 kB / 1.713 GB, free: 235.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004241/3.214, allocations: 2.16 MB / 1.716 GB, free: 233.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003089/3.217, allocations: 2.261 MB / 1.718 GB, free: 230.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004623/3.221, allocations: 2.923 MB / 1.721 GB, free: 227.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.348e-05/3.221, allocations: 7.984 kB / 1.721 GB, free: 227.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization_lambda0): time 0.008149/3.23, allocations: 3.919 MB / 1.724 GB, free: 223.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/3.23, allocations: 12.06 kB / 1.724 GB, free: 223.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/3.23, allocations: 12 kB / 1.724 GB, free: 223.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9668/4.196, allocations: 146.4 MB / 1.867 GB, free: 77.09 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/4.199, allocations: 0.5343 MB / 1.868 GB, free: 76.55 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006277/4.205, allocations: 6.037 MB / 1.874 GB, free: 70.18 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/4.21, allocations: 414 kB / 1.874 GB, free: 69.83 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005074/4.21, allocations: 128 kB / 1.874 GB, free: 69.7 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].y,pum.preY1[1].u,$PRE.pum.preY1[1].u,pum.isOpe.greHys.y,$PRE.pum.isOpe.greHys.y,pum.com.y1One,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].y,coo.preY1[1].u,$PRE.coo.preY1[1].u,coo.com.y1One,$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.0009752/4.211, allocations: 371.3 kB / 1.875 GB, free: 69.34 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/4.212, allocations: 397.4 kB / 1.875 GB, free: 68.95 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007374/4.22, allocations: 3.464 MB / 1.878 GB, free: 65.51 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004719/4.225, allocations: 2.697 MB / 1.881 GB, free: 62.77 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/4.225, allocations: 4 kB / 1.881 GB, free: 62.77 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/4.226, allocations: 0.7873 MB / 1.882 GB, free: 61.99 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007944/4.227, allocations: 48 kB / 1.882 GB, free: 61.94 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/4.229, allocations: 166.3 kB / 1.882 GB, free: 61.78 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/4.229, allocations: 181.7 kB / 1.882 GB, free: 61.61 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006888/4.236, allocations: 3.129 MB / 1.885 GB, free: 58.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006859/4.243, allocations: 4.473 MB / 1.89 GB, free: 54.01 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00183/4.245, allocations: 1.21 MB / 1.891 GB, free: 52.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003859/4.249, allocations: 2.491 MB / 1.893 GB, free: 50.3 MB / 1.279 GB Notification: Performance of Backend: time 6.32e-07/4.249, allocations: 0 / 1.893 GB, free: 50.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01449/4.263, allocations: 6.226 MB / 1.899 GB, free: 44.57 MB / 1.279 GB Notification: Performance of SimCode: time 0.01505/4.278, allocations: 8.733 MB / 1.908 GB, free: 35.84 MB / 1.279 GB Notification: Performance of Templates: time 0.1471/4.426, allocations: 98.34 MB / 2.004 GB, free: 2.48 MB / 1.342 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe 2>&1)