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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001258/0.001258, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001243/0.001243, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.248/2.248, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 71.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4821, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.1774/0.6596, allocations: 235 MB / 1.246 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4668/1.126, allocations: 43.42 MB / 1.289 GB, free: 55.87 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006688/1.133, allocations: 216.2 kB / 1.289 GB, free: 55.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005844/1.139, allocations: 2.629 MB / 1.291 GB, free: 55.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0155/1.155, allocations: 7.217 MB / 1.298 GB, free: 55.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/1.165, allocations: 5.265 MB / 1.304 GB, free: 55.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02434/1.189, allocations: 33.29 MB / 1.336 GB, free: 50.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00916/1.198, allocations: 9.063 MB / 1.345 GB, free: 46.74 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/1.21, allocations: 7.389 MB / 1.352 GB, free: 43.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007715/1.217, allocations: 6.558 MB / 1.359 GB, free: 38.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009165/1.218, allocations: 412 kB / 1.359 GB, free: 38.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006466/1.225, allocations: 2.567 MB / 1.361 GB, free: 35.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/1.226, allocations: 1.926 MB / 1.363 GB, free: 34.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004449/1.231, allocations: 4.74 MB / 1.368 GB, free: 29.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.242, allocations: 18.36 MB / 1.386 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.242, allocations: 0 / 1.386 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.103e-06/1.242, allocations: 0 / 1.386 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002135/1.243, allocations: 0 / 1.386 GB, free: 11.38 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.01365/1.256, allocations: 10.36 MB / 1.396 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.256, allocations: 15.97 kB / 1.396 GB, free: 1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007438/1.257, allocations: 0.6681 MB / 1.397 GB, free: 332 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/1.262, allocations: 1.359 MB / 1.398 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/1.277, allocations: 11.16 MB / 1.409 GB, free: 3.949 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/1.277, allocations: 473.3 kB / 1.409 GB, free: 3.477 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007161/1.278, allocations: 0.5194 MB / 1.41 GB, free: 2.957 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/1.289, allocations: 7.269 MB / 1.417 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.038e-05/1.289, allocations: 19.84 kB / 1.417 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004493/1.29, allocations: 202.7 kB / 1.417 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/1.29, allocations: 201.3 kB / 1.417 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009904/1.3, allocations: 6.247 MB / 1.423 GB, free: 4.852 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.03383/1.333, allocations: 34.39 MB / 1.457 GB, free: 492 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/1.337, allocations: 2.397 MB / 1.459 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/1.34, allocations: 1.768 MB / 1.461 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/1.342, allocations: 2.041 MB / 1.463 GB, free: 9.848 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003087/1.345, allocations: 1.798 MB / 1.465 GB, free: 8.039 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 3.938e-06/1.345, allocations: 4 kB / 1.465 GB, free: 8.035 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.008958/1.354, allocations: 4.87 MB / 1.47 GB, free: 3.156 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.354, allocations: 73.41 kB / 1.47 GB, free: 3.074 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/1.364, allocations: 8.95 MB / 1.478 GB, free: 10.14 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003138/1.365, allocations: 93.69 kB / 1.479 GB, free: 10.05 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.003215/1.368, allocations: 3.8 MB / 1.482 GB, free: 6.246 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006797/1.369, allocations: 0.7746 MB / 1.483 GB, free: 5.477 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.37, allocations: 0.7922 MB / 1.484 GB, free: 4.676 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/1.37, allocations: 315.6 kB / 1.484 GB, free: 4.367 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/1.372, allocations: 1.65 MB / 1.486 GB, free: 2.715 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003906/1.376, allocations: 3.266 MB / 1.489 GB, free: 14.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/1.382, allocations: 4.345 MB / 1.493 GB, free: 10.03 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/1.382, allocations: 12 kB / 1.493 GB, free: 10.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.008584/1.391, allocations: 5.098 MB / 1.498 GB, free: 4.863 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.391, allocations: 16 kB / 1.498 GB, free: 4.848 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/1.391, allocations: 32 kB / 1.498 GB, free: 4.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.446e-05/1.391, allocations: 52.03 kB / 1.498 GB, free: 4.766 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.394, allocations: 0.8425 MB / 1.499 GB, free: 3.922 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-05/1.394, allocations: 71.72 kB / 1.499 GB, free: 3.852 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005479/1.4, allocations: 0.8784 MB / 1.5 GB, free: 2.969 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/1.4, allocations: 156 kB / 1.5 GB, free: 2.816 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.00399/1.404, allocations: 3.07 MB / 1.503 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.405, allocations: 0.7292 MB / 1.504 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006965/1.412, allocations: 4.096 MB / 1.508 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/1.412, allocations: 23.98 kB / 1.508 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.412, allocations: 0 / 1.508 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005226/1.417, allocations: 3.186 MB / 1.511 GB, free: 7.648 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.01544/1.433, allocations: 10.9 MB / 1.522 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.433, allocations: 8 kB / 1.522 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/1.435, allocations: 0.5266 MB / 1.522 GB, free: 12.13 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/1.435, allocations: 12 kB / 1.522 GB, free: 12.12 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/1.435, allocations: 79.94 kB / 1.522 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/1.435, allocations: 19.88 kB / 1.522 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.435, allocations: 4 kB / 1.522 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009379/1.445, allocations: 6.023 MB / 1.528 GB, free: 5.93 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/1.447, allocations: 1.405 MB / 1.529 GB, free: 4.496 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007811/1.448, allocations: 55.98 kB / 1.53 GB, free: 4.441 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/1.452, allocations: 491 kB / 1.53 GB, free: 3.961 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.452, allocations: 149.7 kB / 1.53 GB, free: 3.816 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.452, allocations: 111.9 kB / 1.53 GB, free: 3.707 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.008013/1.46, allocations: 6.362 MB / 1.536 GB, free: 13.37 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.46, allocations: 8 kB / 1.536 GB, free: 13.36 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004636/1.465, allocations: 2.023 MB / 1.538 GB, free: 11.34 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.01122/1.476, allocations: 7.58 MB / 1.546 GB, free: 3.793 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006364/1.482, allocations: 3.789 MB / 1.55 GB, free: 8 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.483, allocations: 4.875 kB / 1.55 GB, free: 4 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002714/1.485, allocations: 1.671 MB / 1.551 GB, free: 14.33 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01613/1.501, allocations: 4.569 MB / 1.556 GB, free: 9.852 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3637/1.865, allocations: 91.34 MB / 1.645 GB, free: 7.441 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004706/1.87, allocations: 5.526 MB / 1.65 GB, free: 1.891 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.006995/1.877, allocations: 2.147 MB / 1.652 GB, free: 15.77 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004169/1.881, allocations: 3.358 MB / 1.656 GB, free: 12.41 MB / 1.279 GB Notification: Performance of SimCode: time 8.82e-07/1.881, allocations: 0 / 1.656 GB, free: 12.41 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9788/2.86, allocations: 224.6 MB / 1.875 GB, free: 449.7 MB / 1.358 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/2.86, allocations: 277.5 kB / 1.875 GB, free: 449.3 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.093/8.953, allocations: 0 / 1.875 GB, free: 449.3 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)