Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.106/2.106, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 177.6 kB / 325.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.5766 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001077, allocations: 100.1 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004826, allocations: 11.41 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.693/7.909, allocations: 2.51 GB / 3.409 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005115/7.91, allocations: 111.4 kB / 3.409 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.776/16.69, allocations: 1.661 GB / 5.07 GB, free: 68.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.176e-06/16.69, allocations: 0 / 5.07 GB, free: 68.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007285/16.69, allocations: 99.33 kB / 5.07 GB, free: 68.55 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.01922/16.71, allocations: 4.585 MB / 5.075 GB, free: 65.43 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/16.71, allocations: 7.281 kB / 5.075 GB, free: 65.43 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/16.72, allocations: 1.346 MB / 5.076 GB, free: 64.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/16.74, allocations: 4.175 MB / 5.08 GB, free: 62.16 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/16.74, allocations: 331.6 kB / 5.08 GB, free: 61.98 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/16.74, allocations: 245.9 kB / 5.081 GB, free: 61.89 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/16.75, allocations: 3.055 MB / 5.084 GB, free: 59.96 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/16.75, allocations: 5.969 kB / 5.084 GB, free: 59.96 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004422/16.75, allocations: 99.28 kB / 5.084 GB, free: 59.89 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/16.75, allocations: 89.62 kB / 5.084 GB, free: 59.88 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/16.77, allocations: 2.936 MB / 5.087 GB, free: 57.34 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.03284/16.8, allocations: 12.82 MB / 5.099 GB, free: 44.01 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/16.81, allocations: 2.648 MB / 5.102 GB, free: 41.3 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.01781/16.83, allocations: 5.505 MB / 5.107 GB, free: 35.46 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004924/16.83, allocations: 1.161 MB / 5.108 GB, free: 34.28 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002523/16.84, allocations: 246.3 kB / 5.109 GB, free: 34.04 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 9.448e-06/16.84, allocations: 0 / 5.109 GB, free: 34.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.01501/16.85, allocations: 2.918 MB / 5.111 GB, free: 31.11 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/16.85, allocations: 222.9 kB / 5.112 GB, free: 30.85 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00838/16.86, allocations: 2.933 MB / 5.114 GB, free: 27.93 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006021/16.86, allocations: 61.7 kB / 5.115 GB, free: 27.87 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/16.86, allocations: 1.619 MB / 5.116 GB, free: 26.24 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/16.86, allocations: 498.5 kB / 5.117 GB, free: 25.76 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/16.86, allocations: 36 kB / 5.117 GB, free: 25.73 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001594/16.86, allocations: 381.8 kB / 5.117 GB, free: 25.35 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004811/16.87, allocations: 0.9681 MB / 5.118 GB, free: 24.38 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005654/16.87, allocations: 1.635 MB / 5.12 GB, free: 22.46 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/16.88, allocations: 1.102 MB / 5.121 GB, free: 21.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/16.88, allocations: 4 kB / 5.121 GB, free: 21.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01281/16.89, allocations: 2.828 MB / 5.123 GB, free: 18.53 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001208/16.89, allocations: 5.831 MB / 5.129 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-05/16.89, allocations: 23.19 kB / 5.129 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.178e-05/16.89, allocations: 24 kB / 5.129 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/16.9, allocations: 0.5441 MB / 5.13 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.854e-05/16.9, allocations: 30.66 kB / 5.13 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006578/16.91, allocations: 363.3 kB / 5.13 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006622/16.91, allocations: 114.8 kB / 5.13 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/16.91, allocations: 4 kB / 5.13 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0106/16.92, allocations: 2.436 MB / 5.133 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-05/16.92, allocations: 16 kB / 5.133 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/16.92, allocations: 24 kB / 5.133 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/16.92, allocations: 0.5268 MB / 5.133 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.457e-05/16.92, allocations: 35.86 kB / 5.133 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005943/16.93, allocations: 327.3 kB / 5.133 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006289/16.93, allocations: 104 kB / 5.134 GB, free: 7.723 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.002759/16.93, allocations: 0.7794 MB / 5.134 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/16.93, allocations: 339.7 kB / 5.135 GB, free: 6.598 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/16.94, allocations: 2.452 MB / 5.137 GB, free: 4.145 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/16.94, allocations: 19.98 kB / 5.137 GB, free: 4.125 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/16.94, allocations: 0 / 5.137 GB, free: 4.125 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008617/16.95, allocations: 2.178 MB / 5.139 GB, free: 1.863 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.02144/16.97, allocations: 5.614 MB / 5.145 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/16.97, allocations: 7.938 kB / 5.145 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004093/16.98, allocations: 387.8 kB / 5.145 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.712e-05/16.98, allocations: 8 kB / 5.145 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003463/16.98, allocations: 51.97 kB / 5.145 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.176e-05/16.98, allocations: 15.92 kB / 5.145 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/16.98, allocations: 4.875 kB / 5.145 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/17, allocations: 4.005 MB / 5.149 GB, free: 7.598 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003052/17, allocations: 0.6916 MB / 5.15 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/17, allocations: 43.98 kB / 5.15 GB, free: 6.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005599/17.01, allocations: 271.6 kB / 5.15 GB, free: 6.574 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005017/17.01, allocations: 105.1 kB / 5.15 GB, free: 6.469 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003829/17.01, allocations: 75.94 kB / 5.15 GB, free: 6.395 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007193/17.01, allocations: 2.261 MB / 5.152 GB, free: 4.152 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/17.01, allocations: 4 kB / 5.152 GB, free: 4.148 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01086/17.02, allocations: 2.019 MB / 5.154 GB, free: 2.129 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.8597/17.88, allocations: 3.853 MB / 5.158 GB, free: 97.42 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01592/17.9, allocations: 3.563 MB / 5.162 GB, free: 97.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/17.9, allocations: 1.594 kB / 5.162 GB, free: 97.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005126/17.91, allocations: 1.029 MB / 5.163 GB, free: 97.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01506/17.92, allocations: 1.501 MB / 5.164 GB, free: 97.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/17.95, allocations: 7.762 MB / 5.172 GB, free: 94.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/17.95, allocations: 2.102 MB / 5.174 GB, free: 93.58 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007885/17.96, allocations: 0.8437 MB / 5.174 GB, free: 93.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/17.96, allocations: 272.9 kB / 5.175 GB, free: 93.55 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/17.96, allocations: 0 / 5.175 GB, free: 93.55 MB / 0.948 GB Notification: Performance of Templates: time 0.2425/18.2, allocations: 88.22 MB / 5.261 GB, free: 88.82 MB / 0.948 GB