Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8419/0.8419, allocations: 132.4 MB / 139.9 MB, free: 2.801 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001128/0.001128, allocations: 173.9 kB / 171.8 MB, free: 4.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.537/1.537, allocations: 170.6 MB / 374.2 MB, free: 88 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001804/0.001803, allocations: 109.4 kB / 444.8 MB, free: 14.12 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1762/0.1762, allocations: 73.41 MB / 0.6666 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6185/0.7948, allocations: 104.3 MB / 0.7684 GB, free: 11.35 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.7951, allocations: 85.97 kB / 0.7685 GB, free: 11.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02884/0.824, allocations: 9.611 MB / 0.7779 GB, free: 1.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.824, allocations: 0 / 0.7779 GB, free: 1.621 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.824, allocations: 8 kB / 0.7779 GB, free: 1.613 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002224/0.8263, allocations: 0.9581 MB / 0.7788 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8263, allocations: 8.031 kB / 0.7788 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.8266, allocations: 64.36 kB / 0.7789 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.8274, allocations: 428.4 kB / 0.7793 GB, free: 76 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.8275, allocations: 19.98 kB / 0.7793 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.8276, allocations: 24 kB / 0.7794 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006867/0.8283, allocations: 393.2 kB / 0.7797 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.8291, allocations: 0.5176 MB / 0.7802 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.8291, allocations: 0 / 0.7802 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.8292, allocations: 11.98 kB / 0.7802 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.8292, allocations: 8 kB / 0.7802 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.8317, allocations: 1.563 MB / 0.7818 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.8329, allocations: 0.6957 MB / 0.7825 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.8332, allocations: 253 kB / 0.7827 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.8333, allocations: 16.42 kB / 0.7827 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006205/0.8339, allocations: 445.2 kB / 0.7831 GB, free: 11.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.126e-06/0.8339, allocations: 3.938 kB / 0.7831 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009468/0.8349, allocations: 0.581 MB / 0.7837 GB, free: 11.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.8351, allocations: 285 kB / 0.784 GB, free: 11.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.8354, allocations: 317 kB / 0.7843 GB, free: 10.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.8355, allocations: 41.62 kB / 0.7843 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.8357, allocations: 196.8 kB / 0.7845 GB, free: 10.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.8358, allocations: 122.5 kB / 0.7846 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.8359, allocations: 0 / 0.7846 GB, free: 10.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.836, allocations: 354.8 kB / 0.785 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.8363, allocations: 193 kB / 0.7851 GB, free: 9.809 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.8368, allocations: 381 kB / 0.7855 GB, free: 9.367 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.8371, allocations: 219.8 kB / 0.7857 GB, free: 9.152 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8371, allocations: 3.938 kB / 0.7857 GB, free: 9.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008876/0.838, allocations: 0.5512 MB / 0.7863 GB, free: 8.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.8381, allocations: 37.69 kB / 0.7863 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.8381, allocations: 4 kB / 0.7863 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.8381, allocations: 8 kB / 0.7863 GB, free: 8.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.8385, allocations: 116.3 kB / 0.7864 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.8386, allocations: 11.94 kB / 0.7864 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.839, allocations: 91.73 kB / 0.7865 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.8391, allocations: 24 kB / 0.7865 GB, free: 8.297 MB / 490.7 MB 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.000206/0.8393, allocations: 172.9 kB / 0.7867 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.8394, allocations: 47.47 kB / 0.7868 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.8395, allocations: 46.95 kB / 0.7868 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8395, allocations: 8 kB / 0.7868 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.8395, allocations: 0 / 0.7868 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.8395, allocations: 7.984 kB / 0.7868 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.8416, allocations: 1.643 MB / 0.7884 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.8417, allocations: 0 / 0.7884 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.842, allocations: 91.84 kB / 0.7885 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.842, allocations: 4 kB / 0.7885 GB, free: 6.227 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.8421, allocations: 7.984 kB / 0.7885 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.8421, allocations: 8 kB / 0.7885 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.8421, allocations: 4 kB / 0.7885 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.8432, allocations: 1.119 MB / 0.7896 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.8435, allocations: 172.5 kB / 0.7898 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.8436, allocations: 11.98 kB / 0.7898 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/0.8443, allocations: 123.8 kB / 0.7899 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.8444, allocations: 47.92 kB / 0.79 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.8445, allocations: 16 kB / 0.79 GB, free: 4.656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003004/0.8448, allocations: 248.5 kB / 0.7902 GB, free: 4.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8448, allocations: 0 / 0.7902 GB, free: 4.414 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007438/0.8455, allocations: 103.8 kB / 0.7903 GB, free: 4.312 MB / 490.7 MB 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.0002473/0.8458, allocations: 144.3 kB / 0.7905 GB, free: 4.156 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009249/0.8467, allocations: 0.5491 MB / 0.791 GB, free: 3.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.8468, allocations: 4 kB / 0.791 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.8472, allocations: 276.8 kB / 0.7913 GB, free: 3.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.8478, allocations: 63.95 kB / 0.7913 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.8495, allocations: 0.7334 MB / 0.792 GB, free: 2.492 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.8501, allocations: 0.9168 MB / 0.7929 GB, free: 1.551 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.8504, allocations: 119.2 kB / 0.793 GB, free: 1.434 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.8506, allocations: 39.42 kB / 0.7931 GB, free: 1.395 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.8506, allocations: 0 / 0.7931 GB, free: 1.395 MB / 490.7 MB Notification: Performance of Templates: time 0.009872/0.8605, allocations: 4.603 MB / 0.7976 GB, free: 12.81 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)