Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 289.7 MB / 302.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 183.1 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 92.34 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.263e-05, allocations: 11.98 kB / 0.8663 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2508, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.297/6.548, allocations: 2.395 GB / 3.375 GB, free: 208.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/6.548, allocations: 109.2 kB / 3.375 GB, free: 208.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.094/13.64, allocations: 1.704 GB / 5.079 GB, free: 85.04 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.594e-06/13.64, allocations: 0 / 5.079 GB, free: 85.04 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0008653/13.64, allocations: 100.7 kB / 5.079 GB, free: 85.04 MB / 1.01 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.01529/13.66, allocations: 3.754 MB / 5.082 GB, free: 83.66 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/13.66, allocations: 8.938 kB / 5.082 GB, free: 83.66 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/13.67, allocations: 1.335 MB / 5.084 GB, free: 83.44 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/13.68, allocations: 4.137 MB / 5.088 GB, free: 82.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008605/13.69, allocations: 332.8 kB / 5.088 GB, free: 82.86 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/13.69, allocations: 248.5 kB / 5.088 GB, free: 82.86 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00894/13.7, allocations: 2.777 MB / 5.091 GB, free: 82.45 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/13.7, allocations: 3.281 kB / 5.091 GB, free: 82.45 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007897/13.7, allocations: 92.84 kB / 5.091 GB, free: 82.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/13.7, allocations: 84.97 kB / 5.091 GB, free: 82.44 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/13.7, allocations: 2.359 MB / 5.094 GB, free: 82.41 MB / 1.01 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.02643/13.73, allocations: 12.84 MB / 5.106 GB, free: 76.85 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/13.73, allocations: 2.196 MB / 5.108 GB, free: 76.31 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/13.73, allocations: 0.8526 MB / 5.109 GB, free: 76.29 MB / 1.01 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.01262/13.75, allocations: 5.551 MB / 5.114 GB, free: 73.85 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/13.75, allocations: 0.9517 MB / 5.115 GB, free: 73.77 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002207/13.75, allocations: 252.8 kB / 5.116 GB, free: 73.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=145): time 9.638e-06/13.75, allocations: 0 / 5.116 GB, free: 73.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=145): time 0.004173/13.76, allocations: 1.699 MB / 5.117 GB, free: 73.44 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/13.76, allocations: 232 kB / 5.118 GB, free: 73.19 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006913/13.76, allocations: 2.841 MB / 5.12 GB, free: 72.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003278/13.76, allocations: 66.16 kB / 5.12 GB, free: 72.9 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001979/13.76, allocations: 1.619 MB / 5.122 GB, free: 72.46 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/13.77, allocations: 499.7 kB / 5.122 GB, free: 72.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/13.77, allocations: 36.92 kB / 5.122 GB, free: 72.15 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001585/13.77, allocations: 379 kB / 5.123 GB, free: 71.84 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/13.77, allocations: 0.7046 MB / 5.124 GB, free: 71.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/13.77, allocations: 1.373 MB / 5.125 GB, free: 71.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/13.77, allocations: 0.8353 MB / 5.126 GB, free: 71.08 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/13.77, allocations: 3.281 kB / 5.126 GB, free: 71.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00508/13.78, allocations: 2.299 MB / 5.128 GB, free: 70.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001408/13.78, allocations: 5.833 MB / 5.134 GB, free: 64.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.903e-05/13.78, allocations: 14.81 kB / 5.134 GB, free: 64.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.796e-05/13.78, allocations: 22.31 kB / 5.134 GB, free: 64.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/13.78, allocations: 0.5455 MB / 5.134 GB, free: 64.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-05/13.78, allocations: 29.16 kB / 5.134 GB, free: 64.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/13.78, allocations: 362.2 kB / 5.135 GB, free: 64.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003321/13.78, allocations: 106.3 kB / 5.135 GB, free: 64.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/13.78, allocations: 5.344 kB / 5.135 GB, free: 64.75 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003813/13.79, allocations: 1.941 MB / 5.137 GB, free: 64.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/13.79, allocations: 17.52 kB / 5.137 GB, free: 64.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/13.79, allocations: 24.59 kB / 5.137 GB, free: 64.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/13.79, allocations: 0.5282 MB / 5.137 GB, free: 64.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.294e-05/13.79, allocations: 34.66 kB / 5.137 GB, free: 64.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/13.8, allocations: 328.5 kB / 5.137 GB, free: 64.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/13.8, allocations: 109.6 kB / 5.138 GB, free: 64.69 MB / 1.01 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 () * 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.001399/13.8, allocations: 232.7 kB / 5.138 GB, free: 64.57 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00217/13.8, allocations: 339.2 kB / 5.138 GB, free: 64.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007385/13.81, allocations: 2.029 MB / 5.14 GB, free: 64.28 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/13.81, allocations: 19.81 kB / 5.14 GB, free: 64.28 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/13.81, allocations: 0.75 kB / 5.14 GB, free: 64.28 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003439/13.81, allocations: 1.761 MB / 5.142 GB, free: 63.81 MB / 1.01 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.01255/13.82, allocations: 5.194 MB / 5.147 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/13.82, allocations: 4.062 kB / 5.147 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/13.83, allocations: 388.8 kB / 5.147 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-05/13.83, allocations: 13.73 kB / 5.147 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/13.83, allocations: 53.19 kB / 5.147 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.746e-05/13.83, allocations: 8.906 kB / 5.147 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/13.83, allocations: 6.703 kB / 5.147 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/13.83, allocations: 3.378 MB / 5.151 GB, free: 62.22 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/13.83, allocations: 0.6853 MB / 5.151 GB, free: 61.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/13.84, allocations: 38.38 kB / 5.151 GB, free: 61.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003629/13.84, allocations: 276.6 kB / 5.152 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/13.84, allocations: 103.6 kB / 5.152 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/13.84, allocations: 78.06 kB / 5.152 GB, free: 61.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.005975/13.85, allocations: 2.177 MB / 5.154 GB, free: 61.77 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.01e-07/13.85, allocations: 0 / 5.154 GB, free: 61.77 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01235/13.86, allocations: 2.031 MB / 5.156 GB, free: 61.51 MB / 1.01 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.01005/13.87, allocations: 3.841 MB / 5.16 GB, free: 60.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008241/13.88, allocations: 2.965 MB / 5.163 GB, free: 59.99 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/13.88, allocations: 2.375 kB / 5.163 GB, free: 59.99 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/13.88, allocations: 0.8166 MB / 5.163 GB, free: 59.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/13.89, allocations: 1.505 MB / 5.165 GB, free: 59.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/13.91, allocations: 5.268 MB / 5.17 GB, free: 58.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/13.91, allocations: 2.111 MB / 5.172 GB, free: 57.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.008086/13.92, allocations: 1.251 MB / 5.173 GB, free: 57.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009826/13.92, allocations: 211.7 kB / 5.173 GB, free: 57.91 MB / 1.01 GB Notification: Performance of SimCode: time 1.944e-06/13.92, allocations: 0 / 5.173 GB, free: 57.91 MB / 1.01 GB Notification: Performance of Templates: time 0.163/14.08, allocations: 100.8 MB / 5.272 GB, free: 51.54 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)