Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 208.4 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.11 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.426, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup): time 0.2906/0.7166, allocations: 227 MB / 1.549 GB, free: 13.16 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.05346/0.77, allocations: 31.06 MB / 1.579 GB, free: 14.02 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005498/0.7755, allocations: 154.8 kB / 1.579 GB, free: 13.87 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.008154/0.7837, allocations: 2.627 MB / 1.582 GB, free: 11.23 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.7992, allocations: 4.929 MB / 1.587 GB, free: 6.293 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.81, allocations: 3.677 MB / 1.59 GB, free: 2.637 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02405/0.8341, allocations: 14.87 MB / 1.605 GB, free: 3.727 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006983/0.8411, allocations: 3.393 MB / 1.608 GB, free: 260 kB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9876/1.829, allocations: 3.868 MB / 1.612 GB, free: 46.34 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007112/1.836, allocations: 2.866 MB / 1.615 GB, free: 46.34 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001995/1.838, allocations: 0.4982 MB / 1.615 GB, free: 46.34 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009218/1.847, allocations: 3.743 MB / 1.619 GB, free: 46.34 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002702/1.85, allocations: 1.633 MB / 1.62 GB, free: 46.34 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005117/1.855, allocations: 2.087 MB / 1.622 GB, free: 46.03 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01972/1.875, allocations: 9.334 MB / 1.631 GB, free: 44.94 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.875, allocations: 0 / 1.631 GB, free: 44.94 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.825e-06/1.875, allocations: 1.969 kB / 1.631 GB, free: 44.94 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002611/1.875, allocations: 0 / 1.631 GB, free: 44.94 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01717/1.892, allocations: 5.933 MB / 1.637 GB, free: 42.33 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.892, allocations: 8.719 kB / 1.637 GB, free: 42.33 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/1.897, allocations: 0.873 MB / 1.638 GB, free: 42.05 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/1.908, allocations: 4.655 MB / 1.643 GB, free: 41.21 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/1.908, allocations: 231.5 kB / 1.643 GB, free: 41.2 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008546/1.909, allocations: 295.3 kB / 1.643 GB, free: 41.2 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006244/1.915, allocations: 3.799 MB / 1.647 GB, free: 40.2 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/1.915, allocations: 6.609 kB / 1.647 GB, free: 40.2 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/1.915, allocations: 115.7 kB / 1.647 GB, free: 40.2 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/1.915, allocations: 68.03 kB / 1.647 GB, free: 40.2 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005464/1.921, allocations: 3.037 MB / 1.65 GB, free: 40.17 MB / 1.295 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.01972/1.941, allocations: 9.896 MB / 1.66 GB, free: 37.91 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/1.945, allocations: 2.322 MB / 1.662 GB, free: 37.87 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.947, allocations: 1.059 MB / 1.663 GB, free: 37.86 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009677/1.957, allocations: 3.728 MB / 1.667 GB, free: 37.48 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002643/1.96, allocations: 1.84 MB / 1.668 GB, free: 37 MB / 1.295 GB Notification: Performance of pre-optimization done (n=211): time 5.05e-06/1.96, allocations: 0 / 1.668 GB, free: 37 MB / 1.295 GB Notification: Performance of matching and sorting (n=211): time 0.01212/1.972, allocations: 4.156 MB / 1.673 GB, free: 36.68 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/1.972, allocations: 236.2 kB / 1.673 GB, free: 36.43 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005551/1.977, allocations: 3.571 MB / 1.676 GB, free: 36.12 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006816/1.978, allocations: 94.25 kB / 1.676 GB, free: 36.09 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/1.98, allocations: 1.796 MB / 1.678 GB, free: 35.54 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/1.98, allocations: 0.7188 MB / 1.679 GB, free: 35.08 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/1.981, allocations: 0.6875 MB / 1.679 GB, free: 35.04 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/1.981, allocations: 312.1 kB / 1.68 GB, free: 34.74 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/1.984, allocations: 1.415 MB / 1.681 GB, free: 34.71 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/1.987, allocations: 3.619 MB / 1.685 GB, free: 32.43 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/1.991, allocations: 3.139 MB / 1.688 GB, free: 31.98 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.991, allocations: 2.75 kB / 1.688 GB, free: 31.98 MB / 1.295 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.008111/2, allocations: 4.111 MB / 1.692 GB, free: 31.61 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/2, allocations: 8.875 kB / 1.692 GB, free: 31.61 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/2, allocations: 11.22 kB / 1.692 GB, free: 31.61 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122/3.121, allocations: 146.5 MB / 1.835 GB, free: 12.43 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/3.124, allocations: 0.525 MB / 1.835 GB, free: 11.95 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/3.129, allocations: 3.48 MB / 1.839 GB, free: 8.605 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/3.135, allocations: 375 kB / 1.839 GB, free: 8.285 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008071/3.136, allocations: 142.7 kB / 1.839 GB, free: 8.172 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005525/3.141, allocations: 2.164 MB / 1.841 GB, free: 6.875 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004843/3.146, allocations: 3.503 MB / 1.845 GB, free: 3.398 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005902/3.152, allocations: 2.917 MB / 1.848 GB, free: 1.371 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.644e-05/3.152, allocations: 4 kB / 1.848 GB, free: 1.367 MB / 1.389 GB Notification: Performance of matching and sorting (n=368) (initialization_lambda0): time 0.009701/3.162, allocations: 3.919 MB / 1.851 GB, free: 14.41 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/3.162, allocations: 8 kB / 1.851 GB, free: 14.4 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/3.162, allocations: 12.47 kB / 1.851 GB, free: 14.39 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171/4.333, allocations: 146.5 MB / 1.994 GB, free: 11.7 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/4.336, allocations: 0.522 MB / 1.995 GB, free: 11.21 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/4.345, allocations: 5.728 MB / 2.001 GB, free: 5.203 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006124/4.351, allocations: 400.8 kB / 2.001 GB, free: 4.812 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007926/4.352, allocations: 124 kB / 2.001 GB, free: 4.691 MB / 1.545 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,coo.com.y1[1],coo.com.y1One,coo.preY1[1].u,$PRE.coo.preY1[1].u,coo.preY1[2].u,$PRE.coo.preY1[2].u,coo.preY1[2].y,y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.idx,$PRE.y1.intTimTab.idx,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,pum.com.y1[1],pum.com.y1One,pum.isOpe.greHys.y,$PRE.pum.isOpe.greHys.y,pum.preY1[1].u,$PRE.pum.preY1[1].u,pum.preY1[2].u,$PRE.pum.preY1[2].u,pum.preY1[2].y,$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 (318): * Single equations (assignments): 312 * 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.001175/4.353, allocations: 384.1 kB / 2.001 GB, free: 4.344 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/4.354, allocations: 377.5 kB / 2.002 GB, free: 3.973 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008786/4.363, allocations: 3.461 MB / 2.005 GB, free: 0.5234 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005832/4.369, allocations: 2.703 MB / 2.008 GB, free: 13.79 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/4.369, allocations: 0 / 2.008 GB, free: 13.79 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002962/4.372, allocations: 0.694 MB / 2.009 GB, free: 13.09 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008716/4.373, allocations: 52 kB / 2.009 GB, free: 13.04 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/4.375, allocations: 157.2 kB / 2.009 GB, free: 12.89 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/4.375, allocations: 185.6 kB / 2.009 GB, free: 12.71 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008054/4.383, allocations: 3.131 MB / 2.012 GB, free: 9.605 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00924/4.393, allocations: 4.5 MB / 2.016 GB, free: 5.086 MB / 1.561 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002376/4.395, allocations: 1.135 MB / 2.017 GB, free: 3.957 MB / 1.561 GB Notification: Performance of sorting global known variables: time 0.005553/4.401, allocations: 2.392 MB / 2.02 GB, free: 1.586 MB / 1.561 GB Notification: Performance of Backend: time 5.31e-07/4.401, allocations: 0 / 2.02 GB, free: 1.586 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.01874/4.419, allocations: 5.932 MB / 2.026 GB, free: 12.11 MB / 1.576 GB Notification: Performance of SimCode: time 0.01878/4.438, allocations: 8.673 MB / 2.034 GB, free: 3.461 MB / 1.576 GB Notification: Performance of Templates: time 0.1788/4.617, allocations: 106.9 MB / 2.138 GB, free: 10.31 MB / 1.686 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.CoolingTowerGroup.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 17.42034406300081] Failed to read output from testmodel.py, exit status != 0: 4.626548783002363 4.641396698 2.763420895 Calling exit ...