Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.523/2.523, allocations: 287.5 MB / 303.2 MB, free: 8.23 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.001394/0.001393, allocations: 178.2 kB / 371.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0009291/0.0009287, allocations: 84.72 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 15 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8929/1.097, allocations: 141.5 MB / 1.117 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.097, allocations: 96.73 kB / 1.118 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03159/1.129, allocations: 7.884 MB / 1.125 GB, free: 31.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.129, allocations: 4 kB / 1.125 GB, free: 31.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.863e-05/1.129, allocations: 11.62 kB / 1.125 GB, free: 31 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.002789/1.132, allocations: 0.9288 MB / 1.126 GB, free: 30.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.132, allocations: 7.656 kB / 1.126 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/1.132, allocations: 62.44 kB / 1.126 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/1.133, allocations: 413.7 kB / 1.127 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/1.133, allocations: 36.61 kB / 1.127 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/1.133, allocations: 30.62 kB / 1.127 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/1.135, allocations: 0.6714 MB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/1.135, allocations: 192 / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-05/1.135, allocations: 17.83 kB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.135, allocations: 7.688 kB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/1.137, allocations: 0.6177 MB / 1.128 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/1.14, allocations: 1.674 MB / 1.13 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/1.143, allocations: 0.9568 MB / 1.131 GB, free: 29.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/1.145, allocations: 369.7 kB / 1.131 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/1.145, allocations: 22.47 kB / 1.131 GB, free: 29.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/1.146, allocations: 0.548 MB / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 3.347e-06/1.146, allocations: 0 / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.003652/1.15, allocations: 1.141 MB / 1.133 GB, free: 28.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.15, allocations: 280.4 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/1.151, allocations: 436 kB / 1.133 GB, free: 27.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.151, allocations: 48.09 kB / 1.133 GB, free: 27.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.151, allocations: 210.4 kB / 1.134 GB, free: 27.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/1.151, allocations: 125 kB / 1.134 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/1.151, allocations: 14.56 kB / 1.134 GB, free: 27.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.151, allocations: 364.2 kB / 1.134 GB, free: 27.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.152, allocations: 304.2 kB / 1.134 GB, free: 27.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.153, allocations: 498.7 kB / 1.135 GB, free: 27.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/1.156, allocations: 0.7644 MB / 1.136 GB, free: 26.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.156, allocations: 7.938 kB / 1.136 GB, free: 26.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002687/1.158, allocations: 0.8392 MB / 1.136 GB, free: 26.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/1.159, allocations: 264.6 kB / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.159, allocations: 3.906 kB / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.159, allocations: 7.812 kB / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/1.159, allocations: 115.5 kB / 1.137 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.159, allocations: 15.61 kB / 1.137 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008021/1.16, allocations: 96.84 kB / 1.137 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/1.16, allocations: 25.42 kB / 1.137 GB, free: 26.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.16, allocations: 11.69 kB / 1.137 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001605/1.162, allocations: 0.6027 MB / 1.137 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.162, allocations: 7.906 kB / 1.137 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.162, allocations: 7.938 kB / 1.137 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/1.162, allocations: 81.16 kB / 1.138 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.162, allocations: 11.7 kB / 1.138 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/1.163, allocations: 76.98 kB / 1.138 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/1.163, allocations: 22.67 kB / 1.138 GB, free: 25.8 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.0006278/1.164, allocations: 367.5 kB / 1.138 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/1.164, allocations: 46.62 kB / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/1.164, allocations: 61.23 kB / 1.138 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.164, allocations: 7.688 kB / 1.138 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.164, allocations: 0 / 1.138 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.164, allocations: 8 kB / 1.138 GB, free: 25.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/1.168, allocations: 1.938 MB / 1.14 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.168, allocations: 3.859 kB / 1.14 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/1.169, allocations: 93.14 kB / 1.14 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-06/1.169, allocations: 3.984 kB / 1.14 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/1.169, allocations: 18.75 kB / 1.14 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.169, allocations: 11.47 kB / 1.14 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.169, allocations: 0 / 1.14 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/1.171, allocations: 1.267 MB / 1.141 GB, free: 23.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/1.172, allocations: 135.1 kB / 1.142 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.172, allocations: 18.36 kB / 1.142 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.173, allocations: 130.2 kB / 1.142 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.173, allocations: 44.62 kB / 1.142 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/1.173, allocations: 22.39 kB / 1.142 GB, free: 23.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004638/1.174, allocations: 310.3 kB / 1.142 GB, free: 23.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.174, allocations: 0 / 1.142 GB, free: 23.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001256/1.175, allocations: 181.6 kB / 1.142 GB, free: 23.37 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.0002594/1.175, allocations: 154.6 kB / 1.142 GB, free: 23.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003194/1.178, allocations: 1.14 MB / 1.143 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.178, allocations: 0 / 1.143 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.18, allocations: 394.9 kB / 1.144 GB, free: 22.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/1.181, allocations: 94.16 kB / 1.144 GB, free: 22.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/1.184, allocations: 1.157 MB / 1.145 GB, free: 22.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/1.185, allocations: 0.9114 MB / 1.146 GB, free: 21.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008355/1.186, allocations: 206.1 kB / 1.146 GB, free: 21.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.186, allocations: 41.73 kB / 1.146 GB, free: 21.25 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/1.186, allocations: 0 / 1.146 GB, free: 21.25 MB / 0.698 GB Notification: Performance of Templates: time 0.01597/1.202, allocations: 6.102 MB / 1.152 GB, free: 18.29 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)