Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001213/0.001213, allocations: 195.4 kB / 371.9 MB, free: 10.25 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.878/1.878, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008812/0.0008813, allocations: 93.67 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 11.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2719, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9223/1.194, allocations: 141.6 MB / 1.118 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.195, allocations: 90.78 kB / 1.118 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0209/1.216, allocations: 7.887 MB / 1.126 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.216, allocations: 0 / 1.126 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.032e-05/1.216, allocations: 15.7 kB / 1.126 GB, free: 31.36 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00178/1.217, allocations: 0.9374 MB / 1.126 GB, free: 30.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.217, allocations: 11.77 kB / 1.126 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/1.218, allocations: 61.59 kB / 1.127 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/1.218, allocations: 404.6 kB / 1.127 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/1.218, allocations: 26.62 kB / 1.127 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/1.218, allocations: 34.38 kB / 1.127 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.219, allocations: 0.6728 MB / 1.128 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/1.219, allocations: 0 / 1.128 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/1.219, allocations: 15.09 kB / 1.128 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.219, allocations: 7.656 kB / 1.128 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.22, allocations: 0.6259 MB / 1.128 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/1.223, allocations: 1.667 MB / 1.13 GB, free: 29.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.224, allocations: 0.9591 MB / 1.131 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/1.224, allocations: 3.844 kB / 1.131 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/1.225, allocations: 0.5538 MB / 1.131 GB, free: 28.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/1.225, allocations: 0 / 1.131 GB, free: 28.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.00195/1.227, allocations: 1.146 MB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.227, allocations: 283.6 kB / 1.133 GB, free: 27.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/1.228, allocations: 393.2 kB / 1.133 GB, free: 27.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/1.228, allocations: 54.22 kB / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.228, allocations: 208 kB / 1.133 GB, free: 27.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/1.228, allocations: 123.7 kB / 1.134 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/1.228, allocations: 9.719 kB / 1.134 GB, free: 27.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.228, allocations: 364 kB / 1.134 GB, free: 27.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/1.229, allocations: 303.9 kB / 1.134 GB, free: 27.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/1.229, allocations: 498.6 kB / 1.135 GB, free: 26.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/1.23, allocations: 371 kB / 1.135 GB, free: 26.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.23, allocations: 3.906 kB / 1.135 GB, free: 26.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001281/1.231, allocations: 0.8403 MB / 1.136 GB, free: 26.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007753/1.232, allocations: 1.86 MB / 1.138 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.232, allocations: 4.25 kB / 1.138 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/1.232, allocations: 11.72 kB / 1.138 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/1.232, allocations: 112.8 kB / 1.138 GB, free: 24.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.232, allocations: 7.719 kB / 1.138 GB, free: 24.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/1.233, allocations: 111.6 kB / 1.138 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/1.233, allocations: 17.59 kB / 1.138 GB, free: 24.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/1.233, allocations: 5.156 kB / 1.138 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008752/1.234, allocations: 0.6127 MB / 1.138 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.234, allocations: 7.969 kB / 1.139 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/1.234, allocations: 11.7 kB / 1.139 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.234, allocations: 77.38 kB / 1.139 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.234, allocations: 12.12 kB / 1.139 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/1.234, allocations: 73.03 kB / 1.139 GB, free: 24.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/1.234, allocations: 30.34 kB / 1.139 GB, free: 24.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0003675/1.235, allocations: 359.1 kB / 1.139 GB, free: 23.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/1.235, allocations: 46.7 kB / 1.139 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/1.235, allocations: 57.06 kB / 1.139 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.235, allocations: 11.8 kB / 1.139 GB, free: 23.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.235, allocations: 7.719 kB / 1.139 GB, free: 23.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.235, allocations: 3.984 kB / 1.139 GB, free: 23.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/1.237, allocations: 1.942 MB / 1.141 GB, free: 22.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.237, allocations: 0 / 1.141 GB, free: 22.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/1.238, allocations: 89.06 kB / 1.141 GB, free: 22.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.238, allocations: 3.812 kB / 1.141 GB, free: 22.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/1.238, allocations: 17.23 kB / 1.141 GB, free: 22.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.238, allocations: 7.875 kB / 1.141 GB, free: 22.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.238, allocations: 3.875 kB / 1.141 GB, free: 22.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/1.239, allocations: 1.328 MB / 1.142 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.239, allocations: 134.5 kB / 1.143 GB, free: 21.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/1.24, allocations: 18.27 kB / 1.143 GB, free: 21.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/1.24, allocations: 119.7 kB / 1.143 GB, free: 21.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.24, allocations: 49.73 kB / 1.143 GB, free: 21.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/1.24, allocations: 27.17 kB / 1.143 GB, free: 21.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002689/1.241, allocations: 304.9 kB / 1.143 GB, free: 21.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.241, allocations: 0 / 1.143 GB, free: 21.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007583/1.241, allocations: 183.4 kB / 1.143 GB, free: 21.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002137/1.242, allocations: 151.8 kB / 1.143 GB, free: 21.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001698/1.243, allocations: 1.151 MB / 1.145 GB, free: 21.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.243, allocations: 3.938 kB / 1.145 GB, free: 21.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006197/1.244, allocations: 386.4 kB / 1.145 GB, free: 20.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/1.245, allocations: 91.16 kB / 1.145 GB, free: 20.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/1.246, allocations: 1.135 MB / 1.146 GB, free: 20.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/1.247, allocations: 0.9239 MB / 1.147 GB, free: 19.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003952/1.247, allocations: 210.7 kB / 1.147 GB, free: 19.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/1.247, allocations: 34.34 kB / 1.147 GB, free: 19.45 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/1.247, allocations: 0 / 1.147 GB, free: 19.45 MB / 0.698 GB Notification: Performance of Templates: time 0.009463/1.257, allocations: 6.09 MB / 1.153 GB, free: 16.52 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)