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 2.579/2.579, allocations: 287.9 MB / 302.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 183.9 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001092, allocations: 96.3 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004802, allocations: 11.56 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1563, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.903/1.059, allocations: 230.8 MB / 1.204 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.07612/1.135, allocations: 25.33 MB / 1.229 GB, free: 9 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005735/1.141, allocations: 115.2 kB / 1.229 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.008143/1.149, allocations: 2.022 MB / 1.231 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.02386/1.173, allocations: 4.726 MB / 1.236 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01725/1.191, allocations: 4.371 MB / 1.24 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01289/1.204, allocations: 5.362 MB / 1.245 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005556/1.209, allocations: 2.461 MB / 1.247 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008767/1.218, allocations: 3.009 MB / 1.25 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/1.222, allocations: 1.871 MB / 1.252 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/1.223, allocations: 144 kB / 1.252 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008504/1.232, allocations: 2.371 MB / 1.255 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001794/1.234, allocations: 0.7979 MB / 1.255 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001782/1.236, allocations: 0.773 MB / 1.256 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/1.246, allocations: 4.851 MB / 1.261 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.854e-06/1.246, allocations: 0 / 1.261 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.251e-06/1.246, allocations: 3.938 kB / 1.261 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001289/1.246, allocations: 0 / 1.261 GB, free: 8.09 MB / 0.7917 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.01068/1.257, allocations: 3.955 MB / 1.265 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.257, allocations: 8.031 kB / 1.265 GB, free: 4.039 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/1.268, allocations: 1.497 MB / 1.266 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008764/1.277, allocations: 2.918 MB / 1.269 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/1.278, allocations: 396.2 kB / 1.27 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007423/1.279, allocations: 243.9 kB / 1.27 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009864/1.289, allocations: 3.084 MB / 1.273 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.306e-05/1.289, allocations: 7.953 kB / 1.273 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/1.289, allocations: 95.98 kB / 1.273 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/1.289, allocations: 92.2 kB / 1.273 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/1.301, allocations: 3.03 MB / 1.276 GB, free: 8.441 MB / 0.8073 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.03286/1.334, allocations: 13.49 MB / 1.289 GB, free: 10.19 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009317/1.343, allocations: 2.841 MB / 1.292 GB, free: 7.23 MB / 0.823 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.01642/1.36, allocations: 5.978 MB / 1.298 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004401/1.364, allocations: 1.268 MB / 1.299 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002743/1.367, allocations: 0.6109 MB / 1.3 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=150): time 6.943e-06/1.367, allocations: 0 / 1.3 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=150): time 0.01154/1.379, allocations: 3.02 MB / 1.303 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/1.379, allocations: 252.6 kB / 1.303 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007475/1.386, allocations: 3.32 MB / 1.306 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003902/1.387, allocations: 61.7 kB / 1.306 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002156/1.389, allocations: 1.584 MB / 1.308 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008422/1.39, allocations: 0.5084 MB / 1.308 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/1.39, allocations: 36 kB / 1.308 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002555/1.39, allocations: 381.8 kB / 1.308 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/1.394, allocations: 1.007 MB / 1.309 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00454/1.399, allocations: 1.633 MB / 1.311 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/1.403, allocations: 1.138 MB / 1.312 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/1.403, allocations: 4 kB / 1.312 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01049/1.414, allocations: 2.93 MB / 1.315 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003163/1.417, allocations: 6.022 MB / 1.321 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.075e-05/1.417, allocations: 16 kB / 1.321 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.043e-05/1.417, allocations: 28.52 kB / 1.321 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.421, allocations: 0.5656 MB / 1.322 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-05/1.421, allocations: 31.92 kB / 1.322 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/1.425, allocations: 372 kB / 1.322 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005185/1.426, allocations: 99.95 kB / 1.322 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/1.426, allocations: 4 kB / 1.322 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009106/1.435, allocations: 2.515 MB / 1.324 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.249e-05/1.435, allocations: 20.08 kB / 1.324 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/1.435, allocations: 28 kB / 1.325 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/1.439, allocations: 0.5422 MB / 1.325 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.283e-05/1.439, allocations: 31.86 kB / 1.325 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004154/1.443, allocations: 336.1 kB / 1.325 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004878/1.443, allocations: 95.95 kB / 1.325 GB, free: 3.617 MB / 0.8542 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.002419/1.446, allocations: 0.7794 MB / 1.326 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009154/1.447, allocations: 339.8 kB / 1.327 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/1.456, allocations: 2.553 MB / 1.329 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.456, allocations: 19.98 kB / 1.329 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/1.456, allocations: 4 kB / 1.329 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006937/1.463, allocations: 2.197 MB / 1.331 GB, free: 13.63 MB / 0.8698 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.01629/1.479, allocations: 5.899 MB / 1.337 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.479, allocations: 4.234 kB / 1.337 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/1.482, allocations: 412 kB / 1.337 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.209e-05/1.482, allocations: 8 kB / 1.337 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/1.482, allocations: 59.89 kB / 1.337 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.163e-05/1.482, allocations: 15.94 kB / 1.337 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.023e-06/1.482, allocations: 7.984 kB / 1.337 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.495, allocations: 4.38 MB / 1.342 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.497, allocations: 0.6955 MB / 1.342 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007974/1.498, allocations: 43.98 kB / 1.342 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/1.502, allocations: 305.3 kB / 1.343 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/1.502, allocations: 113.1 kB / 1.343 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/1.502, allocations: 79.94 kB / 1.343 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005745/1.508, allocations: 2.276 MB / 1.345 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.362e-06/1.508, allocations: 3.938 kB / 1.345 GB, free: 15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007121/1.515, allocations: 1.735 MB / 1.347 GB, free: 13.27 MB / 0.8855 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.00339/1.519, allocations: 1.089 MB / 1.348 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02026/1.539, allocations: 3.727 MB / 1.352 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/1.539, allocations: 8.062 kB / 1.352 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007126/1.546, allocations: 1.082 MB / 1.353 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01662/1.563, allocations: 1.525 MB / 1.354 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03675/1.6, allocations: 7.881 MB / 1.362 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006681/1.606, allocations: 2.107 MB / 1.364 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007631/1.614, allocations: 0.8386 MB / 1.365 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.615, allocations: 275.3 kB / 1.365 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of SimCode: time 1.695e-06/1.615, allocations: 4 kB / 1.365 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of Templates: time 0.2203/1.836, allocations: 63.01 MB / 1.426 GB, free: 12.27 MB / 0.9636 GB