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.001157/0.001157, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001273/0.001273, allocations: 186.6 kB / 16.25 MB, free: 6.578 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 63.34 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4236, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.043/1.467, allocations: 234.2 MB / 1.296 GB, free: 49.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06503/1.532, allocations: 42.98 MB / 1.338 GB, free: 45.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01571/1.547, allocations: 214.9 kB / 1.339 GB, free: 45.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01277/1.56, allocations: 2.798 MB / 1.341 GB, free: 44.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02662/1.587, allocations: 7.255 MB / 1.348 GB, free: 41.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01524/1.602, allocations: 5.333 MB / 1.354 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0366/1.639, allocations: 26.8 MB / 1.38 GB, free: 24.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01751/1.656, allocations: 11.39 MB / 1.391 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02522/1.682, allocations: 9.64 MB / 1.4 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/1.695, allocations: 7.081 MB / 1.407 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004112/1.699, allocations: 1.055 MB / 1.408 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/1.714, allocations: 3.502 MB / 1.412 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006582/1.72, allocations: 2.628 MB / 1.414 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01737/1.738, allocations: 5.544 MB / 1.42 GB, free: 6.246 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0333/1.771, allocations: 18.24 MB / 1.438 GB, free: 4.441 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/1.771, allocations: 0 / 1.438 GB, free: 4.441 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.464e-06/1.771, allocations: 0 / 1.438 GB, free: 4.441 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0005941/1.772, allocations: 0 / 1.438 GB, free: 4.441 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.03336/1.805, allocations: 10.35 MB / 1.448 GB, free: 10.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.805, allocations: 12.03 kB / 1.448 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009551/1.815, allocations: 1.359 MB / 1.449 GB, free: 8.707 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03071/1.845, allocations: 11.12 MB / 1.46 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007593/1.846, allocations: 477.3 kB / 1.46 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/1.849, allocations: 0.5254 MB / 1.461 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/1.871, allocations: 7.275 MB / 1.468 GB, free: 5.297 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/1.871, allocations: 11.92 kB / 1.468 GB, free: 5.285 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007879/1.872, allocations: 207 kB / 1.468 GB, free: 5.086 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/1.872, allocations: 201.3 kB / 1.468 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/1.888, allocations: 6.251 MB / 1.474 GB, free: 14.62 MB / 1.076 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.0609/1.949, allocations: 34.35 MB / 1.508 GB, free: 10.27 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/1.955, allocations: 2.396 MB / 1.51 GB, free: 7.867 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/1.958, allocations: 1.778 MB / 1.512 GB, free: 6.09 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/1.96, allocations: 2.031 MB / 1.514 GB, free: 3.629 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003874/1.964, allocations: 1.814 MB / 1.516 GB, free: 1.805 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 4.88e-06/1.964, allocations: 0 / 1.516 GB, free: 1.805 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.01226/1.976, allocations: 4.871 MB / 1.521 GB, free: 12.93 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/1.976, allocations: 81.41 kB / 1.521 GB, free: 12.84 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01785/1.994, allocations: 8.938 MB / 1.529 GB, free: 3.918 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.995, allocations: 89.7 kB / 1.529 GB, free: 3.824 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.004878/2, allocations: 3.805 MB / 1.533 GB, free: 16 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001505/2.002, allocations: 0.7799 MB / 1.534 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/2.003, allocations: 0.7922 MB / 1.535 GB, free: 14.45 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/2.003, allocations: 301.1 kB / 1.535 GB, free: 14.15 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/2.006, allocations: 1.658 MB / 1.537 GB, free: 12.49 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/2.011, allocations: 3.276 MB / 1.54 GB, free: 8.582 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00793/2.019, allocations: 4.342 MB / 1.544 GB, free: 3.781 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/2.019, allocations: 12 kB / 1.544 GB, free: 3.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01383/2.033, allocations: 5.094 MB / 1.549 GB, free: 14.62 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/2.033, allocations: 22.12 kB / 1.549 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/2.033, allocations: 32 kB / 1.549 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.319e-05/2.034, allocations: 51.98 kB / 1.549 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/2.037, allocations: 0.8387 MB / 1.55 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-05/2.037, allocations: 71.72 kB / 1.55 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009041/2.046, allocations: 0.8745 MB / 1.551 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000777/2.047, allocations: 160 kB / 1.551 GB, free: 12.57 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.00669/2.054, allocations: 3.059 MB / 1.554 GB, free: 9.504 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003246/2.057, allocations: 0.737 MB / 1.555 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/2.069, allocations: 4.086 MB / 1.559 GB, free: 4.668 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/2.069, allocations: 24 kB / 1.559 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/2.069, allocations: 0 / 1.559 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00739/2.076, allocations: 3.188 MB / 1.562 GB, free: 1.406 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.03137/2.108, allocations: 10.88 MB / 1.572 GB, free: 6.445 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/2.108, allocations: 0 / 1.572 GB, free: 6.445 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/2.111, allocations: 0.5308 MB / 1.573 GB, free: 5.914 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-05/2.111, allocations: 15.94 kB / 1.573 GB, free: 5.898 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/2.111, allocations: 79.94 kB / 1.573 GB, free: 5.82 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/2.111, allocations: 11.94 kB / 1.573 GB, free: 5.809 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/2.111, allocations: 4 kB / 1.573 GB, free: 5.805 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/2.124, allocations: 6.025 MB / 1.579 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005631/2.13, allocations: 1.397 MB / 1.58 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002576/2.132, allocations: 67.97 kB / 1.58 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006531/2.139, allocations: 479 kB / 1.581 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004947/2.139, allocations: 149.7 kB / 1.581 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003988/2.14, allocations: 119.8 kB / 1.581 GB, free: 13.5 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01368/2.154, allocations: 6.362 MB / 1.587 GB, free: 7.16 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.31e-07/2.154, allocations: 0 / 1.587 GB, free: 7.16 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.008197/2.162, allocations: 2.019 MB / 1.589 GB, free: 5.137 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.002533/2.164, allocations: 1.057 MB / 1.59 GB, free: 4.148 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01576/2.18, allocations: 6.068 MB / 1.596 GB, free: 14.09 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/2.18, allocations: 4 kB / 1.596 GB, free: 14.08 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/2.184, allocations: 1.663 MB / 1.598 GB, free: 12.42 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02494/2.209, allocations: 4.563 MB / 1.602 GB, free: 8.047 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/2.245, allocations: 18.82 MB / 1.621 GB, free: 5.191 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007567/2.253, allocations: 5.514 MB / 1.626 GB, free: 15.65 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.01028/2.263, allocations: 2.132 MB / 1.628 GB, free: 13.54 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/2.266, allocations: 0.5227 MB / 1.629 GB, free: 13.02 MB / 1.232 GB Notification: Performance of SimCode: time 1.052e-06/2.266, allocations: 0 / 1.629 GB, free: 13.02 MB / 1.232 GB Notification: Performance of Templates: time 1.514/3.78, allocations: 157.5 MB / 1.782 GB, free: 433.6 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)