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.0008828/0.0008829, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005406/0.005406, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.338/2.338, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002665, allocations: 12.83 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2131, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.5974/0.8105, allocations: 231.5 MB / 1.285 GB, free: 47.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04095/0.8515, allocations: 42.99 MB / 1.327 GB, free: 46.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005924/0.8575, allocations: 205.4 kB / 1.327 GB, free: 46.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005714/0.8632, allocations: 2.621 MB / 1.33 GB, free: 46.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.8779, allocations: 7.211 MB / 1.337 GB, free: 45.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009427/0.8873, allocations: 5.317 MB / 1.342 GB, free: 44.51 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02361/0.911, allocations: 33.27 MB / 1.374 GB, free: 29.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008731/0.9197, allocations: 8.869 MB / 1.383 GB, free: 25.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.9299, allocations: 7.158 MB / 1.39 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007239/0.9372, allocations: 6.267 MB / 1.396 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007183/0.9379, allocations: 316 kB / 1.396 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005403/0.9433, allocations: 2.477 MB / 1.399 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.9444, allocations: 1.765 MB / 1.401 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.9479, allocations: 4.568 MB / 1.405 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.9608, allocations: 17.88 MB / 1.423 GB, free: 3.633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.9608, allocations: 4 kB / 1.423 GB, free: 3.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9608, allocations: 0 / 1.423 GB, free: 3.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001518/0.9609, allocations: 0 / 1.423 GB, free: 3.629 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.0121/0.9731, allocations: 8.26 MB / 1.431 GB, free: 11.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.9731, allocations: 8.031 kB / 1.431 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007825/0.9739, allocations: 0.6765 MB / 1.431 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.9784, allocations: 1.387 MB / 1.433 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.9919, allocations: 11.15 MB / 1.443 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.9922, allocations: 465.9 kB / 1.444 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007116/0.9929, allocations: 0.5232 MB / 1.444 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/1.003, allocations: 7.294 MB / 1.452 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.66e-05/1.003, allocations: 7.938 kB / 1.452 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/1.004, allocations: 207.8 kB / 1.452 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/1.004, allocations: 205.3 kB / 1.452 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009418/1.013, allocations: 6.287 MB / 1.458 GB, free: 15.12 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.03098/1.044, allocations: 34.44 MB / 1.492 GB, free: 10.69 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/1.048, allocations: 2.415 MB / 1.494 GB, free: 8.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/1.051, allocations: 1.791 MB / 1.496 GB, free: 6.48 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/1.052, allocations: 2.04 MB / 1.498 GB, free: 4.012 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002877/1.055, allocations: 1.831 MB / 1.5 GB, free: 2.164 MB / 1.092 GB Notification: Performance of pre-optimization done (n=220): time 3.917e-06/1.055, allocations: 0 / 1.5 GB, free: 2.164 MB / 1.092 GB Notification: Performance of matching and sorting (n=220): time 0.00809/1.063, allocations: 4.919 MB / 1.504 GB, free: 13.23 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.063, allocations: 81.41 kB / 1.505 GB, free: 13.14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009616/1.073, allocations: 8.938 MB / 1.513 GB, free: 4.227 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002235/1.073, allocations: 93.7 kB / 1.513 GB, free: 4.129 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002999/1.076, allocations: 3.811 MB / 1.517 GB, free: 328 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00061/1.077, allocations: 0.7724 MB / 1.518 GB, free: 15.55 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/1.077, allocations: 288.5 kB / 1.518 GB, free: 15.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 6.836e-05/1.077, allocations: 301.1 kB / 1.518 GB, free: 14.97 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/1.08, allocations: 1.681 MB / 1.52 GB, free: 13.29 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/1.084, allocations: 3.292 MB / 1.523 GB, free: 9.363 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005847/1.089, allocations: 4.377 MB / 1.528 GB, free: 4.523 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/1.089, allocations: 12 kB / 1.528 GB, free: 4.512 MB / 1.123 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.00764/1.097, allocations: 5.125 MB / 1.533 GB, free: 15.33 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.097, allocations: 16 kB / 1.533 GB, free: 15.32 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/1.097, allocations: 32 kB / 1.533 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/1.097, allocations: 51.98 kB / 1.533 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/1.1, allocations: 0.8582 MB / 1.533 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.821e-05/1.1, allocations: 67.78 kB / 1.534 GB, free: 14.31 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/1.105, allocations: 0.8844 MB / 1.534 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/1.106, allocations: 164 kB / 1.535 GB, free: 13.27 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.003399/1.109, allocations: 3.062 MB / 1.538 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000738/1.11, allocations: 0.7292 MB / 1.538 GB, free: 9.457 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/1.116, allocations: 4.128 MB / 1.542 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/1.116, allocations: 24 kB / 1.542 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.116, allocations: 0 / 1.542 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005015/1.121, allocations: 3.223 MB / 1.545 GB, free: 2.043 MB / 1.139 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.01442/1.136, allocations: 10.93 MB / 1.556 GB, free: 7.031 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.136, allocations: 4 kB / 1.556 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/1.138, allocations: 0.5424 MB / 1.557 GB, free: 6.484 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.138, allocations: 12 kB / 1.557 GB, free: 6.473 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/1.138, allocations: 87.94 kB / 1.557 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.138, allocations: 12 kB / 1.557 GB, free: 6.375 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.138, allocations: 0 / 1.557 GB, free: 6.375 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008656/1.147, allocations: 6.085 MB / 1.563 GB, free: 240 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/1.149, allocations: 1.546 MB / 1.564 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006462/1.15, allocations: 55.98 kB / 1.564 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.153, allocations: 0.4958 MB / 1.565 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/1.154, allocations: 145.7 kB / 1.565 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.154, allocations: 115.9 kB / 1.565 GB, free: 13.87 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.007267/1.161, allocations: 6.358 MB / 1.571 GB, free: 7.535 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.71e-07/1.161, allocations: 0 / 1.571 GB, free: 7.535 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003982/1.165, allocations: 2.019 MB / 1.573 GB, free: 5.512 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.0104/1.176, allocations: 7.646 MB / 1.581 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005868/1.181, allocations: 3.828 MB / 1.584 GB, free: 10.06 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.181, allocations: 0 / 1.584 GB, free: 10.06 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/1.184, allocations: 1.684 MB / 1.586 GB, free: 8.383 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01849/1.202, allocations: 4.566 MB / 1.59 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3348/1.537, allocations: 91.57 MB / 1.68 GB, free: 1.219 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004516/1.542, allocations: 5.514 MB / 1.685 GB, free: 11.68 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006408/1.548, allocations: 2.146 MB / 1.687 GB, free: 9.566 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003822/1.552, allocations: 3.358 MB / 1.691 GB, free: 6.207 MB / 1.295 GB Notification: Performance of SimCode: time 5.61e-07/1.552, allocations: 0 / 1.691 GB, free: 6.207 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.34/3.892, allocations: 223.1 MB / 1.909 GB, free: 370.9 MB / 1.342 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/3.892, allocations: 286.9 kB / 1.909 GB, free: 370.6 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/10.84, allocations: 0 / 1.909 GB, free: 370.6 MB / 1.342 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)