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.24/2.24, allocations: 253.2 MB / 260.6 MB, free: 7.453 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.001456/0.001456, allocations: 180.8 kB / 319.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.00113/0.00113, allocations: 94.64 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.222e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2461, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9121/1.158, allocations: 135.3 MB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.159, allocations: 88.19 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03559/1.194, allocations: 7.835 MB / 1.029 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of FrontEnd: time 7.955e-06/1.194, allocations: 0 / 1.029 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.752e-05/1.194, allocations: 11.94 kB / 1.029 GB, free: 11.34 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.002804/1.197, allocations: 0.8916 MB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.197, allocations: 12.02 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/1.198, allocations: 51.44 kB / 1.03 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008909/1.198, allocations: 400.3 kB / 1.03 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/1.198, allocations: 19.81 kB / 1.03 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.199, allocations: 27.92 kB / 1.03 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001035/1.2, allocations: 413.1 kB / 1.03 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.201, allocations: 0.5275 MB / 1.031 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.201, allocations: 4 kB / 1.031 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/1.201, allocations: 3 kB / 1.031 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/1.201, allocations: 8 kB / 1.031 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/1.205, allocations: 1.584 MB / 1.032 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.207, allocations: 0.6866 MB / 1.033 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/1.207, allocations: 262 kB / 1.033 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/1.207, allocations: 14.5 kB / 1.033 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009117/1.208, allocations: 453.3 kB / 1.034 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=51): time 3.186e-06/1.208, allocations: 0 / 1.034 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of matching and sorting (n=51): time 0.001548/1.21, allocations: 0.6019 MB / 1.034 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/1.21, allocations: 280.4 kB / 1.035 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/1.21, allocations: 321.4 kB / 1.035 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/1.211, allocations: 37.44 kB / 1.035 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/1.211, allocations: 209.6 kB / 1.035 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.211, allocations: 127 kB / 1.035 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/1.211, allocations: 0 / 1.035 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.211, allocations: 358.1 kB / 1.036 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/1.212, allocations: 194.6 kB / 1.036 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/1.212, allocations: 379.3 kB / 1.036 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/1.213, allocations: 239.4 kB / 1.036 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.213, allocations: 4 kB / 1.036 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001394/1.214, allocations: 0.5586 MB / 1.037 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008063/1.215, allocations: 1.86 MB / 1.039 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.215, allocations: 4 kB / 1.039 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/1.215, allocations: 8 kB / 1.039 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/1.216, allocations: 115.3 kB / 1.039 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/1.216, allocations: 11.98 kB / 1.039 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/1.217, allocations: 87.75 kB / 1.039 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/1.217, allocations: 27.8 kB / 1.039 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.217, allocations: 4.625 kB / 1.039 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/1.218, allocations: 462.9 kB / 1.039 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.218, allocations: 7.953 kB / 1.039 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.218, allocations: 8 kB / 1.039 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/1.219, allocations: 75.5 kB / 1.04 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/1.219, allocations: 15.92 kB / 1.04 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/1.219, allocations: 64.05 kB / 1.04 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/1.219, allocations: 22.92 kB / 1.04 GB, free: 0.957 MB / 0.6511 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.0003205/1.22, allocations: 160.7 kB / 1.04 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/1.22, allocations: 47.52 kB / 1.04 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/1.22, allocations: 52.14 kB / 1.04 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.22, allocations: 8 kB / 1.04 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.22, allocations: 4 kB / 1.04 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/1.22, allocations: 0 / 1.04 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/1.223, allocations: 1.649 MB / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.223, allocations: 0 / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/1.224, allocations: 91.72 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/1.224, allocations: 4 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/1.224, allocations: 15.92 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.224, allocations: 4 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.224, allocations: 4 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/1.226, allocations: 1.109 MB / 1.043 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/1.226, allocations: 116.6 kB / 1.043 GB, free: 14 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.226, allocations: 15.55 kB / 1.043 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.227, allocations: 119.8 kB / 1.043 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.227, allocations: 47.25 kB / 1.043 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/1.227, allocations: 19.86 kB / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003818/1.228, allocations: 250.4 kB / 1.043 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/1.228, allocations: 0 / 1.043 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001305/1.229, allocations: 171.2 kB / 1.043 GB, free: 13.45 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.0002864/1.229, allocations: 153.9 kB / 1.044 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001934/1.231, allocations: 0.8746 MB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.231, allocations: 0.875 kB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007044/1.232, allocations: 287.7 kB / 1.045 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.233, allocations: 71.81 kB / 1.045 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/1.235, allocations: 0.7562 MB / 1.046 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/1.236, allocations: 0.921 MB / 1.046 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001262/1.237, allocations: 298 kB / 1.047 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/1.238, allocations: 39.11 kB / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/1.238, allocations: 0 / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of Templates: time 0.01787/1.255, allocations: 5.909 MB / 1.053 GB, free: 4.52 MB / 0.6667 GB