Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 252.6 MB / 265.2 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 171.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 86.64 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.429e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8234/1.019, allocations: 135.1 MB / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/1.019, allocations: 97.11 kB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03466/1.054, allocations: 7.884 MB / 1.035 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.392e-06/1.054, allocations: 0 / 1.035 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.636e-05/1.054, allocations: 8 kB / 1.035 GB, free: 8.645 MB / 0.6511 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.002739/1.057, allocations: 0.8894 MB / 1.035 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.057, allocations: 11.97 kB / 1.035 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/1.057, allocations: 51.44 kB / 1.036 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/1.058, allocations: 403.2 kB / 1.036 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/1.058, allocations: 33.41 kB / 1.036 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/1.058, allocations: 41.67 kB / 1.036 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.059, allocations: 0.5603 MB / 1.037 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.059, allocations: 3.938 kB / 1.037 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/1.06, allocations: 21.5 kB / 1.037 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/1.06, allocations: 16 kB / 1.037 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/1.061, allocations: 416.8 kB / 1.037 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003919/1.065, allocations: 1.669 MB / 1.039 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/1.067, allocations: 0.704 MB / 1.039 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/1.067, allocations: 266.6 kB / 1.04 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.535e-05/1.067, allocations: 19.91 kB / 1.04 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/1.068, allocations: 457.3 kB / 1.04 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=51): time 3.466e-06/1.068, allocations: 0 / 1.04 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of matching and sorting (n=51): time 0.001762/1.07, allocations: 0.6233 MB / 1.041 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/1.07, allocations: 291.3 kB / 1.041 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/1.071, allocations: 389.1 kB / 1.041 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/1.071, allocations: 46.88 kB / 1.041 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/1.071, allocations: 207.8 kB / 1.042 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.072, allocations: 127.8 kB / 1.042 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/1.072, allocations: 10.88 kB / 1.042 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.072, allocations: 360.2 kB / 1.042 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/1.072, allocations: 202.1 kB / 1.042 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/1.073, allocations: 393.2 kB / 1.043 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006224/1.074, allocations: 268 kB / 1.043 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.074, allocations: 4 kB / 1.043 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001613/1.075, allocations: 0.6351 MB / 1.043 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008284/1.076, allocations: 1.859 MB / 1.045 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.076, allocations: 8 kB / 1.045 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/1.076, allocations: 8 kB / 1.045 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/1.077, allocations: 114.5 kB / 1.045 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/1.077, allocations: 11.94 kB / 1.045 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/1.078, allocations: 110.5 kB / 1.045 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/1.078, allocations: 27.89 kB / 1.046 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/1.078, allocations: 0 / 1.046 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00138/1.08, allocations: 0.5497 MB / 1.046 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.08, allocations: 4 kB / 1.046 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.08, allocations: 11.98 kB / 1.046 GB, free: 14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/1.08, allocations: 75.77 kB / 1.046 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/1.08, allocations: 15.92 kB / 1.046 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/1.081, allocations: 69.7 kB / 1.046 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/1.081, allocations: 27.67 kB / 1.046 GB, free: 13.83 MB / 0.6667 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.0003028/1.081, allocations: 178.4 kB / 1.046 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.081, allocations: 58.88 kB / 1.046 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/1.081, allocations: 53.38 kB / 1.047 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.082, allocations: 8 kB / 1.047 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/1.082, allocations: 0 / 1.047 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.082, allocations: 3.984 kB / 1.047 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/1.085, allocations: 1.737 MB / 1.048 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.085, allocations: 0 / 1.048 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/1.086, allocations: 87.84 kB / 1.048 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/1.086, allocations: 8 kB / 1.048 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/1.086, allocations: 19.23 kB / 1.048 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.086, allocations: 0 / 1.048 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/1.086, allocations: 4 kB / 1.048 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/1.087, allocations: 1.141 MB / 1.049 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.088, allocations: 123.6 kB / 1.05 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.088, allocations: 18.11 kB / 1.05 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.089, allocations: 122.2 kB / 1.05 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.089, allocations: 53.73 kB / 1.05 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/1.089, allocations: 19.62 kB / 1.05 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000535/1.09, allocations: 310.7 kB / 1.05 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.2e-07/1.09, allocations: 0 / 1.05 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001225/1.091, allocations: 188.1 kB / 1.05 GB, free: 10.16 MB / 0.6667 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.0002967/1.091, allocations: 155.9 kB / 1.05 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002165/1.093, allocations: 0.9251 MB / 1.051 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.093, allocations: 0 / 1.051 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007859/1.094, allocations: 298 kB / 1.052 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.095, allocations: 89.52 kB / 1.052 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/1.098, allocations: 0.7879 MB / 1.052 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.098, allocations: 0.9231 MB / 1.053 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001262/1.1, allocations: 313.2 kB / 1.054 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/1.1, allocations: 38.92 kB / 1.054 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/1.1, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of Templates: time 0.01981/1.12, allocations: 6.77 MB / 1.06 GB, free: 264 kB / 0.6667 GB