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.8366/0.8366, allocations: 132.4 MB / 139.9 MB, free: 2.871 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.001412/0.001412, allocations: 175.1 kB / 171.8 MB, free: 4.945 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.487/1.487, allocations: 170.6 MB / 374.2 MB, free: 176 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.001644/0.001644, allocations: 105.7 kB / 444.8 MB, free: 14.15 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.1703/0.1704, allocations: 73.41 MB / 0.6666 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.612/0.7824, allocations: 104.2 MB / 0.7684 GB, free: 11.36 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.7827, allocations: 95.92 kB / 0.7685 GB, free: 11.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0279/0.8107, allocations: 9.609 MB / 0.7779 GB, free: 1.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.8107, allocations: 0 / 0.7779 GB, free: 1.621 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.8107, 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.001916/0.8127, allocations: 0.9426 MB / 0.7788 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.8127, allocations: 12.03 kB / 0.7788 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.8129, allocations: 64.38 kB / 0.7789 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.8136, allocations: 436.3 kB / 0.7793 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.8136, allocations: 12 kB / 0.7793 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.8137, allocations: 31.98 kB / 0.7794 GB, free: 36 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006382/0.8143, allocations: 389.3 kB / 0.7797 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.8151, allocations: 0.5176 MB / 0.7802 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.8151, allocations: 0 / 0.7802 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.8152, allocations: 4 kB / 0.7802 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.8152, allocations: 11.94 kB / 0.7802 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.8176, allocations: 1.583 MB / 0.7818 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.8187, allocations: 0.6763 MB / 0.7825 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.8191, allocations: 257 kB / 0.7827 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.8191, allocations: 8 kB / 0.7827 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006473/0.8198, allocations: 453.2 kB / 0.7831 GB, free: 11.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.274e-06/0.8198, allocations: 0 / 0.7831 GB, free: 11.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.001002/0.8208, allocations: 0.5929 MB / 0.7837 GB, free: 11.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/0.821, allocations: 281 kB / 0.784 GB, free: 11.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.8214, allocations: 317 kB / 0.7843 GB, free: 10.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.8215, allocations: 37.69 kB / 0.7843 GB, free: 10.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.8216, allocations: 192.8 kB / 0.7845 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.8218, allocations: 122.5 kB / 0.7846 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.8218, allocations: 0 / 0.7846 GB, free: 10.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.822, allocations: 354.8 kB / 0.785 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.8223, allocations: 197 kB / 0.7851 GB, free: 9.816 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.8227, allocations: 377 kB / 0.7855 GB, free: 9.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.8231, allocations: 223.7 kB / 0.7857 GB, free: 9.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8231, allocations: 0 / 0.7857 GB, free: 9.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000844/0.8239, allocations: 0.5551 MB / 0.7863 GB, free: 8.598 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.824, allocations: 34.14 kB / 0.7863 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.824, allocations: 8.562 kB / 0.7863 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.8241, allocations: 12 kB / 0.7863 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.8245, allocations: 107.8 kB / 0.7864 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.8245, allocations: 19.86 kB / 0.7864 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.825, allocations: 91.75 kB / 0.7865 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.825, allocations: 23.98 kB / 0.7865 GB, free: 8.301 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.0002225/0.8252, allocations: 168.9 kB / 0.7867 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.8253, allocations: 51.48 kB / 0.7868 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.8255, allocations: 46.94 kB / 0.7868 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.8255, allocations: 8 kB / 0.7868 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8255, allocations: 0 / 0.7868 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.8255, allocations: 4 kB / 0.7868 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.8275, allocations: 1.646 MB / 0.7884 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.8276, allocations: 0 / 0.7884 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.8279, allocations: 95.78 kB / 0.7885 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.8279, allocations: 0 / 0.7885 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.828, allocations: 15.98 kB / 0.7885 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.828, allocations: 0 / 0.7885 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.828, allocations: 4 kB / 0.7885 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.8292, allocations: 1.104 MB / 0.7896 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.8294, allocations: 180.5 kB / 0.7898 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.8295, allocations: 15.98 kB / 0.7898 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.8302, allocations: 115.8 kB / 0.7899 GB, free: 4.734 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.8304, allocations: 47.94 kB / 0.79 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.8304, allocations: 27.98 kB / 0.79 GB, free: 4.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.8307, allocations: 244.5 kB / 0.7902 GB, free: 4.422 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8307, allocations: 0 / 0.7902 GB, free: 4.422 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006793/0.8314, allocations: 103.8 kB / 0.7903 GB, free: 4.32 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.0002881/0.8317, allocations: 152.2 kB / 0.7905 GB, free: 4.156 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008716/0.8326, allocations: 0.5497 MB / 0.791 GB, free: 3.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8326, allocations: 0 / 0.791 GB, free: 3.594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.833, allocations: 279.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.0006205/0.8337, allocations: 60.11 kB / 0.7913 GB, free: 3.266 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.8351, allocations: 0.7335 MB / 0.792 GB, free: 2.496 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.8357, allocations: 0.9168 MB / 0.7929 GB, free: 1.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.836, allocations: 115.2 kB / 0.793 GB, free: 1.441 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.8361, allocations: 39.42 kB / 0.7931 GB, free: 1.402 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8361, allocations: 0 / 0.7931 GB, free: 1.402 MB / 490.7 MB Notification: Performance of Templates: time 0.009848/0.8459, allocations: 4.613 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)