Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_10_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_10_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.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001192/0.001192, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.266/2.266, allocations: 437 MB / 0.7101 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5097, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.1876/0.6973, allocations: 234.3 MB / 1.246 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4956/1.193, allocations: 43.02 MB / 1.288 GB, free: 55.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006994/1.2, allocations: 215.2 kB / 1.288 GB, free: 55.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006514/1.207, allocations: 2.802 MB / 1.291 GB, free: 55.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01643/1.223, allocations: 7.254 MB / 1.298 GB, free: 55.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/1.234, allocations: 5.328 MB / 1.303 GB, free: 55.28 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02365/1.257, allocations: 26.81 MB / 1.329 GB, free: 50.33 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/1.269, allocations: 11.39 MB / 1.34 GB, free: 45.53 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/1.286, allocations: 9.644 MB / 1.35 GB, free: 41.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009411/1.295, allocations: 7.076 MB / 1.357 GB, free: 38.53 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002043/1.297, allocations: 1.054 MB / 1.358 GB, free: 38.53 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009169/1.307, allocations: 3.505 MB / 1.361 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002566/1.309, allocations: 2.636 MB / 1.364 GB, free: 33.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007969/1.317, allocations: 5.537 MB / 1.369 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/1.333, allocations: 18.8 MB / 1.387 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.333, allocations: 0 / 1.387 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.333, allocations: 0 / 1.387 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002225/1.333, allocations: 0 / 1.387 GB, free: 9.703 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.0148/1.348, allocations: 10.37 MB / 1.398 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.348, allocations: 8.031 kB / 1.398 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008837/1.349, allocations: 0.6736 MB / 1.398 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/1.354, allocations: 1.363 MB / 1.4 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/1.371, allocations: 11.15 MB / 1.41 GB, free: 2.277 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003753/1.371, allocations: 475.7 kB / 1.411 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008902/1.372, allocations: 0.5211 MB / 1.411 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/1.384, allocations: 7.274 MB / 1.419 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.054e-05/1.384, allocations: 11.94 kB / 1.419 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/1.384, allocations: 207.8 kB / 1.419 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/1.384, allocations: 193.4 kB / 1.419 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/1.395, allocations: 6.251 MB / 1.425 GB, free: 3.176 MB / 1.029 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.03663/1.431, allocations: 34.39 MB / 1.459 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004/1.435, allocations: 2.388 MB / 1.461 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/1.438, allocations: 1.77 MB / 1.463 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/1.44, allocations: 2.038 MB / 1.465 GB, free: 8.184 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003157/1.443, allocations: 1.807 MB / 1.466 GB, free: 6.363 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 3.908e-06/1.443, allocations: 0 / 1.466 GB, free: 6.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.009502/1.452, allocations: 4.87 MB / 1.471 GB, free: 1.484 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.453, allocations: 76.53 kB / 1.471 GB, free: 1.402 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/1.464, allocations: 8.95 MB / 1.48 GB, free: 8.473 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004355/1.464, allocations: 89.7 kB / 1.48 GB, free: 8.379 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.003363/1.468, allocations: 3.798 MB / 1.484 GB, free: 4.578 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007522/1.468, allocations: 0.7839 MB / 1.485 GB, free: 3.801 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/1.47, allocations: 0.7844 MB / 1.485 GB, free: 3.008 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/1.47, allocations: 313 kB / 1.486 GB, free: 2.699 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.472, allocations: 1.65 MB / 1.487 GB, free: 1.047 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/1.477, allocations: 3.276 MB / 1.49 GB, free: 13.14 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006214/1.483, allocations: 4.341 MB / 1.495 GB, free: 8.352 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.483, allocations: 8 kB / 1.495 GB, free: 8.344 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009161/1.492, allocations: 5.098 MB / 1.5 GB, free: 3.191 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.492, allocations: 20 kB / 1.5 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/1.492, allocations: 28 kB / 1.5 GB, free: 3.145 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.596e-05/1.492, allocations: 56.06 kB / 1.5 GB, free: 3.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/1.495, allocations: 0.8425 MB / 1.501 GB, free: 2.246 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.115e-05/1.495, allocations: 63.8 kB / 1.501 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/1.501, allocations: 0.8707 MB / 1.501 GB, free: 1.309 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/1.501, allocations: 164 kB / 1.502 GB, free: 1.148 MB / 1.107 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],y1.y[1],chi.com.y1One) * 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.004211/1.506, allocations: 3.07 MB / 1.505 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.507, allocations: 0.737 MB / 1.505 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007569/1.515, allocations: 4.09 MB / 1.509 GB, free: 9.238 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/1.515, allocations: 35.92 kB / 1.509 GB, free: 9.203 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.515, allocations: 0 / 1.509 GB, free: 9.203 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005411/1.52, allocations: 3.186 MB / 1.512 GB, free: 5.969 MB / 1.123 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.01862/1.539, allocations: 10.9 MB / 1.523 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/1.539, allocations: 4 kB / 1.523 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/1.541, allocations: 0.5228 MB / 1.524 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.541, allocations: 12 kB / 1.524 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.542, allocations: 91.94 kB / 1.524 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/1.542, allocations: 12 kB / 1.524 GB, free: 10.35 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.542, allocations: 3.938 kB / 1.524 GB, free: 10.35 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.552, allocations: 6.016 MB / 1.53 GB, free: 4.266 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003376/1.556, allocations: 1.401 MB / 1.531 GB, free: 2.836 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.557, allocations: 67.91 kB / 1.531 GB, free: 2.77 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/1.561, allocations: 483 kB / 1.532 GB, free: 2.297 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/1.561, allocations: 149.7 kB / 1.532 GB, free: 2.152 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.562, allocations: 115.9 kB / 1.532 GB, free: 2.039 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00878/1.57, allocations: 6.366 MB / 1.538 GB, free: 11.7 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.57, allocations: 4 kB / 1.538 GB, free: 11.7 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005281/1.576, allocations: 2.016 MB / 1.54 GB, free: 9.676 MB / 1.154 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.com.y1One,y1.y[1],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.01189/1.587, allocations: 7.589 MB / 1.547 GB, free: 2.129 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.6, allocations: 6.058 MB / 1.553 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.6, allocations: 5 kB / 1.553 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.603, allocations: 1.671 MB / 1.555 GB, free: 10.4 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01654/1.62, allocations: 4.567 MB / 1.559 GB, free: 6.035 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3822/2.002, allocations: 91.35 MB / 1.649 GB, free: 3.613 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004689/2.007, allocations: 5.528 MB / 1.654 GB, free: 14.06 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006762/2.013, allocations: 2.103 MB / 1.656 GB, free: 11.98 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/2.017, allocations: 3.362 MB / 1.659 GB, free: 8.625 MB / 1.279 GB Notification: Performance of SimCode: time 5.61e-07/2.018, allocations: 0 / 1.659 GB, free: 8.625 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9781/2.996, allocations: 227.1 MB / 1.881 GB, free: 447.2 MB / 1.358 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/2.996, allocations: 283.7 kB / 1.881 GB, free: 446.8 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.377/9.373, allocations: 0 / 1.881 GB, free: 446.8 MB / 1.358 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1)