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.8458/0.8458, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001578/0.001579, allocations: 182.9 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.755/1.755, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.00189/0.00189, allocations: 109.3 kB / 454.6 MB, free: 9.727 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.1895/0.1904, allocations: 73.41 MB / 0.6812 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5253/0.7158, allocations: 105 MB / 0.7837 GB, free: 22.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.7161, allocations: 91.81 kB / 0.7838 GB, free: 21.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02592/0.742, allocations: 9.692 MB / 0.7933 GB, free: 15.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.7421, allocations: 0 / 0.7933 GB, free: 15.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.7421, allocations: 8 kB / 0.7933 GB, free: 15.64 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.002218/0.7443, allocations: 1.012 MB / 0.7943 GB, free: 14.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.7444, allocations: 16.5 kB / 0.7943 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.7445, allocations: 51.44 kB / 0.7943 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.7454, allocations: 427.2 kB / 0.7947 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.7454, allocations: 30.7 kB / 0.7948 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.7455, allocations: 33.94 kB / 0.7948 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.7467, allocations: 0.6596 MB / 0.7954 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.7468, allocations: 2.719 kB / 0.7955 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.7468, allocations: 18.5 kB / 0.7955 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.7468, allocations: 12 kB / 0.7955 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.7482, allocations: 0.5988 MB / 0.7961 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.7507, allocations: 1.656 MB / 0.7977 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.7522, allocations: 0.9582 MB / 0.7986 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.7523, allocations: 15.91 kB / 0.7986 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007979/0.7531, allocations: 0.5388 MB / 0.7992 GB, free: 10.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.7531, allocations: 0 / 0.7992 GB, free: 10.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.001876/0.755, allocations: 1.137 MB / 0.8003 GB, free: 9.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.7551, allocations: 288.8 kB / 0.8005 GB, free: 8.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.7554, allocations: 386 kB / 0.8009 GB, free: 8.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.7555, allocations: 50.69 kB / 0.801 GB, free: 8.559 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.7556, allocations: 201.8 kB / 0.8012 GB, free: 8.418 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.7557, allocations: 126.6 kB / 0.8013 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.7557, allocations: 7.188 kB / 0.8013 GB, free: 8.312 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.7558, allocations: 363.7 kB / 0.8016 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.7564, allocations: 303.5 kB / 0.8019 GB, free: 7.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/0.7569, allocations: 493.2 kB / 0.8024 GB, free: 7.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.7575, allocations: 366.3 kB / 0.8027 GB, free: 6.941 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7575, allocations: 4 kB / 0.8027 GB, free: 6.938 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001244/0.7588, allocations: 0.8346 MB / 0.8036 GB, free: 6.094 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.7588, allocations: 37.64 kB / 0.8036 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.7588, allocations: 4 kB / 0.8036 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.7588, allocations: 8 kB / 0.8036 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.7592, allocations: 115.8 kB / 0.8037 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.7592, allocations: 11.92 kB / 0.8037 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.7596, allocations: 107.6 kB / 0.8038 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.7597, allocations: 28.59 kB / 0.8039 GB, free: 5.781 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 () * 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.0002774/0.76, allocations: 282.3 kB / 0.8041 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.76, allocations: 47.48 kB / 0.8042 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.703e-05/0.7601, allocations: 55.47 kB / 0.8042 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.7601, allocations: 12 kB / 0.8042 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.7602, allocations: 0 / 0.8042 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7602, allocations: 7.984 kB / 0.8042 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.7624, allocations: 1.924 MB / 0.8061 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7624, allocations: 8 kB / 0.8061 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.7626, allocations: 83.84 kB / 0.8062 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.7627, allocations: 4 kB / 0.8062 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.7627, allocations: 15.98 kB / 0.8062 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.7627, allocations: 4 kB / 0.8062 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7627, allocations: 12 kB / 0.8062 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.7641, allocations: 1.336 MB / 0.8075 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.7643, allocations: 188.4 kB / 0.8077 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.7644, allocations: 19.98 kB / 0.8077 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.7651, allocations: 119.8 kB / 0.8079 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.7652, allocations: 47.94 kB / 0.8079 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.7652, allocations: 23.94 kB / 0.8079 GB, free: 1.465 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.7655, allocations: 315 kB / 0.8082 GB, free: 1.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7655, allocations: 0 / 0.8082 GB, free: 1.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005792/0.7661, allocations: 111.8 kB / 0.8083 GB, free: 1.051 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) * 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.0001857/0.7663, allocations: 147.1 kB / 0.8085 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.7675, allocations: 0.7766 MB / 0.8092 GB, free: 112 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7675, allocations: 7.938 kB / 0.8092 GB, free: 104 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.7682, allocations: 394.3 kB / 0.8096 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.7688, allocations: 77.92 kB / 0.8097 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.7707, allocations: 1.12 MB / 0.8108 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.7712, allocations: 0.9137 MB / 0.8117 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.7714, allocations: 119.2 kB / 0.8118 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.7716, allocations: 43.42 kB / 0.8118 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.7716, allocations: 0 / 0.8118 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.01063/0.7822, allocations: 5.249 MB / 0.817 GB, free: 8.188 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)