Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 252 MB / 267.9 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009339/0.0009341, allocations: 180.9 kB / 327.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.5785 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007648/0.0007648, allocations: 86.88 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 11.78 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.86/5.055, allocations: 2.511 GB / 3.412 GB, free: 39.91 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/5.055, allocations: 108.7 kB / 3.412 GB, free: 39.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.944/10, allocations: 1.649 GB / 5.062 GB, free: 80.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.484e-06/10, allocations: 1.719 kB / 5.062 GB, free: 80.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0007813/10, allocations: 102.3 kB / 5.062 GB, free: 80.28 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.01447/10.01, allocations: 4.547 MB / 5.066 GB, free: 77.74 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/10.01, allocations: 10.12 kB / 5.066 GB, free: 77.74 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008815/10.02, allocations: 1.328 MB / 5.067 GB, free: 77.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/10.04, allocations: 4.058 MB / 5.071 GB, free: 75.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006653/10.04, allocations: 335.3 kB / 5.072 GB, free: 75.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/10.04, allocations: 241.9 kB / 5.072 GB, free: 75.32 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008803/10.05, allocations: 3.075 MB / 5.075 GB, free: 73.99 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/10.05, allocations: 3.938 kB / 5.075 GB, free: 73.98 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005587/10.05, allocations: 93.77 kB / 5.075 GB, free: 73.92 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.532e-05/10.05, allocations: 84.45 kB / 5.075 GB, free: 73.91 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007581/10.05, allocations: 2.945 MB / 5.078 GB, free: 72.96 MB / 0.9323 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.02121/10.08, allocations: 12.78 MB / 5.09 GB, free: 63.81 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/10.08, allocations: 2.645 MB / 5.093 GB, free: 62.28 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/10.08, allocations: 1.113 MB / 5.094 GB, free: 61.76 MB / 0.9323 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.009427/10.09, allocations: 5.504 MB / 5.1 GB, free: 57.09 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/10.09, allocations: 1.162 MB / 5.101 GB, free: 56.44 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001725/10.1, allocations: 253.8 kB / 5.101 GB, free: 56.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=145): time 7.303e-06/10.1, allocations: 0 / 5.101 GB, free: 56.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=145): time 0.006952/10.1, allocations: 2.905 MB / 5.104 GB, free: 54.98 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/10.1, allocations: 230 kB / 5.104 GB, free: 54.73 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/10.11, allocations: 3.238 MB / 5.107 GB, free: 53.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/10.11, allocations: 66.45 kB / 5.107 GB, free: 53.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/10.11, allocations: 1.622 MB / 5.109 GB, free: 51.59 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/10.11, allocations: 499.7 kB / 5.109 GB, free: 51.17 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/10.11, allocations: 35.53 kB / 5.109 GB, free: 51.14 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001086/10.11, allocations: 383.6 kB / 5.11 GB, free: 50.78 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/10.11, allocations: 0.9688 MB / 5.111 GB, free: 50.35 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/10.12, allocations: 1.647 MB / 5.112 GB, free: 49.07 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/10.12, allocations: 2.308 MB / 5.114 GB, free: 46.67 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/10.12, allocations: 4 kB / 5.114 GB, free: 46.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.005987/10.13, allocations: 2.835 MB / 5.117 GB, free: 43.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/10.13, allocations: 0.4909 MB / 5.118 GB, free: 43.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/10.13, allocations: 16 kB / 5.118 GB, free: 43.13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/10.13, allocations: 31.27 kB / 5.118 GB, free: 43.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/10.13, allocations: 0.5266 MB / 5.118 GB, free: 42.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-05/10.13, allocations: 31.92 kB / 5.118 GB, free: 42.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/10.13, allocations: 367.2 kB / 5.119 GB, free: 42.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/10.13, allocations: 107.9 kB / 5.119 GB, free: 42.08 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/10.13, allocations: 4 kB / 5.119 GB, free: 42.07 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004884/10.14, allocations: 2.449 MB / 5.121 GB, free: 39.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/10.14, allocations: 19.19 kB / 5.121 GB, free: 39.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/10.14, allocations: 20 kB / 5.121 GB, free: 39.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/10.14, allocations: 0.5194 MB / 5.122 GB, free: 39.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.608e-05/10.14, allocations: 30.27 kB / 5.122 GB, free: 39.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/10.14, allocations: 323.4 kB / 5.122 GB, free: 38.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/10.14, allocations: 108 kB / 5.122 GB, free: 38.62 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (234): * Single equations (assignments): 231 * 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.001763/10.14, allocations: 0.7872 MB / 5.123 GB, free: 37.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008156/10.15, allocations: 339.7 kB / 5.123 GB, free: 37.49 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005448/10.15, allocations: 2.454 MB / 5.126 GB, free: 35.05 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/10.15, allocations: 20 kB / 5.126 GB, free: 35.03 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/10.15, allocations: 0 / 5.126 GB, free: 35.03 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003912/10.16, allocations: 2.174 MB / 5.128 GB, free: 32.77 MB / 0.9323 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.01133/10.17, allocations: 5.575 MB / 5.133 GB, free: 27.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/10.17, allocations: 4 kB / 5.133 GB, free: 27.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/10.17, allocations: 395.8 kB / 5.134 GB, free: 26.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/10.17, allocations: 8 kB / 5.134 GB, free: 26.73 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/10.17, allocations: 51.97 kB / 5.134 GB, free: 26.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/10.17, allocations: 11.98 kB / 5.134 GB, free: 26.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/10.17, allocations: 11.59 kB / 5.134 GB, free: 26.66 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00699/10.18, allocations: 3.704 MB / 5.137 GB, free: 22.91 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/10.18, allocations: 0.6644 MB / 5.138 GB, free: 22.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009321/10.18, allocations: 32 kB / 5.138 GB, free: 22.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/10.18, allocations: 271.6 kB / 5.138 GB, free: 21.92 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/10.18, allocations: 101.1 kB / 5.138 GB, free: 21.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/10.18, allocations: 79.94 kB / 5.138 GB, free: 21.75 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.004998/10.19, allocations: 2.203 MB / 5.141 GB, free: 19.56 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.944e-06/10.19, allocations: 0 / 5.141 GB, free: 19.56 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007276/10.19, allocations: 2.007 MB / 5.142 GB, free: 17.56 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) * Number of clocked states: 0 () * 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.005976/10.2, allocations: 3.838 MB / 5.146 GB, free: 14 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007373/10.21, allocations: 3.571 MB / 5.15 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/10.21, allocations: 0 / 5.15 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002/10.21, allocations: 1.034 MB / 5.151 GB, free: 9.395 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008182/10.22, allocations: 1.512 MB / 5.152 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/10.23, allocations: 7.772 MB / 5.16 GB, free: 160 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/10.23, allocations: 2.029 MB / 5.162 GB, free: 14.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004593/10.24, allocations: 0.8472 MB / 5.163 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/10.24, allocations: 275.3 kB / 5.163 GB, free: 13.05 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/10.24, allocations: 0 / 5.163 GB, free: 13.05 MB / 0.948 GB Notification: Performance of Templates: time 0.6506/10.89, allocations: 89.04 MB / 5.25 GB, free: 112.7 MB / 0.9636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)