Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_Experimental_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.001169/0.001169, 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.001181/0.001181, allocations: 194 kB / 16.14 MB, free: 6.711 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.162/1.162, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.33/2.33, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 68.03 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2499, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6298/0.8798, allocations: 234.9 MB / 1.282 GB, free: 52.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04461/0.9245, allocations: 43.42 MB / 1.324 GB, free: 51.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007282/0.9318, allocations: 216.5 kB / 1.324 GB, free: 51.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006903/0.9387, allocations: 2.617 MB / 1.327 GB, free: 51.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01721/0.956, allocations: 7.223 MB / 1.334 GB, free: 50.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.9676, allocations: 5.271 MB / 1.339 GB, free: 48.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02703/0.9946, allocations: 33.29 MB / 1.372 GB, free: 33.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/1.005, allocations: 9.068 MB / 1.38 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01312/1.018, allocations: 7.385 MB / 1.388 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008908/1.027, allocations: 6.562 MB / 1.394 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001612/1.028, allocations: 412 kB / 1.394 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00819/1.037, allocations: 2.58 MB / 1.397 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002046/1.039, allocations: 1.919 MB / 1.399 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006224/1.045, allocations: 4.744 MB / 1.403 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01708/1.062, allocations: 18.33 MB / 1.421 GB, free: 2.887 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.062, allocations: 4 kB / 1.421 GB, free: 2.883 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/1.062, allocations: 0 / 1.421 GB, free: 2.883 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003228/1.062, allocations: 0 / 1.421 GB, free: 2.883 MB / 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.01859/1.081, allocations: 10.35 MB / 1.431 GB, free: 8.527 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.081, allocations: 8.031 kB / 1.431 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009117/1.082, allocations: 0.6724 MB / 1.432 GB, free: 7.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005395/1.087, allocations: 1.355 MB / 1.433 GB, free: 6.473 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01615/1.104, allocations: 11.15 MB / 1.444 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/1.104, allocations: 473.4 kB / 1.445 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000851/1.105, allocations: 0.5194 MB / 1.445 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/1.116, allocations: 7.278 MB / 1.452 GB, free: 3.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.524e-05/1.116, allocations: 15.84 kB / 1.452 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004631/1.117, allocations: 203 kB / 1.453 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/1.117, allocations: 197.4 kB / 1.453 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/1.127, allocations: 6.271 MB / 1.459 GB, free: 12.35 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.03593/1.163, allocations: 34.36 MB / 1.492 GB, free: 7.984 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/1.167, allocations: 2.388 MB / 1.495 GB, free: 5.59 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002828/1.17, allocations: 1.782 MB / 1.497 GB, free: 3.816 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.171, allocations: 2.029 MB / 1.499 GB, free: 1.359 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003073/1.174, allocations: 1.811 MB / 1.5 GB, free: 15.53 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 3.607e-06/1.174, allocations: 0 / 1.5 GB, free: 15.53 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.009306/1.183, allocations: 4.869 MB / 1.505 GB, free: 10.65 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.183, allocations: 77.41 kB / 1.505 GB, free: 10.57 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.194, allocations: 8.93 MB / 1.514 GB, free: 1.656 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000416/1.195, allocations: 93.7 kB / 1.514 GB, free: 1.559 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00326/1.198, allocations: 3.819 MB / 1.518 GB, free: 13.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007138/1.199, allocations: 0.7688 MB / 1.518 GB, free: 12.99 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/1.2, allocations: 0.7922 MB / 1.519 GB, free: 12.19 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/1.2, allocations: 313 kB / 1.519 GB, free: 11.88 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/1.203, allocations: 1.654 MB / 1.521 GB, free: 10.22 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/1.206, allocations: 3.276 MB / 1.524 GB, free: 6.316 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005979/1.212, allocations: 4.342 MB / 1.529 GB, free: 1.516 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.213, allocations: 12 kB / 1.529 GB, free: 1.504 MB / 1.123 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.008726/1.221, allocations: 5.098 MB / 1.534 GB, free: 12.35 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/1.221, allocations: 16 kB / 1.534 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.221, allocations: 36.16 kB / 1.534 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/1.221, allocations: 48 kB / 1.534 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/1.224, allocations: 0.8386 MB / 1.534 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.224e-05/1.224, allocations: 75.66 kB / 1.534 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/1.23, allocations: 0.8669 MB / 1.535 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/1.23, allocations: 160 kB / 1.535 GB, free: 10.31 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.004084/1.234, allocations: 3.058 MB / 1.538 GB, free: 7.238 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.236, allocations: 0.7331 MB / 1.539 GB, free: 6.496 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/1.243, allocations: 4.1 MB / 1.543 GB, free: 2.406 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.243, allocations: 24 kB / 1.543 GB, free: 2.383 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.243, allocations: 7.922 kB / 1.543 GB, free: 2.375 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00519/1.248, allocations: 3.183 MB / 1.546 GB, free: 15.14 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.01578/1.264, allocations: 10.89 MB / 1.557 GB, free: 4.172 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.264, allocations: 4 kB / 1.557 GB, free: 4.168 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.266, allocations: 0.5229 MB / 1.557 GB, free: 3.645 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/1.266, allocations: 12 kB / 1.557 GB, free: 3.633 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/1.266, allocations: 87.94 kB / 1.558 GB, free: 3.547 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/1.266, allocations: 19.92 kB / 1.558 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.266, allocations: 3.938 kB / 1.558 GB, free: 3.523 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009472/1.276, allocations: 6.02 MB / 1.563 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.278, allocations: 1.401 MB / 1.565 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007866/1.279, allocations: 63.97 kB / 1.565 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003647/1.283, allocations: 483 kB / 1.565 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/1.283, allocations: 153.7 kB / 1.566 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.283, allocations: 111.9 kB / 1.566 GB, free: 11.23 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.007992/1.291, allocations: 6.358 MB / 1.572 GB, free: 4.895 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.71e-07/1.291, allocations: 4 kB / 1.572 GB, free: 4.891 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004561/1.296, allocations: 2.019 MB / 1.574 GB, free: 2.867 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.01098/1.307, allocations: 7.588 MB / 1.581 GB, free: 11.29 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006321/1.313, allocations: 3.793 MB / 1.585 GB, free: 7.5 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.313, allocations: 4 kB / 1.585 GB, free: 7.496 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/1.316, allocations: 1.667 MB / 1.587 GB, free: 5.832 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01578/1.332, allocations: 4.566 MB / 1.591 GB, free: 1.355 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3634/1.695, allocations: 91.22 MB / 1.68 GB, free: 15.03 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004758/1.7, allocations: 5.522 MB / 1.685 GB, free: 9.48 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00702/1.707, allocations: 2.148 MB / 1.688 GB, free: 7.363 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004558/1.712, allocations: 3.358 MB / 1.691 GB, free: 4.004 MB / 1.295 GB Notification: Performance of SimCode: time 6.61e-07/1.712, allocations: 0 / 1.691 GB, free: 4.004 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.397/6.109, allocations: 224.5 MB / 1.91 GB, free: 397.6 MB / 1.358 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/6.109, allocations: 280.3 kB / 1.91 GB, free: 397.2 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.172/12.28, allocations: 6.391 kB / 1.91 GB, free: 397.2 MB / 1.358 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)