Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001034/0.001035, allocations: 91.84 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.01102/0.01102, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.574/1.574, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 8.781 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.372, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.008/1.38, allocations: 231.5 MB / 1.3 GB, free: 50.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06119/1.441, allocations: 42.96 MB / 1.342 GB, free: 47.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01202/1.453, allocations: 205.2 kB / 1.342 GB, free: 46.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/1.464, allocations: 2.616 MB / 1.345 GB, free: 45.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02937/1.494, allocations: 7.208 MB / 1.352 GB, free: 42.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0169/1.511, allocations: 5.298 MB / 1.357 GB, free: 39.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04414/1.555, allocations: 33.27 MB / 1.39 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01577/1.571, allocations: 8.871 MB / 1.398 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02291/1.594, allocations: 7.148 MB / 1.405 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01423/1.608, allocations: 6.267 MB / 1.411 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002885/1.611, allocations: 316 kB / 1.412 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/1.624, allocations: 2.481 MB / 1.414 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004339/1.629, allocations: 1.771 MB / 1.416 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01332/1.642, allocations: 4.566 MB / 1.42 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02973/1.672, allocations: 17.34 MB / 1.437 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.672, allocations: 0 / 1.437 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.619e-06/1.672, allocations: 0 / 1.437 GB, free: 10.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0005478/1.673, allocations: 0 / 1.437 GB, free: 10.93 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.02231/1.695, allocations: 8.261 MB / 1.445 GB, free: 2.668 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.695, allocations: 8.031 kB / 1.445 GB, free: 2.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008381/1.703, allocations: 1.39 MB / 1.447 GB, free: 1.258 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02453/1.728, allocations: 11.12 MB / 1.458 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005672/1.729, allocations: 477.2 kB / 1.458 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/1.73, allocations: 0.5194 MB / 1.458 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/1.748, allocations: 7.297 MB / 1.466 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/1.748, allocations: 11.84 kB / 1.466 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006401/1.749, allocations: 206.6 kB / 1.466 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/1.749, allocations: 193.3 kB / 1.466 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/1.763, allocations: 6.302 MB / 1.472 GB, free: 7.113 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.06025/1.824, allocations: 34.4 MB / 1.506 GB, free: 2.715 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/1.829, allocations: 2.421 MB / 1.508 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/1.833, allocations: 1.791 MB / 1.51 GB, free: 14.5 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/1.835, allocations: 2.046 MB / 1.512 GB, free: 12.03 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003889/1.839, allocations: 1.831 MB / 1.514 GB, free: 10.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 4.89e-06/1.839, allocations: 0 / 1.514 GB, free: 10.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.01263/1.851, allocations: 4.925 MB / 1.518 GB, free: 5.25 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/1.851, allocations: 81.41 kB / 1.519 GB, free: 5.16 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02045/1.872, allocations: 8.934 MB / 1.527 GB, free: 12.25 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.00118/1.873, allocations: 89.7 kB / 1.527 GB, free: 12.15 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.005401/1.878, allocations: 3.801 MB / 1.531 GB, free: 8.352 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/1.88, allocations: 0.7763 MB / 1.532 GB, free: 7.582 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/1.881, allocations: 288.4 kB / 1.532 GB, free: 7.293 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.881, allocations: 309.1 kB / 1.532 GB, free: 6.988 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/1.884, allocations: 1.677 MB / 1.534 GB, free: 5.309 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005031/1.889, allocations: 3.284 MB / 1.537 GB, free: 1.391 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007689/1.897, allocations: 4.378 MB / 1.542 GB, free: 12.55 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/1.897, allocations: 12 kB / 1.542 GB, free: 12.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01268/1.91, allocations: 5.129 MB / 1.547 GB, free: 7.355 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/1.91, allocations: 20 kB / 1.547 GB, free: 7.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.851e-05/1.91, allocations: 28.09 kB / 1.547 GB, free: 7.309 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.092e-05/1.91, allocations: 56 kB / 1.547 GB, free: 7.254 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/1.913, allocations: 0.8502 MB / 1.547 GB, free: 6.402 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-05/1.914, allocations: 63.8 kB / 1.548 GB, free: 6.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009564/1.923, allocations: 0.8876 MB / 1.548 GB, free: 5.457 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007044/1.924, allocations: 160 kB / 1.549 GB, free: 5.301 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.00792/1.932, allocations: 3.066 MB / 1.552 GB, free: 2.223 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003536/1.935, allocations: 0.7331 MB / 1.552 GB, free: 1.48 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.946, allocations: 4.135 MB / 1.556 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/1.946, allocations: 23.98 kB / 1.556 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.946, allocations: 4 kB / 1.556 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006096/1.952, allocations: 3.22 MB / 1.559 GB, free: 10.05 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.02683/1.979, allocations: 10.92 MB / 1.57 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.979, allocations: 4.25 kB / 1.57 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.981, allocations: 0.5422 MB / 1.571 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/1.981, allocations: 8 kB / 1.571 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/1.982, allocations: 87.94 kB / 1.571 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/1.982, allocations: 11.98 kB / 1.571 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.982, allocations: 4 kB / 1.571 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.994, allocations: 6.07 MB / 1.577 GB, free: 8.266 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00569/2, allocations: 1.537 MB / 1.578 GB, free: 6.699 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002211/2.002, allocations: 59.98 kB / 1.578 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005891/2.008, allocations: 496.6 kB / 1.579 GB, free: 6.16 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/2.008, allocations: 157.7 kB / 1.579 GB, free: 6.008 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/2.009, allocations: 119.8 kB / 1.579 GB, free: 5.891 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0143/2.023, allocations: 6.353 MB / 1.585 GB, free: 15.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.71e-07/2.023, allocations: 0 / 1.585 GB, free: 15.57 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.01031/2.034, allocations: 2.016 MB / 1.587 GB, free: 13.55 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.002588/2.036, allocations: 1.073 MB / 1.588 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008296/2.044, allocations: 3.831 MB / 1.592 GB, free: 8.727 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.045, allocations: 4 kB / 1.592 GB, free: 8.723 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003377/2.048, allocations: 1.676 MB / 1.594 GB, free: 7.047 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02965/2.078, allocations: 4.579 MB / 1.598 GB, free: 2.555 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03975/2.117, 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.006875/2.124, allocations: 5.518 MB / 1.622 GB, free: 9.918 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.009238/2.134, allocations: 2.139 MB / 1.624 GB, free: 7.801 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/2.135, allocations: 0.5266 MB / 1.625 GB, free: 7.273 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/2.136, allocations: 0 / 1.625 GB, free: 7.273 MB / 1.217 GB Notification: Performance of Templates: time 1.687/3.822, allocations: 154.2 MB / 1.775 GB, free: 481.8 MB / 1.342 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)