Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_11_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.004853/0.004853, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001375/0.001375, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.627/2.627, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 60.09 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6185, allocations: 159.1 MB / 1.22 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2198/0.8384, allocations: 236.4 MB / 1.451 GB, free: 5.027 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0538/0.8922, allocations: 43.33 MB / 1.493 GB, free: 9.594 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006279/0.8985, allocations: 234.6 kB / 1.494 GB, free: 9.363 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007542/0.9061, allocations: 3.193 MB / 1.497 GB, free: 6.152 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.9236, allocations: 7.746 MB / 1.504 GB, free: 14.38 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.9348, allocations: 5.74 MB / 1.51 GB, free: 8.688 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.02828/0.9631, allocations: 26.7 MB / 1.536 GB, free: 13.92 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/0.9769, allocations: 11.51 MB / 1.547 GB, free: 2.301 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01714/0.9941, allocations: 9.594 MB / 1.557 GB, free: 8.703 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/1.005, allocations: 6.874 MB / 1.563 GB, free: 1.801 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001983/1.007, allocations: 1.062 MB / 1.564 GB, free: 0.7383 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.542/1.549, allocations: 3.47 MB / 1.568 GB, free: 91.79 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/1.552, allocations: 2.638 MB / 1.57 GB, free: 91.79 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007942/1.56, allocations: 5.543 MB / 1.576 GB, free: 91.79 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01976/1.579, allocations: 18.47 MB / 1.594 GB, free: 90.06 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.579, allocations: 0 / 1.594 GB, free: 90.06 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.903e-06/1.579, allocations: 0 / 1.594 GB, free: 90.06 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003041/1.58, allocations: 0 / 1.594 GB, free: 90.06 MB / 1.279 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.01736/1.597, allocations: 10.64 MB / 1.604 GB, free: 85.93 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/1.597, allocations: 11.38 kB / 1.604 GB, free: 85.93 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008447/1.598, allocations: 0.6698 MB / 1.605 GB, free: 85.87 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/1.604, allocations: 1.462 MB / 1.606 GB, free: 85.34 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/1.619, allocations: 11.02 MB / 1.617 GB, free: 83.88 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/1.62, allocations: 473 kB / 1.617 GB, free: 83.8 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009801/1.621, allocations: 0.5251 MB / 1.618 GB, free: 83.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.632, allocations: 7.326 MB / 1.625 GB, free: 83.23 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-05/1.632, allocations: 12.77 kB / 1.625 GB, free: 83.23 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005031/1.633, allocations: 206.2 kB / 1.625 GB, free: 83.23 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/1.633, allocations: 202.8 kB / 1.625 GB, free: 83.21 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009506/1.642, allocations: 6.351 MB / 1.632 GB, free: 83.14 MB / 1.279 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.03075/1.673, allocations: 34.06 MB / 1.665 GB, free: 68.97 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/1.677, allocations: 2.445 MB / 1.667 GB, free: 68.88 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/1.68, allocations: 1.835 MB / 1.669 GB, free: 68.57 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.681, allocations: 2.037 MB / 1.671 GB, free: 66.26 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002889/1.683, allocations: 1.832 MB / 1.673 GB, free: 65.76 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 4.128e-06/1.684, allocations: 3.625 kB / 1.673 GB, free: 65.76 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.009539/1.693, allocations: 4.98 MB / 1.678 GB, free: 64.63 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.693, allocations: 82.77 kB / 1.678 GB, free: 64.56 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.704, allocations: 9.212 MB / 1.687 GB, free: 62.51 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005042/1.705, allocations: 91.55 kB / 1.687 GB, free: 62.48 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/1.707, allocations: 3.841 MB / 1.691 GB, free: 60.03 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007112/1.708, allocations: 0.803 MB / 1.691 GB, free: 59.34 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009689/1.709, allocations: 0.7966 MB / 1.692 GB, free: 58.88 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.037e-05/1.709, allocations: 304.9 kB / 1.693 GB, free: 58.59 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/1.712, allocations: 1.698 MB / 1.694 GB, free: 57.71 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/1.715, allocations: 3.305 MB / 1.697 GB, free: 54.93 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005157/1.72, allocations: 4.403 MB / 1.702 GB, free: 51.94 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.72, allocations: 11.53 kB / 1.702 GB, free: 51.94 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.007906/1.728, allocations: 5.195 MB / 1.707 GB, free: 49.44 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.728, allocations: 19.56 kB / 1.707 GB, free: 49.44 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.728, allocations: 34.56 kB / 1.707 GB, free: 49.44 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/1.728, allocations: 49.28 kB / 1.707 GB, free: 49.44 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/1.731, allocations: 0.8516 MB / 1.708 GB, free: 49.27 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.79e-05/1.731, allocations: 66.08 kB / 1.708 GB, free: 49.27 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/1.736, allocations: 0.6414 MB / 1.708 GB, free: 48.87 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/1.736, allocations: 160.8 kB / 1.709 GB, free: 48.83 MB / 1.279 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.003674/1.74, allocations: 3.075 MB / 1.712 GB, free: 46.96 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.741, allocations: 0.7658 MB / 1.712 GB, free: 46.54 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006442/1.747, allocations: 4.146 MB / 1.716 GB, free: 44.37 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.747, allocations: 33.23 kB / 1.716 GB, free: 44.36 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.747, allocations: 0 / 1.716 GB, free: 44.36 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00467/1.752, allocations: 3.237 MB / 1.72 GB, free: 41.57 MB / 1.279 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.01402/1.766, allocations: 11.29 MB / 1.731 GB, free: 30.22 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/1.766, allocations: 4 kB / 1.731 GB, free: 30.22 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.768, allocations: 0.5392 MB / 1.731 GB, free: 29.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.768, allocations: 12 kB / 1.731 GB, free: 29.69 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.769, allocations: 79.94 kB / 1.731 GB, free: 29.61 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.769, allocations: 15.22 kB / 1.731 GB, free: 29.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.769, allocations: 8 kB / 1.731 GB, free: 29.59 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009166/1.778, allocations: 6.154 MB / 1.737 GB, free: 23.39 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/1.78, allocations: 1.476 MB / 1.739 GB, free: 21.89 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000863/1.781, allocations: 63.98 kB / 1.739 GB, free: 21.83 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003134/1.784, allocations: 255.6 kB / 1.739 GB, free: 21.58 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/1.784, allocations: 145.7 kB / 1.739 GB, free: 21.43 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.785, allocations: 115.9 kB / 1.739 GB, free: 21.32 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007134/1.792, allocations: 6.553 MB / 1.746 GB, free: 14.79 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.41e-07/1.792, allocations: 6.438 kB / 1.746 GB, free: 14.79 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004488/1.796, allocations: 2.101 MB / 1.748 GB, free: 12.68 MB / 1.279 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.01015/1.806, allocations: 7.739 MB / 1.755 GB, free: 5.027 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005782/1.812, allocations: 3.87 MB / 1.759 GB, free: 1.27 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.812, allocations: 1.938 kB / 1.759 GB, free: 1.27 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/1.815, allocations: 1.694 MB / 1.761 GB, free: 15.62 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.017/1.832, allocations: 4.567 MB / 1.765 GB, free: 11.25 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/1.938, allocations: 64.82 MB / 1.828 GB, free: 9.668 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005612/1.943, allocations: 5.514 MB / 1.834 GB, free: 4.129 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.006435/1.95, allocations: 2.151 MB / 1.836 GB, free: 2.008 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004841/1.955, allocations: 3.375 MB / 1.839 GB, free: 14.67 MB / 1.373 GB Notification: Performance of SimCode: time 5.01e-07/1.955, allocations: 0 / 1.839 GB, free: 14.67 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.859/5.814, allocations: 225.3 MB / 2.059 GB, free: 15.52 MB / 1.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.29/49.1, allocations: 14.86 kB / 2.059 GB, free: 15.5 MB / 1.592 GB (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)