Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.507/2.507, allocations: 284.8 MB / 297.3 MB, free: 6.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001458, allocations: 188.8 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 100.2 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.832e-05, allocations: 11.98 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7976, allocations: 115.2 MB / 0.97 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/1.038, allocations: 141.4 MB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.038, allocations: 97.66 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03563/1.074, allocations: 7.877 MB / 1.116 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.074, allocations: 0 / 1.116 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.604e-05/1.074, allocations: 8 kB / 1.116 GB, free: 3.094 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.002804/1.077, allocations: 0.8884 MB / 1.117 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.077, allocations: 12.03 kB / 1.117 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/1.077, allocations: 59.27 kB / 1.117 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/1.078, allocations: 396.5 kB / 1.117 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/1.078, allocations: 35.2 kB / 1.117 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/1.078, allocations: 36 kB / 1.117 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/1.08, allocations: 0.5621 MB / 1.118 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.08, allocations: 4 kB / 1.118 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/1.08, allocations: 12 kB / 1.118 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/1.08, allocations: 15.95 kB / 1.118 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.081, allocations: 432.3 kB / 1.118 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/1.085, allocations: 1.665 MB / 1.12 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/1.087, allocations: 0.7067 MB / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/1.088, allocations: 273 kB / 1.121 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/1.088, allocations: 7.984 kB / 1.121 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.089, allocations: 462.8 kB / 1.121 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=51): time 5.58e-06/1.089, allocations: 0 / 1.121 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51): time 0.001809/1.091, allocations: 0.6289 MB / 1.122 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/1.091, allocations: 288 kB / 1.122 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/1.092, allocations: 391.5 kB / 1.123 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.092, allocations: 49.69 kB / 1.123 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/1.092, allocations: 208.9 kB / 1.123 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/1.092, allocations: 118.5 kB / 1.123 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/1.092, allocations: 12 kB / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.092, allocations: 358.8 kB / 1.123 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/1.093, allocations: 205 kB / 1.123 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/1.094, allocations: 390 kB / 1.124 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/1.094, allocations: 270.5 kB / 1.124 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.094, allocations: 0 / 1.124 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001627/1.096, allocations: 0.6318 MB / 1.125 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007517/1.097, allocations: 1.861 MB / 1.126 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.097, allocations: 8 kB / 1.126 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/1.097, allocations: 12 kB / 1.127 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/1.098, allocations: 107.8 kB / 1.127 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/1.098, allocations: 15.92 kB / 1.127 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/1.099, allocations: 110.3 kB / 1.127 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/1.099, allocations: 27.98 kB / 1.127 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.099, allocations: 4 kB / 1.127 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/1.1, allocations: 0.5445 MB / 1.127 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.1, allocations: 4 kB / 1.127 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.1, allocations: 8 kB / 1.127 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/1.101, allocations: 84.38 kB / 1.127 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.101, allocations: 8 kB / 1.127 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/1.101, allocations: 67.78 kB / 1.127 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/1.102, allocations: 24 kB / 1.127 GB, free: 6.559 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.0003283/1.102, allocations: 180.8 kB / 1.128 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/1.102, allocations: 47.62 kB / 1.128 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/1.102, allocations: 67.12 kB / 1.128 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.102, allocations: 8 kB / 1.128 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.102, allocations: 0 / 1.128 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.102, allocations: 7.984 kB / 1.128 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/1.106, allocations: 1.732 MB / 1.129 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.106, allocations: 5.312 kB / 1.129 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/1.106, allocations: 95.83 kB / 1.13 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/1.106, allocations: 4 kB / 1.13 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/1.107, allocations: 11.98 kB / 1.13 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/1.107, allocations: 4 kB / 1.13 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.107, allocations: 0 / 1.13 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/1.108, allocations: 1.147 MB / 1.131 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/1.109, allocations: 128.5 kB / 1.131 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/1.109, allocations: 15.98 kB / 1.131 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.11, allocations: 130 kB / 1.131 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/1.11, allocations: 43.94 kB / 1.131 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/1.11, allocations: 19.98 kB / 1.131 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005366/1.111, allocations: 302.1 kB / 1.131 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.111, allocations: 0 / 1.131 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001253/1.112, allocations: 191.7 kB / 1.131 GB, free: 2.312 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.0003264/1.112, allocations: 151.2 kB / 1.132 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002263/1.115, allocations: 0.9275 MB / 1.133 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.115, allocations: 3.562 kB / 1.133 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/1.116, allocations: 305.1 kB / 1.133 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.117, allocations: 83.62 kB / 1.133 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/1.119, allocations: 0.7832 MB / 1.134 GB, free: 16 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/1.12, allocations: 0.9184 MB / 1.135 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001292/1.121, allocations: 321.1 kB / 1.135 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.121, allocations: 35.44 kB / 1.135 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of SimCode: time 1.312e-06/1.121, allocations: 0 / 1.135 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.02044/1.142, allocations: 6.765 MB / 1.142 GB, free: 8.062 MB / 0.7448 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)