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 5.127/5.127, allocations: 0.5623 GB / 0.5775 GB, free: 3.316 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.003449/0.003449, allocations: 356 kB / 0.6446 GB, free: 185.6 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 4.211/4.211, allocations: 410.7 MB / 1.113 GB, free: 5.98 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.001804/0.001804, allocations: 190.5 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005287, allocations: 12 kB / 1.349 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7849, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.133/7.918, allocations: 2.394 GB / 3.855 GB, free: 6.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/7.919, allocations: 113.5 kB / 3.855 GB, free: 6.258 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.328/17.25, allocations: 1.695 GB / 5.55 GB, free: 87.74 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.146e-06/17.25, allocations: 0 / 5.55 GB, free: 87.74 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000742/17.25, allocations: 101.9 kB / 5.55 GB, free: 87.72 MB / 0.9948 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.01998/17.27, allocations: 4.583 MB / 5.555 GB, free: 85.59 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/17.27, allocations: 10.88 kB / 5.555 GB, free: 85.59 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/17.28, allocations: 1.344 MB / 5.556 GB, free: 85.37 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/17.3, allocations: 3.93 MB / 5.56 GB, free: 84.63 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/17.3, allocations: 329.8 kB / 5.56 GB, free: 84.56 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/17.3, allocations: 243.4 kB / 5.56 GB, free: 84.55 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/17.32, allocations: 3.085 MB / 5.563 GB, free: 84.14 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/17.32, allocations: 6.188 kB / 5.563 GB, free: 84.13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006004/17.32, allocations: 98.59 kB / 5.564 GB, free: 84.13 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/17.32, allocations: 87.62 kB / 5.564 GB, free: 84.12 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/17.33, allocations: 2.938 MB / 5.566 GB, free: 84.07 MB / 0.9948 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.03584/17.37, allocations: 12.77 MB / 5.579 GB, free: 77.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/17.38, allocations: 2.751 MB / 5.582 GB, free: 76.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/17.38, allocations: 1.092 MB / 5.583 GB, free: 76.25 MB / 0.9948 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.01743/17.4, allocations: 5.562 MB / 5.588 GB, free: 72.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005019/17.41, allocations: 1.2 MB / 5.589 GB, free: 72.08 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002595/17.41, allocations: 248.2 kB / 5.59 GB, free: 71.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=151): time 9.298e-06/17.41, allocations: 0 / 5.59 GB, free: 71.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=151): time 0.01513/17.42, allocations: 2.96 MB / 5.592 GB, free: 71.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/17.42, allocations: 232.9 kB / 5.593 GB, free: 70.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008872/17.43, allocations: 3.195 MB / 5.596 GB, free: 69.64 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000667/17.43, allocations: 63.62 kB / 5.596 GB, free: 69.59 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/17.44, allocations: 1.59 MB / 5.597 GB, free: 68.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009904/17.44, allocations: 0.5077 MB / 5.598 GB, free: 67.94 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/17.44, allocations: 35.62 kB / 5.598 GB, free: 67.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001636/17.44, allocations: 373.7 kB / 5.598 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004799/17.44, allocations: 0.966 MB / 5.599 GB, free: 67.31 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005761/17.45, allocations: 1.642 MB / 5.601 GB, free: 66.25 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00528/17.45, allocations: 1.094 MB / 5.602 GB, free: 65.87 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/17.45, allocations: 3.812 kB / 5.602 GB, free: 65.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01333/17.47, allocations: 2.818 MB / 5.605 GB, free: 64.92 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003396/17.47, allocations: 488.7 kB / 5.605 GB, free: 64.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-05/17.47, allocations: 20.14 kB / 5.605 GB, free: 64.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.051e-05/17.47, allocations: 26.67 kB / 5.605 GB, free: 64.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00503/17.47, allocations: 0.528 MB / 5.606 GB, free: 64.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.995e-05/17.47, allocations: 32.36 kB / 5.606 GB, free: 64.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006595/17.48, allocations: 351.9 kB / 5.606 GB, free: 64.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008255/17.48, allocations: 112.8 kB / 5.606 GB, free: 64.19 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/17.48, allocations: 3.75 kB / 5.606 GB, free: 64.19 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01125/17.49, allocations: 2.432 MB / 5.609 GB, free: 63.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-05/17.49, allocations: 18.94 kB / 5.609 GB, free: 63.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/17.49, allocations: 21.84 kB / 5.609 GB, free: 63.42 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004753/17.5, allocations: 0.5137 MB / 5.609 GB, free: 63.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.679e-05/17.5, allocations: 33.75 kB / 5.609 GB, free: 63.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006148/17.5, allocations: 323.5 kB / 5.609 GB, free: 63.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007204/17.5, allocations: 107.1 kB / 5.609 GB, free: 63.3 MB / 0.9948 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 (232): * Single equations (assignments): 229 * 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.003198/17.51, allocations: 0.7865 MB / 5.61 GB, free: 62.79 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/17.51, allocations: 342.6 kB / 5.611 GB, free: 62.62 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/17.52, allocations: 2.587 MB / 5.613 GB, free: 61.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.584e-05/17.52, allocations: 25.39 kB / 5.613 GB, free: 61.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/17.52, allocations: 2.25 kB / 5.613 GB, free: 61.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009253/17.53, allocations: 2.206 MB / 5.615 GB, free: 60.69 MB / 0.9948 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.02128/17.55, allocations: 5.701 MB / 5.621 GB, free: 58.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/17.55, allocations: 7.938 kB / 5.621 GB, free: 58.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004023/17.55, allocations: 402.8 kB / 5.621 GB, free: 58.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.797e-05/17.55, allocations: 6.688 kB / 5.621 GB, free: 58.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/17.55, allocations: 56.8 kB / 5.621 GB, free: 58.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/17.55, allocations: 17.92 kB / 5.621 GB, free: 58.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/17.55, allocations: 3.594 kB / 5.621 GB, free: 58.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/17.57, allocations: 3.783 MB / 5.625 GB, free: 55.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002948/17.57, allocations: 0.6722 MB / 5.626 GB, free: 54.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/17.57, allocations: 43.98 kB / 5.626 GB, free: 54.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005897/17.58, allocations: 283.5 kB / 5.626 GB, free: 54.59 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/17.58, allocations: 105.1 kB / 5.626 GB, free: 54.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/17.58, allocations: 83.92 kB / 5.626 GB, free: 54.41 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006651/17.59, allocations: 2.182 MB / 5.628 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.01e-07/17.59, allocations: 0 / 5.628 GB, free: 52.25 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01084/17.6, allocations: 1.992 MB / 5.63 GB, free: 50.25 MB / 0.9948 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.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 (162): * Single equations (assignments): 151 * 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.008463/17.61, allocations: 3.82 MB / 5.634 GB, free: 46.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01585/17.62, allocations: 3.574 MB / 5.637 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/17.62, allocations: 0 / 5.637 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00458/17.63, allocations: 1.043 MB / 5.638 GB, free: 42.18 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/17.64, allocations: 1.543 MB / 5.64 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/17.67, allocations: 7.822 MB / 5.648 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/17.67, allocations: 2.107 MB / 5.65 GB, free: 30.73 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.007353/17.68, allocations: 0.8489 MB / 5.651 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/17.68, allocations: 271.3 kB / 5.651 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of SimCode: time 2.344e-06/17.68, allocations: 0 / 5.651 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of Templates: time 1.089/18.77, allocations: 87.66 MB / 5.736 GB, free: 119.7 MB / 1.026 GB