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.001548/0.001548, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.00156, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.565/2.565, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 69.78 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2513, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6481/0.8995, allocations: 236.4 MB / 1.295 GB, free: 48.85 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04418/0.9437, allocations: 43.34 MB / 1.337 GB, free: 46.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007329/0.9511, allocations: 234.1 kB / 1.337 GB, free: 46.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006532/0.9576, allocations: 3.188 MB / 1.341 GB, free: 45.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01663/0.9743, allocations: 7.75 MB / 1.348 GB, free: 41.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.9844, allocations: 5.683 MB / 1.354 GB, free: 39.03 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02171/1.006, allocations: 26.64 MB / 1.38 GB, free: 24.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/1.017, allocations: 11.51 MB / 1.391 GB, free: 18.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/1.031, allocations: 9.548 MB / 1.4 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008363/1.039, allocations: 6.883 MB / 1.407 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001944/1.041, allocations: 1.066 MB / 1.408 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009767/1.051, allocations: 3.467 MB / 1.411 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003019/1.054, allocations: 2.643 MB / 1.414 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008891/1.063, allocations: 5.541 MB / 1.419 GB, free: 6.797 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02175/1.085, allocations: 18.25 MB / 1.437 GB, free: 4.977 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.085, allocations: 0 / 1.437 GB, free: 4.977 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/1.085, allocations: 0 / 1.437 GB, free: 4.977 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002922/1.085, allocations: 8 kB / 1.437 GB, free: 4.969 MB / 1.029 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.01952/1.105, allocations: 10.36 MB / 1.447 GB, free: 10.61 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.105, allocations: 8.031 kB / 1.447 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009752/1.106, allocations: 0.666 MB / 1.448 GB, free: 9.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006103/1.112, allocations: 1.418 MB / 1.449 GB, free: 8.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/1.129, allocations: 10.58 MB / 1.46 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004463/1.129, allocations: 469.5 kB / 1.46 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/1.131, allocations: 0.517 MB / 1.461 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/1.143, allocations: 7.333 MB / 1.468 GB, free: 5.555 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.775e-05/1.143, allocations: 15.84 kB / 1.468 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004935/1.144, allocations: 203.8 kB / 1.468 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/1.144, allocations: 205.3 kB / 1.468 GB, free: 5.141 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/1.156, allocations: 6.349 MB / 1.474 GB, free: 14.77 MB / 1.076 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.0417/1.197, allocations: 34.27 MB / 1.508 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004498/1.202, allocations: 2.443 MB / 1.51 GB, free: 8.328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003177/1.205, allocations: 1.805 MB / 1.512 GB, free: 6.527 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/1.207, allocations: 2.045 MB / 1.514 GB, free: 4.055 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003353/1.21, allocations: 1.835 MB / 1.516 GB, free: 2.203 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 3.617e-06/1.21, allocations: 0 / 1.516 GB, free: 2.203 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.01039/1.221, allocations: 4.954 MB / 1.521 GB, free: 13.24 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/1.221, allocations: 77.41 kB / 1.521 GB, free: 13.15 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/1.233, allocations: 9.207 MB / 1.53 GB, free: 3.965 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005399/1.234, allocations: 85.7 kB / 1.53 GB, free: 3.875 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.003882/1.238, allocations: 3.809 MB / 1.534 GB, free: 68 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009458/1.239, allocations: 0.7763 MB / 1.534 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/1.24, allocations: 0.7961 MB / 1.535 GB, free: 14.49 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.24, allocations: 301.1 kB / 1.535 GB, free: 14.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/1.243, allocations: 1.693 MB / 1.537 GB, free: 12.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/1.248, allocations: 3.307 MB / 1.54 GB, free: 8.562 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006925/1.255, allocations: 4.397 MB / 1.545 GB, free: 3.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.255, allocations: 12 kB / 1.545 GB, free: 3.695 MB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009929/1.265, allocations: 5.168 MB / 1.55 GB, free: 14.47 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/1.265, allocations: 20 kB / 1.55 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/1.265, allocations: 28 kB / 1.55 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.187e-05/1.265, allocations: 52 kB / 1.55 GB, free: 14.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/1.268, allocations: 0.8467 MB / 1.551 GB, free: 13.53 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.927e-05/1.268, allocations: 71.72 kB / 1.551 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/1.273, allocations: 0.6209 MB / 1.551 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/1.274, allocations: 164 kB / 1.551 GB, free: 12.67 MB / 1.154 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.004285/1.278, allocations: 3.074 MB / 1.554 GB, free: 9.582 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.279, allocations: 0.7292 MB / 1.555 GB, free: 8.844 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007969/1.287, allocations: 4.139 MB / 1.559 GB, free: 4.707 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.287, allocations: 28 kB / 1.559 GB, free: 4.68 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.287, allocations: 7.922 kB / 1.559 GB, free: 4.672 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005829/1.293, allocations: 3.231 MB / 1.562 GB, free: 1.395 MB / 1.154 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.01708/1.31, allocations: 11.3 MB / 1.573 GB, free: 6.012 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.31, allocations: 7.875 kB / 1.573 GB, free: 6.004 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/1.313, allocations: 0.5386 MB / 1.574 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/1.313, allocations: 12 kB / 1.574 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/1.313, allocations: 79.94 kB / 1.574 GB, free: 5.375 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/1.313, allocations: 16 kB / 1.574 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.313, allocations: 3.938 kB / 1.574 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.323, allocations: 6.107 MB / 1.58 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002446/1.326, allocations: 1.436 MB / 1.581 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007935/1.327, allocations: 67.97 kB / 1.581 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.33, allocations: 259.6 kB / 1.582 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/1.33, allocations: 149.7 kB / 1.582 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/1.33, allocations: 115.9 kB / 1.582 GB, free: 13.15 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.008817/1.339, allocations: 6.557 MB / 1.588 GB, free: 6.617 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.3e-07/1.339, allocations: 0 / 1.588 GB, free: 6.617 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004855/1.344, allocations: 2.09 MB / 1.59 GB, free: 4.523 MB / 1.186 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.01235/1.356, allocations: 7.691 MB / 1.598 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.369, allocations: 6.123 MB / 1.604 GB, free: 6.723 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/1.369, allocations: 6 kB / 1.604 GB, free: 6.719 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/1.372, allocations: 1.694 MB / 1.606 GB, free: 5.027 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01558/1.388, allocations: 4.565 MB / 1.61 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/1.497, allocations: 90.29 MB / 1.698 GB, free: 15.21 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005838/1.503, allocations: 5.516 MB / 1.704 GB, free: 9.672 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.006643/1.51, allocations: 2.154 MB / 1.706 GB, free: 7.547 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004473/1.514, allocations: 3.366 MB / 1.709 GB, free: 4.184 MB / 1.311 GB Notification: Performance of SimCode: time 7.11e-07/1.514, allocations: 4 kB / 1.709 GB, free: 4.18 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 12.83/14.35, allocations: 230.7 MB / 1.934 GB, free: 377.3 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/29.69, allocations: 7.75 kB / 1.934 GB, free: 377.3 MB / 1.358 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)