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.001512/0.001512, allocations: 109.5 kB / 16.41 MB, free: 6.406 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.001786/0.001786, allocations: 190.7 kB / 17.35 MB, free: 5.691 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.08 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.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8535, allocations: 151.6 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup): time 0.2702/1.124, allocations: 253.8 MB / 1.415 GB, free: 5.25 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04846/1.172, allocations: 33.04 MB / 1.447 GB, free: 4.117 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006376/1.179, allocations: 119.4 kB / 1.448 GB, free: 4 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.007396/1.186, allocations: 2.612 MB / 1.45 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01563/1.202, allocations: 4.867 MB / 1.455 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.213, allocations: 3.62 MB / 1.458 GB, free: 8.891 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02394/1.237, allocations: 14.53 MB / 1.473 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008804/1.245, allocations: 4.197 MB / 1.477 GB, free: 6.059 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009257/1.255, allocations: 3.649 MB / 1.48 GB, free: 2.402 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005435/1.26, allocations: 2.815 MB / 1.483 GB, free: 15.58 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002344/1.262, allocations: 0.5156 MB / 1.483 GB, free: 15.06 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/1.274, allocations: 4.021 MB / 1.487 GB, free: 11.04 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00318/1.277, allocations: 1.617 MB / 1.489 GB, free: 9.414 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.006727/1.284, allocations: 2.671 MB / 1.492 GB, free: 6.73 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/1.302, allocations: 9.574 MB / 1.501 GB, free: 13.13 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.302, allocations: 0 / 1.501 GB, free: 13.13 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.944e-06/1.302, allocations: 0 / 1.501 GB, free: 13.13 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0003026/1.302, allocations: 0 / 1.501 GB, free: 13.13 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.01602/1.318, allocations: 5.636 MB / 1.506 GB, free: 7.387 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.318, allocations: 16.91 kB / 1.506 GB, free: 7.371 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/1.323, allocations: 0.8098 MB / 1.507 GB, free: 6.555 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/1.335, allocations: 4.865 MB / 1.512 GB, free: 1.629 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/1.335, allocations: 233.4 kB / 1.512 GB, free: 1.398 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/1.337, allocations: 303.9 kB / 1.513 GB, free: 1.102 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009548/1.346, allocations: 3.242 MB / 1.516 GB, free: 13.74 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/1.346, allocations: 8 kB / 1.516 GB, free: 13.73 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/1.347, allocations: 115.9 kB / 1.516 GB, free: 13.62 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-05/1.347, allocations: 97.25 kB / 1.516 GB, free: 13.52 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006347/1.353, allocations: 3.065 MB / 1.519 GB, free: 10.44 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.02124/1.374, allocations: 12.95 MB / 1.532 GB, free: 12.95 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/1.379, allocations: 2.4 MB / 1.534 GB, free: 10.53 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/1.381, allocations: 1.15 MB / 1.535 GB, free: 9.379 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/1.393, allocations: 6.938 MB / 1.542 GB, free: 1.758 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/1.396, allocations: 1.524 MB / 1.543 GB, free: 224 kB / 1.264 GB Notification: Performance of pre-optimization done (n=213): time 5.551e-06/1.396, allocations: 0 / 1.543 GB, free: 224 kB / 1.264 GB Notification: Performance of matching and sorting (n=213): time 0.01262/1.408, allocations: 4.319 MB / 1.547 GB, free: 11.82 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.409, allocations: 243.6 kB / 1.548 GB, free: 11.54 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007429/1.416, allocations: 3.699 MB / 1.551 GB, free: 7.816 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006775/1.417, allocations: 85.69 kB / 1.551 GB, free: 7.727 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00229/1.419, allocations: 1.782 MB / 1.553 GB, free: 5.93 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.42, allocations: 0.6933 MB / 1.554 GB, free: 5.227 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002199/1.422, allocations: 0.6857 MB / 1.554 GB, free: 4.531 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.422, allocations: 309.1 kB / 1.555 GB, free: 4.227 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/1.425, allocations: 1.404 MB / 1.556 GB, free: 2.812 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/1.429, allocations: 2.378 MB / 1.558 GB, free: 148 kB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6706/2.1, allocations: 3.131 MB / 1.562 GB, free: 378.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-05/2.1, allocations: 5.156 kB / 1.562 GB, free: 378.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.008327/2.108, allocations: 4.101 MB / 1.566 GB, free: 377.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/2.108, allocations: 14.02 kB / 1.566 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/2.108, allocations: 15.34 kB / 1.566 GB, free: 377.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093/3.202, allocations: 146.4 MB / 1.708 GB, free: 241.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/3.204, allocations: 0.5344 MB / 1.709 GB, free: 241.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/3.208, allocations: 3.597 MB / 1.713 GB, free: 237.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/3.212, allocations: 388 kB / 1.713 GB, free: 237.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005635/3.212, allocations: 143.9 kB / 1.713 GB, free: 237.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004375/3.217, allocations: 2.153 MB / 1.715 GB, free: 235 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003052/3.22, allocations: 2.271 MB / 1.717 GB, free: 232.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004587/3.224, allocations: 2.922 MB / 1.72 GB, free: 229.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.539e-05/3.224, allocations: 4 kB / 1.72 GB, free: 229.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=371) (initialization_lambda0): time 0.007953/3.232, allocations: 3.906 MB / 1.724 GB, free: 225.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/3.232, allocations: 12 kB / 1.724 GB, free: 225.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/3.232, allocations: 8 kB / 1.724 GB, free: 225.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091/4.324, allocations: 146.4 MB / 1.867 GB, free: 78.96 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/4.326, allocations: 0.5188 MB / 1.868 GB, free: 78.44 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/4.333, allocations: 6.037 MB / 1.873 GB, free: 72.06 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/4.338, allocations: 402.1 kB / 1.874 GB, free: 71.73 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005021/4.338, allocations: 128 kB / 1.874 GB, free: 71.6 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.00102/4.339, allocations: 367.3 kB / 1.874 GB, free: 71.24 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/4.34, allocations: 383.2 kB / 1.875 GB, free: 70.86 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/4.347, allocations: 3.463 MB / 1.878 GB, free: 67.41 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004745/4.352, allocations: 2.7 MB / 1.881 GB, free: 64.68 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/4.352, allocations: 0 / 1.881 GB, free: 64.68 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/4.354, allocations: 0.7759 MB / 1.881 GB, free: 63.91 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006235/4.354, allocations: 51.98 kB / 1.881 GB, free: 63.86 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/4.356, allocations: 155.8 kB / 1.882 GB, free: 63.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/4.357, allocations: 173.8 kB / 1.882 GB, free: 63.54 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006921/4.364, allocations: 3.135 MB / 1.885 GB, free: 60.43 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007058/4.371, allocations: 4.451 MB / 1.889 GB, free: 55.95 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001868/4.373, allocations: 1.214 MB / 1.89 GB, free: 54.74 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004073/4.377, allocations: 2.498 MB / 1.893 GB, free: 52.23 MB / 1.279 GB Notification: Performance of Backend: time 7.21e-07/4.377, allocations: 0 / 1.893 GB, free: 52.23 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01473/4.391, allocations: 6.197 MB / 1.899 GB, free: 46.51 MB / 1.279 GB Notification: Performance of SimCode: time 0.01551/4.407, allocations: 8.614 MB / 1.907 GB, free: 37.91 MB / 1.279 GB Notification: Performance of Templates: time 0.1434/4.55, allocations: 98.34 MB / 2.003 GB, free: 4.555 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)