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.001277/0.001277, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.61 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3858, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9714/1.357, allocations: 236.4 MB / 1.299 GB, free: 46.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0702/1.428, allocations: 43.33 MB / 1.341 GB, free: 42.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01344/1.441, allocations: 231.9 kB / 1.342 GB, free: 42.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01163/1.453, allocations: 3.193 MB / 1.345 GB, free: 41.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02961/1.482, allocations: 7.756 MB / 1.352 GB, free: 37.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02061/1.503, allocations: 5.682 MB / 1.358 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04244/1.546, allocations: 26.65 MB / 1.384 GB, free: 20.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0174/1.563, allocations: 11.49 MB / 1.395 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02255/1.586, allocations: 9.551 MB / 1.404 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/1.599, allocations: 6.877 MB / 1.411 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004534/1.604, allocations: 1.066 MB / 1.412 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/1.62, allocations: 3.471 MB / 1.416 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006667/1.627, allocations: 2.638 MB / 1.418 GB, free: 7.668 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01695/1.644, allocations: 5.54 MB / 1.423 GB, free: 2.156 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03507/1.679, allocations: 18.25 MB / 1.441 GB, free: 344 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/1.679, allocations: 0 / 1.441 GB, free: 344 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/1.679, allocations: 0 / 1.441 GB, free: 344 kB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0007205/1.68, allocations: 4 kB / 1.441 GB, free: 340 kB / 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.03997/1.72, allocations: 10.35 MB / 1.451 GB, free: 5.977 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.72, allocations: 16.02 kB / 1.451 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/1.731, allocations: 1.347 MB / 1.453 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02839/1.759, allocations: 10.58 MB / 1.463 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008227/1.76, allocations: 472 kB / 1.464 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003072/1.763, allocations: 0.5228 MB / 1.464 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/1.79, allocations: 7.279 MB / 1.471 GB, free: 1.711 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003528/1.79, allocations: 19.83 kB / 1.471 GB, free: 1.691 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002463/1.793, allocations: 198.8 kB / 1.471 GB, free: 1.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002663/1.793, allocations: 201.3 kB / 1.472 GB, free: 1.301 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/1.813, allocations: 6.263 MB / 1.478 GB, free: 11.02 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.06816/1.881, allocations: 34.14 MB / 1.511 GB, free: 7.129 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006065/1.887, allocations: 2.389 MB / 1.513 GB, free: 4.742 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004072/1.891, allocations: 1.771 MB / 1.515 GB, free: 2.969 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002029/1.893, allocations: 2.035 MB / 1.517 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004459/1.898, allocations: 1.813 MB / 1.519 GB, free: 14.68 MB / 1.123 GB Notification: Performance of pre-optimization done (n=220): time 5.79e-06/1.898, allocations: 0 / 1.519 GB, free: 14.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=220): time 0.01385/1.912, allocations: 4.876 MB / 1.524 GB, free: 9.793 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/1.912, allocations: 77.39 kB / 1.524 GB, free: 9.707 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03231/1.944, allocations: 9.207 MB / 1.533 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.945, allocations: 85.7 kB / 1.533 GB, free: 440 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.007399/1.953, allocations: 3.807 MB / 1.536 GB, free: 12.62 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.955, allocations: 0.7787 MB / 1.537 GB, free: 11.85 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003513/1.958, allocations: 0.7922 MB / 1.538 GB, free: 11.05 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.959, allocations: 309.1 kB / 1.538 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004221/1.963, allocations: 1.662 MB / 1.54 GB, free: 9.078 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005959/1.969, allocations: 3.28 MB / 1.543 GB, free: 5.168 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008654/1.977, allocations: 4.354 MB / 1.547 GB, free: 364 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-05/1.978, allocations: 8 kB / 1.547 GB, free: 356 kB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.0154/1.993, allocations: 5.113 MB / 1.552 GB, free: 11.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/1.993, allocations: 20 kB / 1.552 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.891e-05/1.993, allocations: 31.98 kB / 1.552 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.279e-05/1.993, allocations: 48 kB / 1.552 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/1.997, allocations: 0.843 MB / 1.553 GB, free: 10.24 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001109/1.997, allocations: 71.72 kB / 1.553 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009335/2.007, allocations: 0.6208 MB / 1.554 GB, free: 9.543 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000849/2.007, allocations: 160 kB / 1.554 GB, free: 9.387 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.00823/2.016, allocations: 3.062 MB / 1.557 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003879/2.02, allocations: 0.7331 MB / 1.558 GB, free: 5.57 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/2.032, allocations: 4.082 MB / 1.562 GB, free: 1.484 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/2.033, allocations: 31.98 kB / 1.562 GB, free: 1.453 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/2.033, allocations: 0 / 1.562 GB, free: 1.453 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007077/2.04, allocations: 3.18 MB / 1.565 GB, free: 14.22 MB / 1.17 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.0267/2.066, allocations: 11.21 MB / 1.576 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/2.066, allocations: 4 kB / 1.576 GB, free: 2.922 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/2.069, allocations: 0.5269 MB / 1.576 GB, free: 2.395 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.581e-05/2.069, allocations: 15.94 kB / 1.576 GB, free: 2.379 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/2.069, allocations: 79.94 kB / 1.576 GB, free: 2.301 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/2.069, allocations: 15.98 kB / 1.577 GB, free: 2.285 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/2.069, allocations: 4 kB / 1.577 GB, free: 2.281 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/2.082, allocations: 6.035 MB / 1.582 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005483/2.088, allocations: 1.436 MB / 1.584 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002674/2.09, allocations: 59.98 kB / 1.584 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/2.096, allocations: 243.6 kB / 1.584 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/2.096, allocations: 157.7 kB / 1.584 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003722/2.097, allocations: 111.9 kB / 1.584 GB, free: 10.16 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01679/2.113, allocations: 6.553 MB / 1.591 GB, free: 3.633 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.21e-07/2.113, allocations: 0 / 1.591 GB, free: 3.633 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.01138/2.125, allocations: 2.086 MB / 1.593 GB, free: 1.543 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.00372/2.129, allocations: 1.116 MB / 1.594 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01575/2.144, allocations: 6.078 MB / 1.6 GB, free: 10.43 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/2.144, allocations: 4 kB / 1.6 GB, free: 10.43 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004122/2.149, allocations: 1.664 MB / 1.601 GB, free: 8.762 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02889/2.177, allocations: 4.57 MB / 1.606 GB, free: 4.383 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/2.218, allocations: 16.31 MB / 1.622 GB, free: 4.039 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/2.229, allocations: 5.516 MB / 1.627 GB, free: 14.5 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.01311/2.243, allocations: 2.154 MB / 1.629 GB, free: 12.38 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003135/2.246, allocations: 0.5344 MB / 1.63 GB, free: 11.85 MB / 1.232 GB Notification: Performance of SimCode: time 1.824e-06/2.246, allocations: 0 / 1.63 GB, free: 11.85 MB / 1.232 GB Notification: Performance of Templates: time 1.602/3.848, allocations: 161.6 MB / 1.788 GB, free: 429.7 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)