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.625/2.625, allocations: 287.5 MB / 302.5 MB, free: 8.273 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.001538/0.001537, allocations: 181 kB / 371 MB, free: 10.78 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 2.078/2.078, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 90.23 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 11.22 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2371, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9668/1.204, allocations: 141.5 MB / 1.117 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.204, allocations: 92.06 kB / 1.117 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03745/1.242, allocations: 7.881 MB / 1.124 GB, free: 30.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.048e-06/1.242, allocations: 7.875 kB / 1.124 GB, free: 30.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.011e-05/1.242, allocations: 7.75 kB / 1.124 GB, free: 30.67 MB / 0.698 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.003398/1.245, allocations: 0.934 MB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.246, allocations: 19.02 kB / 1.125 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/1.246, allocations: 57.66 kB / 1.125 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/1.247, allocations: 397.1 kB / 1.126 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/1.247, allocations: 32.08 kB / 1.126 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/1.247, allocations: 40.03 kB / 1.126 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/1.249, allocations: 0.6648 MB / 1.126 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/1.249, allocations: 7.875 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/1.249, allocations: 12.75 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/1.249, allocations: 11.67 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/1.251, allocations: 0.6126 MB / 1.127 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/1.256, allocations: 1.677 MB / 1.129 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/1.259, allocations: 0.9472 MB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/1.259, allocations: 14.48 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/1.261, allocations: 0.5414 MB / 1.13 GB, free: 28.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 4.398e-06/1.261, allocations: 4 kB / 1.13 GB, free: 28.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.004139/1.265, allocations: 1.148 MB / 1.131 GB, free: 28.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/1.265, allocations: 280.3 kB / 1.132 GB, free: 27.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/1.266, allocations: 394.3 kB / 1.132 GB, free: 27.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.266, allocations: 52.34 kB / 1.132 GB, free: 27.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/1.266, allocations: 206.1 kB / 1.132 GB, free: 27.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/1.266, allocations: 122.5 kB / 1.132 GB, free: 27.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/1.266, allocations: 11.53 kB / 1.132 GB, free: 27.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.267, allocations: 363.9 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/1.268, allocations: 305.7 kB / 1.133 GB, free: 27.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/1.269, allocations: 499.2 kB / 1.133 GB, free: 26.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.27, allocations: 368.7 kB / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.27, allocations: 0 / 1.134 GB, free: 26.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002733/1.273, allocations: 0.8485 MB / 1.135 GB, free: 26.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008913/1.274, allocations: 1.864 MB / 1.136 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.274, allocations: 3.969 kB / 1.136 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/1.274, allocations: 7.75 kB / 1.136 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/1.275, allocations: 113.3 kB / 1.137 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/1.275, allocations: 8.156 kB / 1.137 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/1.276, allocations: 111.5 kB / 1.137 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/1.276, allocations: 26.34 kB / 1.137 GB, free: 24.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.276, allocations: 3.906 kB / 1.137 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001766/1.278, allocations: 0.606 MB / 1.137 GB, free: 24.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.278, allocations: 7.797 kB / 1.137 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.278, allocations: 15.52 kB / 1.137 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/1.278, allocations: 73.83 kB / 1.137 GB, free: 24.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/1.278, allocations: 15.42 kB / 1.137 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/1.279, allocations: 79.7 kB / 1.137 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.279, allocations: 26.61 kB / 1.137 GB, free: 24.23 MB / 0.698 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 () * Number of clocked 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.000684/1.28, allocations: 363.9 kB / 1.138 GB, free: 23.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.28, allocations: 42.56 kB / 1.138 GB, free: 23.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.28, allocations: 64.38 kB / 1.138 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.28, allocations: 3.906 kB / 1.138 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.28, allocations: 3.906 kB / 1.138 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.28, allocations: 0 / 1.138 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004559/1.285, allocations: 1.946 MB / 1.14 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.285, allocations: 3.719 kB / 1.14 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/1.285, allocations: 92.61 kB / 1.14 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/1.285, allocations: 3.969 kB / 1.14 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/1.285, allocations: 11.56 kB / 1.14 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/1.285, allocations: 7.953 kB / 1.14 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.285, allocations: 0 / 1.14 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/1.288, allocations: 1.33 MB / 1.141 GB, free: 22.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/1.289, allocations: 127.2 kB / 1.141 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.289, allocations: 22.8 kB / 1.141 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.29, allocations: 123.1 kB / 1.142 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.29, allocations: 57.39 kB / 1.142 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/1.29, allocations: 15.22 kB / 1.142 GB, free: 21.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005146/1.291, allocations: 312.1 kB / 1.142 GB, free: 21.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.291, allocations: 0 / 1.142 GB, free: 21.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00131/1.292, allocations: 188.8 kB / 1.142 GB, free: 21.73 MB / 0.698 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) * Number of clocked states: 0 () * 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.0003242/1.293, allocations: 148.7 kB / 1.142 GB, free: 21.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003635/1.296, allocations: 1.146 MB / 1.143 GB, free: 21.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.296, allocations: 1.125 kB / 1.143 GB, free: 21.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/1.298, allocations: 390.7 kB / 1.144 GB, free: 21.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/1.299, allocations: 86.31 kB / 1.144 GB, free: 21.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/1.302, allocations: 1.142 MB / 1.145 GB, free: 20.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/1.303, allocations: 0.925 MB / 1.146 GB, free: 19.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009417/1.304, allocations: 202.6 kB / 1.146 GB, free: 19.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/1.304, allocations: 37.39 kB / 1.146 GB, free: 19.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/1.304, allocations: 0 / 1.146 GB, free: 19.61 MB / 0.698 GB Notification: Performance of Templates: time 0.01742/1.321, allocations: 6.086 MB / 1.152 GB, free: 16.66 MB / 0.698 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)