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.8251/0.8251, allocations: 133.7 MB / 148.6 MB, free: 13.66 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.00128/0.00128, allocations: 179.3 kB / 180.9 MB, free: 15.08 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.567/1.567, 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.001673/0.001673, allocations: 132.2 kB / 454.6 MB, free: 9.73 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.1646/0.1651, allocations: 73.4 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.317, allocations: 351.9 MB / 1.025 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.318, allocations: 88.2 kB / 1.025 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1396/1.457, allocations: 73.83 MB / 1.097 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/1.457, allocations: 0 / 1.097 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.169e-05/1.458, allocations: 19.88 kB / 1.097 GB, free: 65.06 MB / 0.6042 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.001215/1.459, allocations: 0.706 MB / 1.098 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.459, allocations: 8.562 kB / 1.098 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/1.459, allocations: 50.97 kB / 1.098 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/1.471, allocations: 6.375 MB / 1.104 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/1.471, allocations: 16.56 kB / 1.104 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/1.471, allocations: 31.92 kB / 1.104 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/1.471, allocations: 298.8 kB / 1.104 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/1.471, allocations: 0 / 1.104 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/1.471, allocations: 10.92 kB / 1.104 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/1.471, allocations: 15.98 kB / 1.104 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/1.472, allocations: 193.5 kB / 1.105 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/1.473, allocations: 1.43 MB / 1.106 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/1.474, allocations: 182.5 kB / 1.106 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009079/1.475, allocations: 0.791 MB / 1.107 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/1.475, allocations: 127.5 kB / 1.107 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/1.475, allocations: 0 / 1.107 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.000565/1.476, allocations: 243.2 kB / 1.107 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/1.476, allocations: 55.41 kB / 1.107 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/1.476, allocations: 312.8 kB / 1.108 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/1.476, allocations: 29.7 kB / 1.108 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/1.476, allocations: 207.8 kB / 1.108 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/1.476, allocations: 51.28 kB / 1.108 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/1.476, allocations: 4 kB / 1.108 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/1.476, allocations: 342.8 kB / 1.108 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.476, allocations: 76.12 kB / 1.108 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/1.477, allocations: 146.4 kB / 1.108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/1.477, allocations: 117.7 kB / 1.109 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.477, allocations: 4 kB / 1.109 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004882/1.477, allocations: 314.8 kB / 1.109 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/1.477, allocations: 37.7 kB / 1.109 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.477, allocations: 4 kB / 1.109 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.477, allocations: 4 kB / 1.109 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.478, allocations: 51.91 kB / 1.109 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.478, allocations: 4 kB / 1.109 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/1.478, allocations: 43.86 kB / 1.109 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.478, allocations: 8 kB / 1.109 GB, free: 52.32 MB / 0.6042 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 () * Number of clocked 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 0.0001403/1.478, allocations: 165.6 kB / 1.109 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/1.478, allocations: 35.58 kB / 1.109 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/1.478, allocations: 210.8 kB / 1.109 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.478, allocations: 0 / 1.109 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/1.478, allocations: 0 / 1.109 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003883/1.479, allocations: 495.7 kB / 1.11 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/1.479, allocations: 383.8 kB / 1.11 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.479, allocations: 0 / 1.11 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/1.479, allocations: 35.98 kB / 1.11 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.479, allocations: 4 kB / 1.11 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/1.479, allocations: 7.891 kB / 1.11 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.479, allocations: 3.984 kB / 1.11 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.479, allocations: 4 kB / 1.11 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/1.48, allocations: 315.1 kB / 1.111 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/1.48, allocations: 140.6 kB / 1.111 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/1.48, allocations: 4 kB / 1.111 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/1.48, allocations: 15.98 kB / 1.111 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/1.48, allocations: 19.97 kB / 1.111 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/1.48, allocations: 4 kB / 1.111 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002021/1.481, allocations: 247.2 kB / 1.111 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/1.481, allocations: 0 / 1.111 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004508/1.481, allocations: 131.8 kB / 1.111 GB, free: 49.95 MB / 0.6042 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) * Number of clocked states: 0 () * 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.0003577/1.482, allocations: 250.5 kB / 1.111 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004433/1.482, allocations: 239.5 kB / 1.112 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.482, allocations: 0 / 1.112 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/1.482, allocations: 79.89 kB / 1.112 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/1.483, allocations: 203 kB / 1.112 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/1.484, allocations: 0.9483 MB / 1.113 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/1.485, allocations: 0.7914 MB / 1.114 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002547/1.485, allocations: 59.25 kB / 1.114 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/1.485, allocations: 31.42 kB / 1.114 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/1.485, allocations: 0 / 1.114 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.01059/1.495, allocations: 7.031 MB / 1.121 GB, free: 40.33 MB / 0.6042 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)