Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.08/2.08, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 179.3 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.332/2.332, allocations: 205.4 MB / 0.5764 GB, free: 21.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 98.64 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000546/0.0005463, allocations: 13.41 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2358, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.102/8.338, allocations: 2.51 GB / 3.409 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/8.338, allocations: 107.3 kB / 3.409 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.005/17.34, allocations: 1.661 GB / 5.07 GB, free: 68.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.825e-06/17.34, allocations: 0 / 5.07 GB, free: 68.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008441/17.34, allocations: 107.1 kB / 5.07 GB, free: 68.68 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.02111/17.37, allocations: 4.589 MB / 5.075 GB, free: 65.55 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/17.37, allocations: 7.531 kB / 5.075 GB, free: 65.55 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/17.37, allocations: 326.3 kB / 5.075 GB, free: 65.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/17.38, allocations: 1.328 MB / 5.076 GB, free: 64.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/17.4, allocations: 4.179 MB / 5.08 GB, free: 62.04 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/17.4, allocations: 332.6 kB / 5.081 GB, free: 61.86 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/17.4, allocations: 248.6 kB / 5.081 GB, free: 61.78 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/17.41, allocations: 3.064 MB / 5.084 GB, free: 59.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.792e-05/17.42, allocations: 7.625 kB / 5.084 GB, free: 59.84 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/17.42, allocations: 92.28 kB / 5.084 GB, free: 59.77 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/17.42, allocations: 85.98 kB / 5.084 GB, free: 59.76 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/17.43, allocations: 2.937 MB / 5.087 GB, free: 56.88 MB / 0.9323 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.03347/17.46, allocations: 12.83 MB / 5.099 GB, free: 43.53 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009813/17.47, allocations: 2.646 MB / 5.102 GB, free: 40.82 MB / 0.9323 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 evalFunc (simulation): time 0.01685/17.49, allocations: 5.497 MB / 5.107 GB, free: 34.98 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004876/17.5, allocations: 1.161 MB / 5.109 GB, free: 33.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002471/17.5, allocations: 248.6 kB / 5.109 GB, free: 33.56 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 9.618e-06/17.5, allocations: 0 / 5.109 GB, free: 33.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.01485/17.51, allocations: 2.924 MB / 5.112 GB, free: 30.63 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/17.51, allocations: 222.9 kB / 5.112 GB, free: 30.37 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008274/17.52, allocations: 2.921 MB / 5.115 GB, free: 27.46 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006582/17.52, allocations: 69.69 kB / 5.115 GB, free: 27.39 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002275/17.52, allocations: 1.617 MB / 5.116 GB, free: 25.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009367/17.53, allocations: 493.8 kB / 5.117 GB, free: 25.29 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/17.53, allocations: 36 kB / 5.117 GB, free: 25.25 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001629/17.53, allocations: 381.8 kB / 5.117 GB, free: 24.88 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004759/17.53, allocations: 0.972 MB / 5.118 GB, free: 23.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005592/17.54, allocations: 1.631 MB / 5.12 GB, free: 21.99 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005185/17.54, allocations: 1.11 MB / 5.121 GB, free: 20.89 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/17.54, allocations: 4 kB / 5.121 GB, free: 20.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0131/17.55, allocations: 2.824 MB / 5.124 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001299/17.56, allocations: 5.832 MB / 5.129 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.317e-05/17.56, allocations: 19.98 kB / 5.129 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.907e-05/17.56, allocations: 26.73 kB / 5.129 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005122/17.56, allocations: 0.5383 MB / 5.13 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.495e-05/17.56, allocations: 39.08 kB / 5.13 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/17.57, allocations: 363.9 kB / 5.13 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007383/17.57, allocations: 111.9 kB / 5.13 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/17.57, allocations: 5.562 kB / 5.13 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/17.58, allocations: 2.441 MB / 5.133 GB, free: 8.266 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-05/17.58, allocations: 12 kB / 5.133 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/17.58, allocations: 24 kB / 5.133 GB, free: 8.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004772/17.58, allocations: 0.5311 MB / 5.133 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.205e-05/17.58, allocations: 35.86 kB / 5.133 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/17.59, allocations: 319.3 kB / 5.134 GB, free: 7.352 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007601/17.59, allocations: 104 kB / 5.134 GB, free: 7.25 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003191/17.6, allocations: 0.7871 MB / 5.135 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/17.6, allocations: 343.8 kB / 5.135 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/17.61, allocations: 2.443 MB / 5.137 GB, free: 3.668 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-05/17.61, allocations: 23.98 kB / 5.137 GB, free: 3.645 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/17.61, allocations: 4 kB / 5.137 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008735/17.62, allocations: 2.174 MB / 5.139 GB, free: 1.383 MB / 0.9323 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.02253/17.64, allocations: 5.623 MB / 5.145 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/17.64, allocations: 3.469 kB / 5.145 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004068/17.64, allocations: 395.8 kB / 5.145 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.816e-05/17.64, allocations: 8 kB / 5.145 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/17.64, allocations: 47.97 kB / 5.145 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.221e-05/17.64, allocations: 15.92 kB / 5.145 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/17.64, allocations: 4 kB / 5.145 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/17.66, allocations: 4.017 MB / 5.149 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/17.66, allocations: 0.6839 MB / 5.15 GB, free: 6.395 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/17.67, allocations: 32 kB / 5.15 GB, free: 6.363 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005894/17.67, allocations: 275.6 kB / 5.15 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000539/17.67, allocations: 105.1 kB / 5.15 GB, free: 5.988 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003744/17.67, allocations: 75.94 kB / 5.15 GB, free: 5.914 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007705/17.68, allocations: 2.269 MB / 5.153 GB, free: 3.664 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.81e-07/17.68, allocations: 0 / 5.153 GB, free: 3.664 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0123/17.69, allocations: 2.022 MB / 5.155 GB, free: 1.641 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.8954/18.59, allocations: 8.814 MB / 5.163 GB, free: 95.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01848/18.61, allocations: 3.563 MB / 5.167 GB, free: 95.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/18.61, allocations: 3.062 kB / 5.167 GB, free: 95.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005269/18.61, allocations: 1.03 MB / 5.168 GB, free: 95.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01447/18.63, allocations: 1.502 MB / 5.169 GB, free: 95.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/18.66, allocations: 18.86 MB / 5.188 GB, free: 82.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003332/18.67, allocations: 2.1 MB / 5.19 GB, free: 81.61 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008098/18.68, allocations: 0.8463 MB / 5.19 GB, free: 81.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004368/18.68, allocations: 1.467 MB / 5.192 GB, free: 81.58 MB / 0.948 GB Notification: Performance of SimCode: time 1.803e-06/18.68, allocations: 1.562 kB / 5.192 GB, free: 81.58 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2879/18.97, allocations: 125.3 MB / 5.314 GB, free: 75.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/18.97, allocations: 255.8 kB / 5.315 GB, free: 74.85 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.001/27.97, allocations: 2.844 kB / 5.315 GB, free: 74.85 MB / 0.948 GB