Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.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.ChillerGroup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008595/0.0008599, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006281/0.006281, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 8.281 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4162, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9584/1.375, allocations: 231.5 MB / 1.3 GB, free: 50.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06486/1.44, allocations: 42.96 MB / 1.342 GB, free: 47.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01287/1.453, allocations: 204.1 kB / 1.342 GB, free: 46.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01391/1.467, allocations: 2.617 MB / 1.345 GB, free: 45.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02952/1.496, allocations: 7.21 MB / 1.352 GB, free: 42.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01613/1.512, allocations: 5.295 MB / 1.357 GB, free: 39.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04473/1.557, allocations: 33.29 MB / 1.39 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01681/1.574, allocations: 8.86 MB / 1.398 GB, free: 17.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01969/1.594, allocations: 7.155 MB / 1.405 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01345/1.607, allocations: 6.266 MB / 1.411 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003437/1.611, allocations: 316 kB / 1.412 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/1.624, allocations: 2.48 MB / 1.414 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004492/1.628, allocations: 1.771 MB / 1.416 GB, free: 376 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01555/1.644, allocations: 4.561 MB / 1.42 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0304/1.674, allocations: 17.34 MB / 1.437 GB, free: 10.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.674, allocations: 0 / 1.437 GB, free: 10.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.296e-06/1.675, allocations: 4 kB / 1.437 GB, free: 10.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0005823/1.675, allocations: 4 kB / 1.437 GB, free: 10.91 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02397/1.699, allocations: 8.254 MB / 1.445 GB, free: 2.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.699, allocations: 15.97 kB / 1.445 GB, free: 2.645 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009307/1.708, allocations: 1.383 MB / 1.447 GB, free: 1.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03065/1.739, allocations: 11.12 MB / 1.458 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008607/1.74, allocations: 470.1 kB / 1.458 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002562/1.743, allocations: 0.5154 MB / 1.458 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/1.762, allocations: 7.302 MB / 1.466 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/1.762, allocations: 15.84 kB / 1.466 GB, free: 13.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007039/1.763, allocations: 207.2 kB / 1.466 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/1.763, allocations: 205.3 kB / 1.466 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/1.778, allocations: 6.29 MB / 1.472 GB, free: 7.105 MB / 1.061 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.05706/1.835, allocations: 34.41 MB / 1.506 GB, free: 2.695 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/1.841, allocations: 2.417 MB / 1.508 GB, free: 284 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/1.845, allocations: 1.787 MB / 1.51 GB, free: 14.49 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/1.847, allocations: 2.046 MB / 1.512 GB, free: 12.02 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003827/1.851, allocations: 1.823 MB / 1.514 GB, free: 10.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 7.204e-06/1.851, allocations: 4 kB / 1.514 GB, free: 10.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.01219/1.863, allocations: 4.926 MB / 1.518 GB, free: 5.242 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/1.863, allocations: 77.41 kB / 1.519 GB, free: 5.156 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01956/1.883, allocations: 8.938 MB / 1.527 GB, free: 12.24 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0009968/1.884, allocations: 85.7 kB / 1.527 GB, free: 12.15 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.005468/1.889, allocations: 3.806 MB / 1.531 GB, free: 8.344 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.891, allocations: 0.7832 MB / 1.532 GB, free: 7.566 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000528/1.891, allocations: 284.5 kB / 1.532 GB, free: 7.281 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.891, allocations: 305.1 kB / 1.532 GB, free: 6.98 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.895, allocations: 1.673 MB / 1.534 GB, free: 5.305 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005178/1.9, allocations: 3.284 MB / 1.537 GB, free: 1.387 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008116/1.908, allocations: 4.385 MB / 1.542 GB, free: 12.54 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/1.908, allocations: 8 kB / 1.542 GB, free: 12.53 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01273/1.921, allocations: 5.133 MB / 1.547 GB, free: 7.34 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/1.921, allocations: 20 kB / 1.547 GB, free: 7.32 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/1.921, allocations: 32 kB / 1.547 GB, free: 7.289 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.751e-05/1.921, allocations: 48 kB / 1.547 GB, free: 7.242 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/1.925, allocations: 0.8502 MB / 1.547 GB, free: 6.391 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.99e-05/1.925, allocations: 63.8 kB / 1.548 GB, free: 6.328 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008406/1.933, allocations: 0.8898 MB / 1.548 GB, free: 5.441 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006767/1.934, allocations: 160 kB / 1.549 GB, free: 5.285 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,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],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006877/1.941, allocations: 3.066 MB / 1.552 GB, free: 2.207 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00257/1.944, allocations: 0.7331 MB / 1.552 GB, free: 1.465 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009407/1.953, allocations: 4.127 MB / 1.556 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/1.953, allocations: 27.98 kB / 1.556 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.953, allocations: 0 / 1.556 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00593/1.959, allocations: 3.22 MB / 1.559 GB, free: 10.04 MB / 1.154 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 postOpt removeSimpleEquations (simulation): time 0.02612/1.985, allocations: 10.93 MB / 1.57 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.985, allocations: 0 / 1.57 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.988, allocations: 0.5423 MB / 1.571 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.988, allocations: 12 kB / 1.571 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/1.988, allocations: 79.94 kB / 1.571 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/1.988, allocations: 8 kB / 1.571 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.988, allocations: 4 kB / 1.571 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/2, allocations: 6.078 MB / 1.577 GB, free: 8.254 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005467/2.006, allocations: 1.537 MB / 1.578 GB, free: 6.688 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002392/2.008, allocations: 63.97 kB / 1.578 GB, free: 6.625 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006293/2.015, allocations: 492.4 kB / 1.579 GB, free: 6.148 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/2.015, allocations: 157.7 kB / 1.579 GB, free: 5.996 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003479/2.015, allocations: 111.9 kB / 1.579 GB, free: 5.887 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01438/2.03, allocations: 6.357 MB / 1.585 GB, free: 15.56 MB / 1.186 GB Notification: Performance of sort global known variables: time 6.31e-07/2.03, allocations: 0 / 1.585 GB, free: 15.56 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.009725/2.04, allocations: 2.016 MB / 1.587 GB, free: 13.54 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002985/2.043, allocations: 1.076 MB / 1.588 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00928/2.052, allocations: 3.828 MB / 1.592 GB, free: 8.723 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/2.052, allocations: 4 kB / 1.592 GB, free: 8.719 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003767/2.056, allocations: 1.687 MB / 1.594 GB, free: 7.031 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03064/2.086, allocations: 4.564 MB / 1.598 GB, free: 2.551 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03941/2.126, allocations: 19.07 MB / 1.617 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008878/2.135, allocations: 5.518 MB / 1.622 GB, free: 9.914 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.01068/2.146, allocations: 2.137 MB / 1.624 GB, free: 7.801 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/2.148, allocations: 0.5266 MB / 1.625 GB, free: 7.273 MB / 1.217 GB Notification: Performance of SimCode: time 8.52e-07/2.148, allocations: 0 / 1.625 GB, free: 7.273 MB / 1.217 GB Notification: Performance of Templates: time 1.625/3.773, allocations: 154.3 MB / 1.775 GB, free: 481.8 MB / 1.342 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)