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.191/2.191, allocations: 253.2 MB / 260.6 MB, free: 7.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 184.8 kB / 319.9 MB, free: 3.059 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.116/2.116, allocations: 205.6 MB / 0.5709 GB, free: 15.23 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.00116/0.00116, allocations: 78.72 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.153e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2109, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.432/8.643, allocations: 2.511 GB / 3.399 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/8.643, allocations: 107.5 kB / 3.399 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.81/17.45, allocations: 1.645 GB / 5.044 GB, free: 84.57 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.766e-06/17.45, allocations: 0 / 5.044 GB, free: 84.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007053/17.45, allocations: 109 kB / 5.044 GB, free: 84.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.01366/17.47, allocations: 3.742 MB / 5.048 GB, free: 83.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/17.47, allocations: 10.31 kB / 5.048 GB, free: 83.07 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/17.48, allocations: 1.334 MB / 5.049 GB, free: 82.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/17.5, allocations: 4.132 MB / 5.053 GB, free: 82.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008497/17.5, allocations: 237.7 kB / 5.053 GB, free: 82.11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007312/17.5, allocations: 144.1 kB / 5.053 GB, free: 82.11 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006321/17.51, allocations: 2.208 MB / 5.056 GB, free: 82.09 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/17.51, allocations: 2.348 MB / 5.058 GB, free: 81.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.625e-05/17.51, allocations: 5.781 kB / 5.058 GB, free: 81.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/17.52, allocations: 5.969 kB / 5.058 GB, free: 81.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/17.52, allocations: 90.81 kB / 5.058 GB, free: 81.69 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.03087/17.55, allocations: 12.41 MB / 5.07 GB, free: 76.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005144/17.55, allocations: 1.953 MB / 5.072 GB, free: 75.76 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/17.55, allocations: 0.8117 MB / 5.073 GB, free: 75.74 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01633/17.57, allocations: 5.276 MB / 5.078 GB, free: 73.43 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/17.57, allocations: 0.9075 MB / 5.079 GB, free: 73.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002106/17.57, allocations: 201.4 kB / 5.079 GB, free: 73.28 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 6.722e-06/17.57, allocations: 2.734 kB / 5.079 GB, free: 73.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.007164/17.58, allocations: 1.729 MB / 5.081 GB, free: 73.05 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/17.58, allocations: 229.2 kB / 5.081 GB, free: 72.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006234/17.59, allocations: 2.411 MB / 5.083 GB, free: 72.55 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006148/17.59, allocations: 31.83 kB / 5.083 GB, free: 72.52 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/17.59, allocations: 1.604 MB / 5.085 GB, free: 72 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/17.59, allocations: 485.4 kB / 5.085 GB, free: 71.69 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/17.59, allocations: 1.375 kB / 5.085 GB, free: 71.69 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001549/17.59, allocations: 374.1 kB / 5.086 GB, free: 71.39 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/17.59, allocations: 0.6826 MB / 5.086 GB, free: 71.38 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/17.6, allocations: 1.344 MB / 5.088 GB, free: 70.63 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/17.6, allocations: 0.9669 MB / 5.089 GB, free: 70.61 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/17.6, allocations: 6.688 kB / 5.089 GB, free: 70.61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009068/17.61, allocations: 2.288 MB / 5.091 GB, free: 70.39 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001574/17.61, allocations: 5.926 MB / 5.097 GB, free: 64.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/17.61, allocations: 17.34 kB / 5.097 GB, free: 64.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.143e-05/17.61, allocations: 26.25 kB / 5.097 GB, free: 64.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005277/17.62, allocations: 0.5393 MB / 5.097 GB, free: 64.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.934e-05/17.62, allocations: 34.67 kB / 5.097 GB, free: 64.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006478/17.62, allocations: 307 kB / 5.098 GB, free: 64.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007811/17.62, allocations: 115.9 kB / 5.098 GB, free: 64.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/17.62, allocations: 6.062 kB / 5.098 GB, free: 64.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007064/17.63, allocations: 1.891 MB / 5.1 GB, free: 64.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.399e-05/17.63, allocations: 22.23 kB / 5.1 GB, free: 64.06 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/17.63, allocations: 24 kB / 5.1 GB, free: 64.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/17.64, allocations: 0.5276 MB / 5.1 GB, free: 64.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.747e-05/17.64, allocations: 34.06 kB / 5.1 GB, free: 64.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/17.64, allocations: 258.7 kB / 5.1 GB, free: 64.05 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000707/17.64, allocations: 109.4 kB / 5.101 GB, free: 64.05 MB / 0.9323 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 () * 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.0007587/17.64, allocations: 166.7 kB / 5.101 GB, free: 63.93 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/17.65, allocations: 316.7 kB / 5.101 GB, free: 63.77 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007202/17.65, allocations: 1.975 MB / 5.103 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/17.65, allocations: 18.5 kB / 5.103 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/17.65, allocations: 1.125 kB / 5.103 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004882/17.66, allocations: 1.749 MB / 5.105 GB, free: 63.18 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01589/17.67, allocations: 4.844 MB / 5.109 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/17.67, allocations: 2.969 kB / 5.109 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/17.68, allocations: 391.3 kB / 5.11 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.953e-05/17.68, allocations: 8.156 kB / 5.11 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/17.68, allocations: 30.72 kB / 5.11 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/17.68, allocations: 15.92 kB / 5.11 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/17.68, allocations: 3.156 kB / 5.11 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008528/17.69, allocations: 3.26 MB / 5.113 GB, free: 61.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003021/17.69, allocations: 0.6617 MB / 5.114 GB, free: 61.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/17.69, allocations: 8.625 kB / 5.114 GB, free: 61.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005442/17.7, allocations: 238.9 kB / 5.114 GB, free: 61.42 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/17.7, allocations: 103.3 kB / 5.114 GB, free: 61.42 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/17.7, allocations: 80.91 kB / 5.114 GB, free: 61.42 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.004921/17.7, allocations: 1.794 MB / 5.116 GB, free: 61.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.12e-07/17.7, allocations: 1.5 kB / 5.116 GB, free: 61.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01094/17.71, allocations: 1.924 MB / 5.118 GB, free: 60.98 MB / 0.9323 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) * 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.008661/17.72, allocations: 3.891 MB / 5.121 GB, free: 59.64 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007383/17.73, allocations: 2.818 MB / 5.124 GB, free: 59.54 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/17.73, allocations: 6.094 kB / 5.124 GB, free: 59.54 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/17.73, allocations: 0.7813 MB / 5.125 GB, free: 59.54 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/17.74, allocations: 1.216 MB / 5.126 GB, free: 59.52 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/17.76, allocations: 5.121 MB / 5.131 GB, free: 58.05 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/17.76, allocations: 2.113 MB / 5.133 GB, free: 57.25 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009773/17.77, allocations: 1.16 MB / 5.134 GB, free: 57.08 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/17.78, allocations: 204.9 kB / 5.135 GB, free: 57.07 MB / 0.9323 GB Notification: Performance of SimCode: time 1.103e-06/17.78, allocations: 0 / 5.135 GB, free: 57.07 MB / 0.9323 GB Notification: Performance of Templates: time 0.1755/17.95, allocations: 70.47 MB / 5.203 GB, free: 51.54 MB / 0.9323 GB