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.576/1.576, allocations: 285.4 MB / 298 MB, free: 5.945 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.001068/0.001068, allocations: 172.8 kB / 366.4 MB, free: 2.105 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.55/1.55, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008638/0.0008641, allocations: 98.03 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.046e-05, allocations: 0 / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.786, allocations: 115.3 MB / 0.9709 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/1, allocations: 141.6 MB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.001, allocations: 87.94 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02239/1.023, allocations: 7.874 MB / 1.117 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.754e-06/1.023, allocations: 0 / 1.117 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.917e-05/1.023, allocations: 8 kB / 1.117 GB, free: 2.297 MB / 0.7136 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.0021/1.025, allocations: 0.8914 MB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.025, allocations: 12.03 kB / 1.118 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/1.026, allocations: 55.3 kB / 1.118 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008218/1.026, allocations: 396.5 kB / 1.118 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/1.027, allocations: 32.78 kB / 1.118 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/1.027, allocations: 39.98 kB / 1.118 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.028, allocations: 0.5582 MB / 1.119 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.028, allocations: 0 / 1.119 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/1.028, allocations: 23.98 kB / 1.119 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/1.028, allocations: 11.09 kB / 1.119 GB, free: 160 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/1.028, allocations: 428.4 kB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/1.031, allocations: 1.676 MB / 1.121 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/1.032, allocations: 0.7078 MB / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/1.033, allocations: 265 kB / 1.122 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/1.033, allocations: 12.42 kB / 1.122 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007196/1.034, allocations: 466.3 kB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 2.745e-06/1.034, allocations: 0 / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001123/1.035, allocations: 0.6195 MB / 1.123 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/1.035, allocations: 284.9 kB / 1.123 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/1.035, allocations: 395.5 kB / 1.124 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/1.036, allocations: 45.69 kB / 1.124 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/1.036, allocations: 204.9 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.036, allocations: 122.5 kB / 1.124 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/1.036, allocations: 12 kB / 1.124 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.036, allocations: 354.8 kB / 1.124 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/1.036, allocations: 205 kB / 1.124 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/1.037, allocations: 398 kB / 1.125 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/1.037, allocations: 266.6 kB / 1.125 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.037, allocations: 0 / 1.125 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001005/1.038, allocations: 0.6303 MB / 1.126 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000857/1.039, allocations: 1.868 MB / 1.128 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.039, allocations: 8 kB / 1.128 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/1.039, allocations: 11.62 kB / 1.128 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/1.04, allocations: 107.8 kB / 1.128 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/1.04, allocations: 11.94 kB / 1.128 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/1.04, allocations: 113.6 kB / 1.128 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/1.04, allocations: 24 kB / 1.128 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.04, allocations: 4 kB / 1.128 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008393/1.041, allocations: 0.5439 MB / 1.128 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.041, allocations: 4 kB / 1.128 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.041, allocations: 15.95 kB / 1.128 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/1.041, allocations: 80.38 kB / 1.128 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.041, allocations: 11.98 kB / 1.128 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/1.042, allocations: 63.8 kB / 1.129 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/1.042, allocations: 23.98 kB / 1.129 GB, free: 5.758 MB / 0.7292 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 () * 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.0002384/1.042, allocations: 190.6 kB / 1.129 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.042, allocations: 47.44 kB / 1.129 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/1.042, allocations: 55.23 kB / 1.129 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/1.042, allocations: 11.95 kB / 1.129 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.042, allocations: 0 / 1.129 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.042, allocations: 7.984 kB / 1.129 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/1.045, allocations: 1.735 MB / 1.131 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.045, allocations: 4 kB / 1.131 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/1.045, allocations: 87.84 kB / 1.131 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.045, allocations: 4 kB / 1.131 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/1.045, allocations: 13.86 kB / 1.131 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.045, allocations: 4 kB / 1.131 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.045, allocations: 1.781 kB / 1.131 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.046, allocations: 1.151 MB / 1.132 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/1.047, allocations: 128.5 kB / 1.132 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/1.047, allocations: 11.98 kB / 1.132 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007082/1.047, allocations: 127.8 kB / 1.132 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.047, allocations: 43.94 kB / 1.132 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/1.048, allocations: 19.98 kB / 1.132 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003644/1.048, allocations: 302.1 kB / 1.132 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 4 kB / 1.132 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009653/1.049, allocations: 191.7 kB / 1.133 GB, free: 1.508 MB / 0.7292 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) * 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.0003215/1.049, allocations: 151.2 kB / 1.133 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.051, allocations: 0.929 MB / 1.134 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.051, allocations: 0 / 1.134 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/1.051, allocations: 294.3 kB / 1.134 GB, free: 116 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/1.052, allocations: 97.44 kB / 1.134 GB, free: 28 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/1.054, allocations: 0.7776 MB / 1.135 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/1.054, allocations: 0.9262 MB / 1.136 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006903/1.055, allocations: 314.5 kB / 1.136 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.055, allocations: 35.42 kB / 1.136 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/1.055, allocations: 4 kB / 1.136 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.01316/1.068, allocations: 6.766 MB / 1.143 GB, free: 7.246 MB / 0.7448 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)