Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 148 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.001241/0.001241, allocations: 196.1 kB / 16.53 MB, free: 6.656 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.475/2.475, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 65.61 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2281, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6427/0.8708, allocations: 236.4 MB / 1.284 GB, free: 53.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04527/0.9161, allocations: 43.33 MB / 1.326 GB, free: 52.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006782/0.9229, allocations: 234.3 kB / 1.326 GB, free: 52.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006401/0.9294, allocations: 3.194 MB / 1.329 GB, free: 52.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01671/0.9461, allocations: 7.744 MB / 1.337 GB, free: 50.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.9566, allocations: 5.69 MB / 1.343 GB, free: 48.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02333/0.9799, allocations: 26.65 MB / 1.369 GB, free: 34.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.9915, allocations: 11.5 MB / 1.38 GB, free: 28.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01378/1.005, allocations: 9.544 MB / 1.389 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00831/1.014, allocations: 6.879 MB / 1.396 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0017/1.015, allocations: 1.066 MB / 1.397 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008073/1.023, allocations: 3.477 MB / 1.4 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001741/1.025, allocations: 2.635 MB / 1.403 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005355/1.031, allocations: 5.545 MB / 1.408 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01649/1.047, allocations: 18.24 MB / 1.426 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.047, allocations: 0 / 1.426 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/1.047, allocations: 0 / 1.426 GB, free: 156 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002189/1.047, allocations: 0 / 1.426 GB, free: 156 kB / 1.014 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.01677/1.064, allocations: 10.36 MB / 1.436 GB, free: 5.793 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.064, allocations: 16.62 kB / 1.436 GB, free: 5.777 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008584/1.065, allocations: 0.6729 MB / 1.437 GB, free: 5.098 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/1.071, allocations: 1.359 MB / 1.438 GB, free: 3.727 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/1.087, allocations: 10.57 MB / 1.448 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/1.088, allocations: 472.7 kB / 1.449 GB, free: 8.801 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/1.089, allocations: 0.521 MB / 1.449 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/1.101, allocations: 7.276 MB / 1.457 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.976e-05/1.101, allocations: 11.84 kB / 1.457 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00057/1.102, allocations: 204 kB / 1.457 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/1.102, allocations: 201.4 kB / 1.457 GB, free: 440 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/1.113, allocations: 6.258 MB / 1.463 GB, free: 10.16 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.03906/1.152, allocations: 34.14 MB / 1.496 GB, free: 6.273 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/1.157, allocations: 2.396 MB / 1.499 GB, free: 3.875 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/1.16, allocations: 1.775 MB / 1.5 GB, free: 2.102 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/1.161, allocations: 2.032 MB / 1.502 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003242/1.165, allocations: 1.811 MB / 1.504 GB, free: 13.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 4.278e-06/1.165, allocations: 3.938 kB / 1.504 GB, free: 13.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.00986/1.175, allocations: 4.864 MB / 1.509 GB, free: 8.941 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/1.175, allocations: 77.41 kB / 1.509 GB, free: 8.855 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01374/1.188, allocations: 9.211 MB / 1.518 GB, free: 15.66 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000381/1.189, allocations: 93.64 kB / 1.518 GB, free: 15.57 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.003391/1.192, allocations: 3.813 MB / 1.522 GB, free: 11.76 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007613/1.193, allocations: 0.767 MB / 1.523 GB, free: 11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.194, allocations: 0.7961 MB / 1.523 GB, free: 10.19 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/1.194, allocations: 305.1 kB / 1.524 GB, free: 9.891 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.197, allocations: 1.669 MB / 1.525 GB, free: 8.219 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/1.201, allocations: 3.283 MB / 1.528 GB, free: 4.309 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006238/1.207, allocations: 4.354 MB / 1.533 GB, free: 15.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.207, allocations: 8 kB / 1.533 GB, free: 15.49 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009118/1.216, allocations: 5.117 MB / 1.538 GB, free: 10.32 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/1.216, allocations: 16 kB / 1.538 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/1.217, allocations: 32 kB / 1.538 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.574e-05/1.217, allocations: 48 kB / 1.538 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/1.22, allocations: 0.8427 MB / 1.539 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-05/1.22, allocations: 75.66 kB / 1.539 GB, free: 9.305 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005021/1.225, allocations: 0.617 MB / 1.539 GB, free: 8.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/1.225, allocations: 164 kB / 1.539 GB, free: 8.52 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.00438/1.229, allocations: 3.06 MB / 1.542 GB, free: 5.449 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.231, allocations: 0.7331 MB / 1.543 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007568/1.238, allocations: 4.089 MB / 1.547 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.238, allocations: 24 kB / 1.547 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.238, allocations: 3.938 kB / 1.547 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005553/1.244, allocations: 3.182 MB / 1.55 GB, free: 13.36 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.01731/1.261, allocations: 11.21 MB / 1.561 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.261, allocations: 0 / 1.561 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/1.264, allocations: 0.5308 MB / 1.562 GB, free: 1.535 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-05/1.264, allocations: 12 kB / 1.562 GB, free: 1.523 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/1.264, allocations: 79.94 kB / 1.562 GB, free: 1.445 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/1.264, allocations: 11.94 kB / 1.562 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.264, allocations: 7.938 kB / 1.562 GB, free: 1.426 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009889/1.274, allocations: 6.028 MB / 1.568 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/1.276, allocations: 1.436 MB / 1.569 GB, free: 9.875 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/1.277, allocations: 59.98 kB / 1.569 GB, free: 9.816 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003464/1.281, allocations: 243.6 kB / 1.569 GB, free: 9.578 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/1.281, allocations: 149.7 kB / 1.57 GB, free: 9.434 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/1.281, allocations: 123.9 kB / 1.57 GB, free: 9.312 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.008943/1.29, allocations: 6.549 MB / 1.576 GB, free: 2.789 MB / 1.17 GB Notification: Performance of sort global known variables: time 5.31e-07/1.29, allocations: 0 / 1.576 GB, free: 2.789 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00682/1.297, allocations: 2.09 MB / 1.578 GB, free: 0.6953 MB / 1.17 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.01365/1.311, allocations: 7.607 MB / 1.586 GB, free: 9.105 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.324, allocations: 6.069 MB / 1.592 GB, free: 3.039 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.324, allocations: 4 kB / 1.592 GB, free: 3.035 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002901/1.327, allocations: 1.66 MB / 1.593 GB, free: 1.375 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01897/1.346, allocations: 4.577 MB / 1.598 GB, free: 12.99 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1131/1.459, allocations: 90.11 MB / 1.686 GB, free: 11.75 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006278/1.465, allocations: 5.522 MB / 1.691 GB, free: 6.199 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007675/1.473, allocations: 2.143 MB / 1.693 GB, free: 4.086 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005227/1.478, allocations: 3.362 MB / 1.696 GB, free: 0.7227 MB / 1.295 GB Notification: Performance of SimCode: time 6.71e-07/1.478, allocations: 0 / 1.696 GB, free: 0.7227 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.661/9.139, allocations: 230.4 MB / 1.921 GB, free: 362.5 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/23.59, allocations: 6.719 kB / 1.921 GB, free: 362.5 MB / 1.342 GB (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)