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.7046/0.7046, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001352/0.001352, allocations: 176.8 kB / 176.9 MB, free: 2.273 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.425/1.425, allocations: 170.5 MB / 379.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001669/0.001669, allocations: 122.6 kB / 450 MB, free: 5.867 MB / 346.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.4635/0.4636, allocations: 73.38 MB / 0.6736 GB, free: 47.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.6199, allocations: 104.9 MB / 0.7761 GB, free: 11.81 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.6203, allocations: 91.94 kB / 0.7762 GB, free: 11.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.6481, allocations: 9.682 MB / 0.7856 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6481, allocations: 0 / 0.7856 GB, free: 2.086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.6481, allocations: 8 kB / 0.7856 GB, free: 2.078 MB / 490.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.001885/0.65, allocations: 0.9508 MB / 0.7865 GB, free: 1.082 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6501, allocations: 8.031 kB / 0.7866 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.6502, allocations: 51.44 kB / 0.7866 GB, free: 1.023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.651, allocations: 436 kB / 0.787 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.6511, allocations: 28.78 kB / 0.787 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.6511, allocations: 35.98 kB / 0.7871 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.652, allocations: 0.5582 MB / 0.7876 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.652, allocations: 0 / 0.7876 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.6521, allocations: 20 kB / 0.7876 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.6521, allocations: 15.88 kB / 0.7877 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.6527, allocations: 416.2 kB / 0.7881 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.6553, allocations: 1.651 MB / 0.7897 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.6565, allocations: 0.7077 MB / 0.7904 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.6569, allocations: 268.9 kB / 0.7906 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.6569, allocations: 11.98 kB / 0.7906 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007514/0.6577, allocations: 455 kB / 0.7911 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=51): time 1.923e-06/0.6577, allocations: 0 / 0.7911 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.001164/0.6589, allocations: 0.6207 MB / 0.7917 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.6591, allocations: 292.9 kB / 0.7919 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.6596, allocations: 383.5 kB / 0.7923 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.6597, allocations: 49.69 kB / 0.7924 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.6599, allocations: 196.9 kB / 0.7925 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.66, allocations: 122.4 kB / 0.7927 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.66, allocations: 12 kB / 0.7927 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.6603, allocations: 362.8 kB / 0.793 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.6606, allocations: 209 kB / 0.7932 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.6611, allocations: 386.6 kB / 0.7936 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.6615, allocations: 267 kB / 0.7938 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.6615, allocations: 0 / 0.7938 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/0.6626, allocations: 0.6431 MB / 0.7945 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.6627, allocations: 37.67 kB / 0.7945 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.6627, allocations: 8.859 kB / 0.7945 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.6628, allocations: 12.03 kB / 0.7945 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.6632, allocations: 107.8 kB / 0.7946 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.6632, allocations: 8 kB / 0.7946 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.6637, allocations: 107.7 kB / 0.7947 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.6637, allocations: 23.25 kB / 0.7948 GB, free: 8.258 MB / 0.4948 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.0002358/0.664, allocations: 188.7 kB / 0.7949 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.6641, allocations: 51.39 kB / 0.795 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.6642, allocations: 51.25 kB / 0.795 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6642, allocations: 8 kB / 0.795 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.6642, allocations: 0 / 0.795 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6643, allocations: 3.984 kB / 0.7951 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.6666, allocations: 1.737 MB / 0.7967 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6666, allocations: 3.188 kB / 0.7967 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.6669, allocations: 95.84 kB / 0.7968 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6669, allocations: 0 / 0.7968 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.667, allocations: 15.98 kB / 0.7969 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.667, allocations: 4 kB / 0.7969 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.667, allocations: 0 / 0.7969 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.6681, allocations: 1.147 MB / 0.798 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.6684, allocations: 188.4 kB / 0.7982 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.6685, allocations: 15.98 kB / 0.7982 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.6691, allocations: 119.9 kB / 0.7983 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6693, allocations: 59.88 kB / 0.7983 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.6693, allocations: 19.86 kB / 0.7984 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003254/0.6697, allocations: 306 kB / 0.7987 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6697, allocations: 4 kB / 0.7987 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005967/0.6703, allocations: 111.8 kB / 0.7988 GB, free: 4.016 MB / 0.4948 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.0002056/0.6705, allocations: 145.4 kB / 0.7989 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008441/0.6713, allocations: 0.5816 MB / 0.7995 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6713, allocations: 0 / 0.7995 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.6718, allocations: 299.6 kB / 0.7998 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.6723, allocations: 73.86 kB / 0.7998 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.6736, allocations: 0.7541 MB / 0.8006 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.6741, allocations: 0.9177 MB / 0.8015 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.6744, allocations: 119.2 kB / 0.8016 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.6745, allocations: 39.42 kB / 0.8016 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.6745, allocations: 0 / 0.8016 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.009557/0.6841, allocations: 5.269 MB / 0.8068 GB, free: 11.82 MB / 0.5105 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)