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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001455/0.001455, allocations: 197 kB / 16.14 MB, free: 6.688 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 61.48 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3818, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9943/1.376, allocations: 234.9 MB / 1.297 GB, free: 49.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06811/1.444, allocations: 43.38 MB / 1.339 GB, free: 45.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01367/1.458, allocations: 217.3 kB / 1.339 GB, free: 45.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01233/1.47, allocations: 2.626 MB / 1.342 GB, free: 44.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0301/1.501, allocations: 7.203 MB / 1.349 GB, free: 41.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01613/1.517, allocations: 5.278 MB / 1.354 GB, free: 38.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04208/1.559, allocations: 33.29 MB / 1.387 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01858/1.577, allocations: 9.062 MB / 1.396 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02223/1.6, allocations: 7.397 MB / 1.403 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01466/1.614, allocations: 6.549 MB / 1.409 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004083/1.619, allocations: 416 kB / 1.41 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/1.634, allocations: 2.576 MB / 1.412 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005271/1.64, allocations: 1.918 MB / 1.414 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01353/1.653, allocations: 4.738 MB / 1.419 GB, free: 7.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03362/1.687, allocations: 17.79 MB / 1.436 GB, free: 6.164 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.687, allocations: 0 / 1.436 GB, free: 6.164 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/1.687, allocations: 0 / 1.436 GB, free: 6.164 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0007068/1.688, allocations: 4 kB / 1.436 GB, free: 6.16 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.03651/1.724, allocations: 10.34 MB / 1.446 GB, free: 11.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.724, allocations: 12.02 kB / 1.446 GB, free: 11.8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/1.735, allocations: 1.351 MB / 1.447 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02931/1.765, allocations: 11.12 MB / 1.458 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008016/1.765, allocations: 469.1 kB / 1.459 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002695/1.768, allocations: 0.5155 MB / 1.459 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/1.792, allocations: 7.3 MB / 1.466 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000315/1.792, allocations: 7.938 kB / 1.466 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002086/1.794, allocations: 207.9 kB / 1.467 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/1.794, allocations: 197.4 kB / 1.467 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0185/1.813, allocations: 6.259 MB / 1.473 GB, free: 348 kB / 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.06115/1.874, allocations: 34.35 MB / 1.506 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004988/1.879, allocations: 2.399 MB / 1.509 GB, free: 9.594 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00339/1.882, allocations: 1.774 MB / 1.51 GB, free: 7.82 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/1.884, allocations: 2.034 MB / 1.512 GB, free: 5.355 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003904/1.888, allocations: 1.806 MB / 1.514 GB, free: 3.539 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 4.379e-06/1.888, allocations: 0 / 1.514 GB, free: 3.539 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.01259/1.901, allocations: 4.871 MB / 1.519 GB, free: 14.66 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/1.901, allocations: 77.41 kB / 1.519 GB, free: 14.57 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02131/1.922, allocations: 8.938 MB / 1.528 GB, free: 5.656 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/1.924, allocations: 89.7 kB / 1.528 GB, free: 5.562 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.005277/1.929, allocations: 3.81 MB / 1.532 GB, free: 1.746 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.93, allocations: 0.7714 MB / 1.532 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/1.932, allocations: 0.7961 MB / 1.533 GB, free: 184 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.932, allocations: 301.1 kB / 1.533 GB, free: 15.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/1.935, allocations: 1.654 MB / 1.535 GB, free: 14.23 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004857/1.94, allocations: 3.276 MB / 1.538 GB, free: 10.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007519/1.948, allocations: 4.342 MB / 1.542 GB, free: 5.516 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/1.948, allocations: 8 kB / 1.542 GB, free: 5.508 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01209/1.96, allocations: 5.101 MB / 1.547 GB, free: 360 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/1.96, allocations: 16 kB / 1.547 GB, free: 344 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/1.96, allocations: 36.16 kB / 1.548 GB, free: 308 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.555e-05/1.96, allocations: 51.94 kB / 1.548 GB, free: 256 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/1.964, allocations: 0.8387 MB / 1.548 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.393e-05/1.964, allocations: 67.78 kB / 1.548 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008599/1.972, allocations: 0.8822 MB / 1.549 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005632/1.973, allocations: 160 kB / 1.549 GB, free: 14.3 MB / 1.154 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.007261/1.98, allocations: 3.062 MB / 1.552 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003014/1.983, allocations: 0.7293 MB / 1.553 GB, free: 10.49 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009547/1.993, allocations: 4.089 MB / 1.557 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/1.993, allocations: 28 kB / 1.557 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.993, allocations: 3.984 kB / 1.557 GB, free: 6.367 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006003/1.999, allocations: 3.188 MB / 1.56 GB, free: 3.129 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.02549/2.024, allocations: 10.88 MB / 1.571 GB, free: 8.168 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/2.024, allocations: 0 / 1.571 GB, free: 8.168 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/2.027, allocations: 0.5268 MB / 1.571 GB, free: 7.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/2.027, allocations: 8 kB / 1.571 GB, free: 7.633 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/2.027, allocations: 91.94 kB / 1.572 GB, free: 7.543 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/2.027, allocations: 8 kB / 1.572 GB, free: 7.535 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/2.027, allocations: 4 kB / 1.572 GB, free: 7.531 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/2.04, allocations: 6.031 MB / 1.577 GB, free: 1.434 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005056/2.045, allocations: 1.397 MB / 1.579 GB, free: 8 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00221/2.048, allocations: 57.12 kB / 1.579 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00585/2.053, allocations: 483 kB / 1.579 GB, free: 15.49 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/2.054, allocations: 153.7 kB / 1.579 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003648/2.054, allocations: 115.9 kB / 1.58 GB, free: 15.23 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01436/2.069, allocations: 6.354 MB / 1.586 GB, free: 8.898 MB / 1.186 GB Notification: Performance of sort global known variables: time 6.91e-07/2.069, allocations: 0 / 1.586 GB, free: 8.898 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.009784/2.078, allocations: 2.027 MB / 1.588 GB, free: 6.867 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.003064/2.082, allocations: 1.065 MB / 1.589 GB, free: 5.871 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008626/2.09, allocations: 3.792 MB / 1.593 GB, free: 2.082 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/2.09, allocations: 4 kB / 1.593 GB, free: 2.078 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/2.094, allocations: 1.668 MB / 1.594 GB, free: 420 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02569/2.119, allocations: 4.564 MB / 1.599 GB, free: 11.93 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/2.155, allocations: 18.82 MB / 1.617 GB, free: 9.078 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007292/2.162, allocations: 5.534 MB / 1.622 GB, free: 3.52 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.009672/2.172, allocations: 2.138 MB / 1.624 GB, free: 1.406 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/2.174, allocations: 0.5227 MB / 1.625 GB, free: 0.8867 MB / 1.217 GB Notification: Performance of SimCode: time 6.92e-07/2.174, allocations: 0 / 1.625 GB, free: 0.8867 MB / 1.217 GB Notification: Performance of Templates: time 1.606/3.78, allocations: 155.1 MB / 1.776 GB, free: 432.4 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)