Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7441/0.7441, 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.001015/0.001015, allocations: 176.6 kB / 171.8 MB, free: 4.953 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.279/1.279, allocations: 170.6 MB / 374.2 MB, free: 164 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.001567/0.001567, allocations: 107.3 kB / 444.8 MB, free: 14.18 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.1526/0.1527, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.245, allocations: 351.2 MB / 1.01 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.245, allocations: 89.08 kB / 1.01 GB, free: 107 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1399/1.385, allocations: 73.24 MB / 1.081 GB, free: 36.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.373e-06/1.385, allocations: 4 kB / 1.081 GB, free: 36.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.823e-05/1.385, allocations: 4 kB / 1.081 GB, free: 36.87 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001041/1.386, allocations: 0.6423 MB / 1.082 GB, free: 36.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.386, allocations: 12.03 kB / 1.082 GB, free: 36.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/1.387, allocations: 39.53 kB / 1.082 GB, free: 36.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/1.399, allocations: 6.309 MB / 1.088 GB, free: 29.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/1.399, allocations: 15.94 kB / 1.088 GB, free: 29.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/1.399, allocations: 16 kB / 1.088 GB, free: 29.69 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003521/1.399, allocations: 133.1 kB / 1.088 GB, free: 29.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/1.4, allocations: 241.7 kB / 1.088 GB, free: 29.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/1.4, allocations: 7.906 kB / 1.088 GB, free: 29.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/1.4, allocations: 0 / 1.088 GB, free: 29.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.4, allocations: 8 kB / 1.088 GB, free: 29.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/1.401, allocations: 1.375 MB / 1.09 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/1.401, allocations: 138.5 kB / 1.09 GB, free: 27.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/1.402, allocations: 64.84 kB / 1.09 GB, free: 27.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009565/1.403, allocations: 0.7717 MB / 1.091 GB, free: 26.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/1.403, allocations: 107.3 kB / 1.091 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 3.486e-06/1.403, allocations: 0 / 1.091 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003389/1.403, allocations: 137.4 kB / 1.091 GB, free: 26.47 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.403, allocations: 59.34 kB / 1.091 GB, free: 26.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/1.403, allocations: 269.1 kB / 1.091 GB, free: 26.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.403, allocations: 29.64 kB / 1.091 GB, free: 26.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.404, allocations: 203.9 kB / 1.091 GB, free: 25.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/1.404, allocations: 51.3 kB / 1.092 GB, free: 25.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.404, allocations: 4 kB / 1.092 GB, free: 25.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/1.404, allocations: 346.8 kB / 1.092 GB, free: 25.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/1.404, allocations: 44.23 kB / 1.092 GB, free: 25.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/1.404, allocations: 113.7 kB / 1.092 GB, free: 25.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/1.404, allocations: 79.17 kB / 1.092 GB, free: 25.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.404, allocations: 0 / 1.092 GB, free: 25.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003734/1.404, allocations: 229 kB / 1.092 GB, free: 25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.404, allocations: 33.7 kB / 1.092 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.405, allocations: 0 / 1.092 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.405, allocations: 4 kB / 1.092 GB, free: 24.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/1.405, allocations: 55.91 kB / 1.092 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.405, allocations: 4 kB / 1.092 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/1.405, allocations: 40.05 kB / 1.092 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/1.405, allocations: 12 kB / 1.092 GB, free: 24.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 7.348e-05/1.405, allocations: 116.8 kB / 1.093 GB, free: 24.72 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/1.405, allocations: 35.58 kB / 1.093 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/1.405, allocations: 153.5 kB / 1.093 GB, free: 24.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.405, allocations: 4 kB / 1.093 GB, free: 24.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.405, allocations: 0 / 1.093 GB, free: 24.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002249/1.406, allocations: 444.9 kB / 1.093 GB, free: 24.01 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/1.406, allocations: 328.5 kB / 1.093 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.406, allocations: 0 / 1.093 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/1.406, allocations: 47.91 kB / 1.094 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.406, allocations: 0 / 1.094 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/1.406, allocations: 0 / 1.094 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.406, allocations: 11.89 kB / 1.094 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.406, allocations: 4.031 kB / 1.094 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/1.407, allocations: 240.5 kB / 1.094 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.407, allocations: 132.6 kB / 1.094 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/1.407, allocations: 7.984 kB / 1.094 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.407, allocations: 19.92 kB / 1.094 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/1.407, allocations: 19.97 kB / 1.094 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/1.407, allocations: 8 kB / 1.094 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001909/1.407, allocations: 208.5 kB / 1.094 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.81e-07/1.407, allocations: 0 / 1.094 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004582/1.408, allocations: 127.7 kB / 1.094 GB, free: 22.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003592/1.408, allocations: 244.2 kB / 1.094 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002532/1.408, allocations: 181.3 kB / 1.095 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.408, allocations: 4 kB / 1.095 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/1.409, allocations: 55.92 kB / 1.095 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/1.409, allocations: 174.5 kB / 1.095 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/1.41, allocations: 0.5302 MB / 1.095 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/1.411, allocations: 0.7951 MB / 1.096 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002764/1.411, allocations: 51.2 kB / 1.096 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/1.411, allocations: 35.42 kB / 1.096 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/1.411, allocations: 0 / 1.096 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.01072/1.422, allocations: 6.008 MB / 1.102 GB, free: 14.7 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)