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.631/1.631, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.001155/0.001155, allocations: 175.2 kB / 372.9 MB, free: 10.14 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.478/1.478, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0008693/0.0008694, allocations: 98.53 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004214, allocations: 10.94 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7347/0.9606, allocations: 141.7 MB / 1.119 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.9609, allocations: 94.5 kB / 1.119 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.9803, allocations: 7.909 MB / 1.127 GB, free: 31.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.053e-06/0.9803, allocations: 0 / 1.127 GB, free: 31.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.9803, allocations: 7.688 kB / 1.127 GB, free: 31.5 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.001606/0.9819, allocations: 0.9243 MB / 1.128 GB, free: 30.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.982, allocations: 15.53 kB / 1.128 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.671e-05/0.9821, allocations: 55.5 kB / 1.128 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.9826, allocations: 419.6 kB / 1.128 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.9826, allocations: 29.59 kB / 1.128 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.9827, allocations: 37.22 kB / 1.128 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009691/0.9837, allocations: 0.6646 MB / 1.129 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.9837, allocations: 4.031 kB / 1.129 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.9837, allocations: 22.23 kB / 1.129 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.9838, allocations: 7.844 kB / 1.129 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.9849, allocations: 0.6149 MB / 1.13 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.9871, allocations: 1.678 MB / 1.131 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.9887, allocations: 0.9498 MB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.9893, allocations: 364.8 kB / 1.133 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.9894, allocations: 27.02 kB / 1.133 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008103/0.9902, allocations: 0.5466 MB / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 2.675e-06/0.9902, allocations: 0 / 1.133 GB, free: 28.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.002025/0.9922, allocations: 1.139 MB / 1.134 GB, free: 28.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.9924, allocations: 286.8 kB / 1.134 GB, free: 27.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.9928, allocations: 433.7 kB / 1.135 GB, free: 27.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.9929, allocations: 51.09 kB / 1.135 GB, free: 27.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.993, allocations: 209.1 kB / 1.135 GB, free: 27.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.9931, allocations: 116.5 kB / 1.135 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.9932, allocations: 21.06 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.9933, allocations: 361.1 kB / 1.136 GB, free: 27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.9939, allocations: 305.6 kB / 1.136 GB, free: 26.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.9945, allocations: 0.4916 MB / 1.136 GB, free: 26.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.9956, allocations: 0.7682 MB / 1.137 GB, free: 26.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.9956, allocations: 3.938 kB / 1.137 GB, free: 26.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001321/0.997, allocations: 0.8365 MB / 1.138 GB, free: 26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.9971, allocations: 261.1 kB / 1.138 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9971, allocations: 7.828 kB / 1.138 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.9972, allocations: 7.5 kB / 1.138 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.9975, allocations: 116.3 kB / 1.138 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.9975, allocations: 11.59 kB / 1.138 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.9979, allocations: 100.9 kB / 1.138 GB, free: 25.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.998, allocations: 27.22 kB / 1.138 GB, free: 25.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.998, allocations: 7.844 kB / 1.138 GB, free: 25.62 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009191/0.9989, allocations: 0.6047 MB / 1.139 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.9989, allocations: 3.844 kB / 1.139 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.999, allocations: 8.219 kB / 1.139 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.9992, allocations: 85.94 kB / 1.139 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9992, allocations: 11.66 kB / 1.139 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.9995, allocations: 76.62 kB / 1.139 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.9996, allocations: 23.03 kB / 1.139 GB, free: 25.4 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.000359/0.9999, allocations: 367.3 kB / 1.14 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/1, allocations: 50.77 kB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/1, allocations: 58.94 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1, allocations: 3.844 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1, allocations: 3.938 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1, allocations: 7.984 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.002, allocations: 1.936 MB / 1.142 GB, free: 24.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.002, allocations: 0 / 1.142 GB, free: 24.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/1.003, allocations: 95.61 kB / 1.142 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/1.003, allocations: 3.719 kB / 1.142 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/1.003, allocations: 13.58 kB / 1.142 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.003, allocations: 7.812 kB / 1.142 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.003, allocations: 3.844 kB / 1.142 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.004, allocations: 1.267 MB / 1.143 GB, free: 23.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/1.004, allocations: 126.4 kB / 1.143 GB, free: 23.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/1.004, allocations: 17.55 kB / 1.143 GB, free: 23.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/1.005, allocations: 128.5 kB / 1.143 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.005, allocations: 56.81 kB / 1.143 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/1.005, allocations: 14.59 kB / 1.143 GB, free: 23.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002744/1.005, allocations: 312.8 kB / 1.144 GB, free: 22.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.005, allocations: 3.938 kB / 1.144 GB, free: 22.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008083/1.006, allocations: 185.7 kB / 1.144 GB, free: 22.96 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.0001918/1.007, allocations: 157.7 kB / 1.144 GB, free: 22.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0017/1.008, allocations: 1.144 MB / 1.145 GB, free: 22.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.008, allocations: 0 / 1.145 GB, free: 22.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006264/1.009, allocations: 391.4 kB / 1.145 GB, free: 22.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/1.01, allocations: 94.55 kB / 1.146 GB, free: 22.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/1.011, allocations: 1.157 MB / 1.147 GB, free: 21.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/1.012, allocations: 0.9111 MB / 1.148 GB, free: 20.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004107/1.012, allocations: 205.7 kB / 1.148 GB, free: 20.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.012, allocations: 42.45 kB / 1.148 GB, free: 20.85 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/1.012, allocations: 0 / 1.148 GB, free: 20.85 MB / 0.698 GB Notification: Performance of Templates: time 0.00886/1.021, allocations: 6.161 MB / 1.154 GB, free: 17.89 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)