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.421/2.421, allocations: 285 MB / 292.5 MB, free: 10.54 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.001482/0.001482, allocations: 188.8 kB / 360.7 MB, free: 7.254 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.929/1.929, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001021/0.001021, allocations: 93.27 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.046e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.831, allocations: 115.2 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/1.072, allocations: 140.7 MB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/1.072, allocations: 87.94 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03473/1.107, allocations: 7.817 MB / 1.109 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/1.107, allocations: 0 / 1.109 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.865e-05/1.107, allocations: 11.98 kB / 1.109 GB, free: 7.844 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.002817/1.11, allocations: 0.884 MB / 1.109 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.11, allocations: 16.03 kB / 1.109 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/1.11, allocations: 51.34 kB / 1.11 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008899/1.111, allocations: 392.5 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/1.111, allocations: 19.98 kB / 1.11 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/1.112, allocations: 24 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001067/1.113, allocations: 414.8 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/1.114, allocations: 0.5253 MB / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/1.114, allocations: 0 / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/1.114, allocations: 11.94 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/1.114, allocations: 8 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003823/1.118, allocations: 1.587 MB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/1.12, allocations: 0.6873 MB / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/1.12, allocations: 259 kB / 1.113 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/1.12, allocations: 19.91 kB / 1.113 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009324/1.121, allocations: 436.3 kB / 1.114 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.716e-06/1.121, allocations: 4 kB / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.001597/1.123, allocations: 0.6021 MB / 1.114 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/1.123, allocations: 289 kB / 1.115 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/1.124, allocations: 321 kB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-05/1.124, allocations: 37.7 kB / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/1.124, allocations: 204.7 kB / 1.115 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/1.124, allocations: 126.4 kB / 1.115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/1.124, allocations: 0 / 1.115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.124, allocations: 358.8 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/1.125, allocations: 197 kB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/1.126, allocations: 385 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/1.126, allocations: 230.7 kB / 1.116 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.126, allocations: 0 / 1.116 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001397/1.128, allocations: 0.5646 MB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007585/1.128, allocations: 1.858 MB / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.128, allocations: 8 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.128, allocations: 8 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/1.129, allocations: 115 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.129, allocations: 4 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/1.13, allocations: 100.2 kB / 1.119 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/1.13, allocations: 20 kB / 1.119 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.13, allocations: 12.81 kB / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/1.131, allocations: 466.7 kB / 1.119 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/1.131, allocations: 8 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.131, allocations: 11.95 kB / 1.12 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/1.132, allocations: 80.38 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.132, allocations: 8 kB / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/1.133, allocations: 55.78 kB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/1.133, allocations: 24 kB / 1.12 GB, free: 11.91 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.0003016/1.133, allocations: 160.6 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.133, allocations: 47.53 kB / 1.12 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/1.133, allocations: 47.61 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.133, allocations: 12.09 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.133, allocations: 3.984 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.133, allocations: 3.984 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/1.136, allocations: 1.645 MB / 1.122 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.137, allocations: 4 kB / 1.122 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/1.137, allocations: 94.28 kB / 1.122 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/1.137, allocations: 7.094 kB / 1.122 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/1.137, allocations: 7.984 kB / 1.122 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/1.137, allocations: 4 kB / 1.122 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.137, allocations: 0 / 1.122 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/1.139, allocations: 1.108 MB / 1.123 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/1.139, allocations: 124.5 kB / 1.123 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.139, allocations: 11.98 kB / 1.123 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.14, allocations: 115.8 kB / 1.123 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/1.141, allocations: 55.92 kB / 1.123 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/1.141, allocations: 19.94 kB / 1.123 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004136/1.141, allocations: 248.5 kB / 1.123 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.141, allocations: 3.938 kB / 1.123 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001318/1.142, allocations: 171.5 kB / 1.123 GB, free: 7.922 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.0002872/1.143, allocations: 144.5 kB / 1.124 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.145, allocations: 0.8765 MB / 1.124 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.145, allocations: 0 / 1.124 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/1.145, allocations: 281.1 kB / 1.125 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.147, allocations: 80.62 kB / 1.125 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/1.149, allocations: 0.7551 MB / 1.126 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.149, allocations: 0.9257 MB / 1.126 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001234/1.151, allocations: 293.9 kB / 1.127 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/1.151, allocations: 39.42 kB / 1.127 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/1.151, allocations: 0 / 1.127 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of Templates: time 0.01773/1.169, allocations: 5.927 MB / 1.133 GB, free: 14.65 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)