Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.812/4.812, allocations: 0.5623 GB / 0.577 GB, free: 3.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002401/0.0024, allocations: 356.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.93/3.93, allocations: 410.7 MB / 1.112 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001828/0.001828, allocations: 175.8 kB / 1.225 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 11.98 kB / 1.348 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.5899, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.2504/0.8404, allocations: 251.2 MB / 1.706 GB, free: 33.05 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03993/0.8804, allocations: 26.86 MB / 1.732 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005251/0.8857, allocations: 123.2 kB / 1.732 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006506/0.8922, allocations: 1.841 MB / 1.734 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.6298/1.522, allocations: 4.97 MB / 1.739 GB, free: 23.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01436/1.536, allocations: 4.419 MB / 1.743 GB, free: 23.48 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01282/1.549, allocations: 10.19 MB / 1.753 GB, free: 23.47 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004429/1.554, allocations: 2.436 MB / 1.756 GB, free: 23.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007907/1.562, allocations: 3.173 MB / 1.759 GB, free: 23.19 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/1.567, allocations: 2.548 MB / 1.761 GB, free: 23.18 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.00106/1.568, allocations: 142.2 kB / 1.761 GB, free: 23.18 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007626/1.575, allocations: 2.215 MB / 1.764 GB, free: 23.18 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00181/1.577, allocations: 0.8331 MB / 1.764 GB, free: 23.18 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/1.579, allocations: 0.7764 MB / 1.765 GB, free: 23.14 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008413/1.588, allocations: 4.888 MB / 1.77 GB, free: 22.78 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.328e-06/1.588, allocations: 5.922 kB / 1.77 GB, free: 22.78 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.722e-06/1.588, allocations: 2.625 kB / 1.77 GB, free: 22.78 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001256/1.588, allocations: 0 / 1.77 GB, free: 22.78 MB / 0.8542 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.009998/1.598, allocations: 3.962 MB / 1.774 GB, free: 20.78 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.598, allocations: 9.375 kB / 1.774 GB, free: 20.78 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/1.609, allocations: 1.495 MB / 1.775 GB, free: 20.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/1.622, allocations: 3.027 MB / 1.778 GB, free: 19.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002053/1.624, allocations: 389.3 kB / 1.779 GB, free: 19.81 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/1.625, allocations: 246.9 kB / 1.779 GB, free: 19.81 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/1.636, allocations: 3.116 MB / 1.782 GB, free: 19.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.502e-05/1.637, allocations: 2.969 kB / 1.782 GB, free: 19.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003616/1.637, allocations: 101.9 kB / 1.782 GB, free: 19.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.974e-05/1.637, allocations: 85.11 kB / 1.782 GB, free: 19.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/1.648, allocations: 3.047 MB / 1.785 GB, free: 19.32 MB / 0.8542 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.02854/1.677, allocations: 13.43 MB / 1.798 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008683/1.685, allocations: 2.841 MB / 1.801 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/1.69, allocations: 1.188 MB / 1.802 GB, free: 12.77 MB / 0.8542 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.01268/1.702, allocations: 5.217 MB / 1.807 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00417/1.707, allocations: 1.276 MB / 1.808 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002625/1.709, allocations: 0.5922 MB / 1.809 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=150): time 8.203e-06/1.709, allocations: 0 / 1.809 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=150): time 0.01058/1.72, allocations: 3.041 MB / 1.812 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.72, allocations: 203.2 kB / 1.812 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/1.726, allocations: 3.245 MB / 1.815 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004346/1.727, allocations: 63.92 kB / 1.815 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.728, allocations: 1.586 MB / 1.817 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000698/1.729, allocations: 0.5031 MB / 1.817 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.729, allocations: 37.25 kB / 1.817 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.729, allocations: 377 kB / 1.818 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/1.733, allocations: 1.015 MB / 1.819 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/1.737, allocations: 1.644 MB / 1.82 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/1.741, allocations: 1.143 MB / 1.822 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/1.741, allocations: 8.984 kB / 1.822 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009754/1.751, allocations: 2.937 MB / 1.824 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/1.751, allocations: 0.4994 MB / 1.825 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.751, allocations: 13.94 kB / 1.825 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-05/1.751, allocations: 24.16 kB / 1.825 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/1.755, allocations: 0.5515 MB / 1.825 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.783e-05/1.755, allocations: 27.97 kB / 1.825 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004464/1.759, allocations: 377.6 kB / 1.826 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004688/1.76, allocations: 98.64 kB / 1.826 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.76, allocations: 3.906 kB / 1.826 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007782/1.767, allocations: 2.529 MB / 1.828 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/1.768, allocations: 14.03 kB / 1.828 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/1.768, allocations: 28.41 kB / 1.828 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.771, allocations: 0.5345 MB / 1.829 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/1.771, allocations: 31.08 kB / 1.829 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/1.775, allocations: 336.2 kB / 1.829 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/1.775, allocations: 93.91 kB / 1.829 GB, free: 3.93 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition1,triAndRes.sam.sampleTrigger,$whenCondition2,triAndRes.uniDel1.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 (240): * Single equations (assignments): 237 * 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.002134/1.777, allocations: 0.7878 MB / 1.83 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008969/1.778, allocations: 337 kB / 1.831 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007789/1.786, allocations: 2.62 MB / 1.833 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/1.786, allocations: 24.14 kB / 1.833 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.786, allocations: 5.641 kB / 1.833 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006729/1.793, allocations: 2.253 MB / 1.835 GB, free: 2.074 MB / 0.8542 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.01573/1.809, allocations: 5.72 MB / 1.841 GB, free: 16.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.809, allocations: 3.031 kB / 1.841 GB, free: 16.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002725/1.811, allocations: 411.8 kB / 1.841 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.191e-05/1.811, allocations: 9.562 kB / 1.841 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.812, allocations: 52.8 kB / 1.841 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/1.812, allocations: 13.62 kB / 1.841 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.8e-06/1.812, allocations: 5.594 kB / 1.841 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.824, allocations: 3.836 MB / 1.845 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.827, allocations: 0.6771 MB / 1.846 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/1.827, allocations: 36.48 kB / 1.846 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004261/1.832, allocations: 301.6 kB / 1.846 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004848/1.832, allocations: 111.2 kB / 1.846 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004369/1.833, allocations: 75.06 kB / 1.846 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008986/1.842, allocations: 2.222 MB / 1.848 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.605e-06/1.842, allocations: 0 / 1.848 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008582/1.85, allocations: 1.705 MB / 1.85 GB, free: 11.29 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.uniDel1.sampleTrigger,triAndRes.sam.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 (161): * Single equations (assignments): 150 * 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.003231/1.854, allocations: 1.051 MB / 1.851 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.866, allocations: 3.748 MB / 1.855 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-06/1.867, allocations: 0 / 1.855 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003796/1.87, allocations: 1.092 MB / 1.856 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009601/1.88, allocations: 1.534 MB / 1.857 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/1.901, allocations: 7.909 MB / 1.865 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/1.903, allocations: 2.099 MB / 1.867 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006041/1.909, allocations: 0.8352 MB / 1.868 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.911, allocations: 268.1 kB / 1.868 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of SimCode: time 3.299e-06/1.911, allocations: 4 kB / 1.868 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.1569/2.068, allocations: 61.77 MB / 1.929 GB, free: 15.02 MB / 0.948 GB