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.0008476/0.0008477, allocations: 90.52 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.005448/0.005449, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.254/2.254, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8 kB / 0.873 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5052, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6283/1.134, allocations: 231.6 MB / 1.249 GB, free: 55.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04324/1.177, allocations: 43.01 MB / 1.291 GB, free: 54.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006338/1.183, allocations: 206.9 kB / 1.292 GB, free: 54.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006065/1.189, allocations: 2.618 MB / 1.294 GB, free: 54.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01644/1.206, allocations: 7.21 MB / 1.301 GB, free: 54.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/1.216, allocations: 5.304 MB / 1.306 GB, free: 54.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02648/1.243, allocations: 33.27 MB / 1.339 GB, free: 41.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009764/1.253, allocations: 8.877 MB / 1.347 GB, free: 37.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/1.265, allocations: 7.152 MB / 1.354 GB, free: 33.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007918/1.273, allocations: 6.271 MB / 1.361 GB, free: 27.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001307/1.274, allocations: 316 kB / 1.361 GB, free: 27.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008251/1.282, allocations: 2.481 MB / 1.363 GB, free: 25.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001922/1.284, allocations: 1.763 MB / 1.365 GB, free: 23.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005906/1.29, allocations: 4.566 MB / 1.369 GB, free: 18.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/1.305, allocations: 17.9 MB / 1.387 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.305, allocations: 4 kB / 1.387 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.695e-06/1.305, allocations: 0 / 1.387 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003593/1.305, allocations: 0 / 1.387 GB, free: 1.281 MB / 0.9825 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.01468/1.32, allocations: 8.281 MB / 1.395 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.32, allocations: 8.031 kB / 1.395 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001579/1.321, allocations: 0.6773 MB / 1.396 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/1.327, allocations: 1.383 MB / 1.397 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.343, allocations: 11.16 MB / 1.408 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/1.343, allocations: 473.9 kB / 1.408 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008952/1.344, allocations: 0.5177 MB / 1.409 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/1.356, allocations: 7.289 MB / 1.416 GB, free: 3.465 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.724e-05/1.356, allocations: 11.84 kB / 1.416 GB, free: 3.453 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005021/1.356, allocations: 207.4 kB / 1.416 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/1.357, allocations: 201.3 kB / 1.416 GB, free: 3.055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/1.368, allocations: 6.286 MB / 1.423 GB, free: 12.75 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.03831/1.406, allocations: 34.44 MB / 1.456 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004242/1.41, allocations: 2.416 MB / 1.459 GB, free: 5.914 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/1.414, allocations: 1.783 MB / 1.46 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/1.415, allocations: 2.046 MB / 1.462 GB, free: 1.656 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003177/1.418, allocations: 1.815 MB / 1.464 GB, free: 15.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 3.937e-06/1.418, allocations: 0 / 1.464 GB, free: 15.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.009487/1.428, allocations: 4.923 MB / 1.469 GB, free: 10.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.428, allocations: 81.34 kB / 1.469 GB, free: 10.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.44, allocations: 8.946 MB / 1.478 GB, free: 1.879 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004764/1.44, allocations: 89.64 kB / 1.478 GB, free: 1.785 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00383/1.444, allocations: 3.829 MB / 1.482 GB, free: 14.04 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000906/1.445, allocations: 0.7746 MB / 1.482 GB, free: 13.27 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/1.445, allocations: 284.5 kB / 1.483 GB, free: 12.98 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/1.445, allocations: 309.1 kB / 1.483 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/1.448, allocations: 1.673 MB / 1.484 GB, free: 11 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/1.453, allocations: 3.288 MB / 1.488 GB, free: 7.086 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/1.459, allocations: 4.381 MB / 1.492 GB, free: 2.246 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.459, allocations: 8 kB / 1.492 GB, free: 2.238 MB / 1.092 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009746/1.469, allocations: 5.125 MB / 1.497 GB, free: 13.06 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/1.469, allocations: 23.98 kB / 1.497 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/1.469, allocations: 28.09 kB / 1.497 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/1.469, allocations: 59.94 kB / 1.497 GB, free: 12.95 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/1.472, allocations: 0.8425 MB / 1.498 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.244e-05/1.472, allocations: 67.78 kB / 1.498 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006318/1.478, allocations: 0.9045 MB / 1.499 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/1.479, allocations: 160 kB / 1.499 GB, free: 10.98 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.004259/1.483, allocations: 3.07 MB / 1.502 GB, free: 7.902 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.484, allocations: 0.7292 MB / 1.503 GB, free: 7.164 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007229/1.491, allocations: 4.133 MB / 1.507 GB, free: 3.039 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.491, allocations: 28 kB / 1.507 GB, free: 3.012 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.491, allocations: 0 / 1.507 GB, free: 3.012 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005311/1.497, allocations: 3.222 MB / 1.51 GB, free: 15.74 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.01562/1.512, allocations: 10.93 MB / 1.521 GB, free: 4.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.512, allocations: 8.25 kB / 1.521 GB, free: 4.723 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.515, allocations: 0.5383 MB / 1.521 GB, free: 4.184 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/1.515, allocations: 12 kB / 1.521 GB, free: 4.172 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/1.515, allocations: 87.94 kB / 1.521 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/1.515, allocations: 8 kB / 1.521 GB, free: 4.078 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.515, allocations: 7.984 kB / 1.521 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009683/1.525, allocations: 6.066 MB / 1.527 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/1.527, allocations: 1.545 MB / 1.529 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007411/1.528, allocations: 63.98 kB / 1.529 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003929/1.532, allocations: 498.9 kB / 1.529 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.532, allocations: 157.7 kB / 1.529 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.533, allocations: 115.9 kB / 1.529 GB, free: 11.56 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.008322/1.541, allocations: 6.362 MB / 1.536 GB, free: 5.223 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.51e-07/1.541, allocations: 0 / 1.536 GB, free: 5.223 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004522/1.545, allocations: 2.016 MB / 1.538 GB, free: 3.203 MB / 1.139 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.01106/1.556, allocations: 7.657 MB / 1.545 GB, free: 11.6 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006462/1.563, allocations: 3.828 MB / 1.549 GB, free: 7.777 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.563, allocations: 7.938 kB / 1.549 GB, free: 7.77 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/1.566, allocations: 1.687 MB / 1.551 GB, free: 6.082 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0213/1.587, allocations: 4.566 MB / 1.555 GB, free: 1.605 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3695/1.957, allocations: 91.67 MB / 1.644 GB, free: 14.82 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005738/1.962, allocations: 5.514 MB / 1.65 GB, free: 9.277 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.006995/1.969, allocations: 2.146 MB / 1.652 GB, free: 7.164 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004312/1.974, allocations: 3.369 MB / 1.655 GB, free: 3.793 MB / 1.264 GB Notification: Performance of SimCode: time 6.11e-07/1.974, allocations: 0 / 1.655 GB, free: 3.793 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.897/6.871, allocations: 223.2 MB / 1.873 GB, free: 399 MB / 1.326 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/6.871, allocations: 286.2 kB / 1.874 GB, free: 398.6 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.173/13.04, allocations: 2.656 kB / 1.874 GB, free: 398.6 MB / 1.326 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)