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.371/2.371, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002333/0.002333, allocations: 178.8 kB / 325.6 MB, free: 2.828 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.766/2.766, 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.001084/0.001084, allocations: 94.3 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004949, allocations: 19.83 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 106.2 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 1.068/1.284, allocations: 231 MB / 1.124 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.05385/1.338, allocations: 25.35 MB / 1.149 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007208/1.345, allocations: 114.8 kB / 1.149 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.01041/1.356, allocations: 2.032 MB / 1.151 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02307/1.379, allocations: 4.77 MB / 1.156 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01995/1.399, allocations: 4.33 MB / 1.16 GB, free: 0.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01654/1.416, allocations: 5.436 MB / 1.165 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007831/1.423, allocations: 2.471 MB / 1.168 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01556/1.439, allocations: 2.967 MB / 1.171 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008204/1.447, allocations: 1.902 MB / 1.173 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002243/1.45, allocations: 138.7 kB / 1.173 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/1.462, allocations: 2.363 MB / 1.175 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002453/1.464, allocations: 0.7994 MB / 1.176 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/1.467, allocations: 0.7739 MB / 1.177 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/1.478, allocations: 4.829 MB / 1.181 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.478, allocations: 0 / 1.181 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.905e-06/1.478, allocations: 0 / 1.181 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002188/1.479, allocations: 0 / 1.181 GB, free: 9.566 MB / 0.7136 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.01421/1.493, allocations: 3.96 MB / 1.185 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.493, allocations: 16.77 kB / 1.185 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/1.509, allocations: 1.498 MB / 1.187 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/1.52, allocations: 2.906 MB / 1.19 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001636/1.522, allocations: 392.8 kB / 1.19 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/1.523, allocations: 250.7 kB / 1.19 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/1.536, allocations: 3.078 MB / 1.193 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.895e-05/1.537, allocations: 6.156 kB / 1.193 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004569/1.537, allocations: 96.36 kB / 1.193 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/1.537, allocations: 86.28 kB / 1.193 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.553, allocations: 3.042 MB / 1.196 GB, free: 14.64 MB / 0.7292 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.04154/1.595, allocations: 13.45 MB / 1.209 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/1.607, allocations: 2.865 MB / 1.212 GB, free: 14.02 MB / 0.7448 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.02225/1.63, allocations: 5.946 MB / 1.218 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006187/1.636, allocations: 1.271 MB / 1.219 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004133/1.64, allocations: 0.6032 MB / 1.22 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=150): time 1.161e-05/1.64, allocations: 0 / 1.22 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=150): time 0.01692/1.657, allocations: 3.014 MB / 1.223 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002603/1.657, allocations: 259.4 kB / 1.223 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/1.673, allocations: 3.316 MB / 1.226 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007333/1.673, allocations: 61.7 kB / 1.226 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003639/1.677, allocations: 1.595 MB / 1.228 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.678, allocations: 0.5084 MB / 1.228 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/1.679, allocations: 36 kB / 1.228 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003155/1.679, allocations: 381.8 kB / 1.229 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008453/1.688, allocations: 1.007 MB / 1.23 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009758/1.698, allocations: 1.63 MB / 1.231 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009326/1.707, allocations: 1.142 MB / 1.233 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.048e-05/1.707, allocations: 4 kB / 1.233 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01613/1.723, allocations: 2.932 MB / 1.235 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002741/1.726, allocations: 6.02 MB / 1.241 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.011e-05/1.726, allocations: 23.98 kB / 1.241 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.4e-05/1.726, allocations: 24 kB / 1.241 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00558/1.732, allocations: 0.5689 MB / 1.242 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.818e-05/1.732, allocations: 30.09 kB / 1.242 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006667/1.739, allocations: 380 kB / 1.242 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006651/1.739, allocations: 99.95 kB / 1.242 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.739, allocations: 4 kB / 1.242 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01173/1.751, allocations: 2.51 MB / 1.245 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-05/1.751, allocations: 16 kB / 1.245 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/1.751, allocations: 24 kB / 1.245 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004993/1.756, allocations: 0.5487 MB / 1.245 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-05/1.756, allocations: 29.89 kB / 1.245 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005884/1.762, allocations: 332.1 kB / 1.246 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006489/1.763, allocations: 95.95 kB / 1.246 GB, free: 10.71 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (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.002898/1.766, allocations: 0.7894 MB / 1.247 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/1.767, allocations: 339.8 kB / 1.247 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/1.785, allocations: 2.562 MB / 1.249 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/1.785, allocations: 19.98 kB / 1.249 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.785, allocations: 0 / 1.249 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009699/1.795, allocations: 2.198 MB / 1.252 GB, free: 4.754 MB / 0.7761 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.02116/1.816, allocations: 5.88 MB / 1.257 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.816, allocations: 7.953 kB / 1.257 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004242/1.82, allocations: 407.8 kB / 1.258 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.484e-05/1.82, allocations: 12 kB / 1.258 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003871/1.821, allocations: 47.97 kB / 1.258 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-05/1.821, allocations: 15.98 kB / 1.258 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.821, allocations: 7.938 kB / 1.258 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/1.838, allocations: 4.38 MB / 1.262 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/1.84, allocations: 0.6917 MB / 1.263 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.842, allocations: 35.98 kB / 1.263 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005511/1.847, allocations: 300.8 kB / 1.263 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/1.848, allocations: 113.1 kB / 1.263 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003348/1.848, allocations: 71.94 kB / 1.263 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.006713/1.855, allocations: 2.284 MB / 1.265 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.01e-07/1.855, allocations: 0 / 1.265 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.008556/1.863, allocations: 1.735 MB / 1.267 GB, free: 4.461 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (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.003779/1.867, allocations: 1.097 MB / 1.268 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01721/1.884, allocations: 3.735 MB / 1.272 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.884, allocations: 0 / 1.272 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/1.89, allocations: 1.086 MB / 1.273 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/1.903, allocations: 1.518 MB / 1.274 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/1.93, allocations: 7.877 MB / 1.282 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/1.933, allocations: 2.107 MB / 1.284 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006792/1.94, allocations: 0.8362 MB / 1.285 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/1.942, allocations: 275.3 kB / 1.285 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of SimCode: time 1.302e-06/1.942, allocations: 0 / 1.285 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of Templates: time 0.1917/2.134, allocations: 62.81 MB / 1.347 GB, free: 3.625 MB / 0.8698 GB