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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1762/0.177, allocations: 82.22 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0168/0.1938, allocations: 13.68 MB / 0.6075 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.1986, allocations: 3.165 MB / 0.6106 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.199, allocations: 15.88 kB / 0.6106 GB, free: 4.629 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.1996, allocations: 159.1 kB / 0.6107 GB, free: 4.473 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.2008, allocations: 0.5327 MB / 0.6112 GB, free: 3.938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007104/0.2015, allocations: 298.6 kB / 0.6115 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.2029, allocations: 1.399 MB / 0.6129 GB, free: 2.246 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.2033, allocations: 231.3 kB / 0.6131 GB, free: 2.016 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.2037, allocations: 310.5 kB / 0.6134 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.204, allocations: 278.7 kB / 0.6137 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.2041, allocations: 15.94 kB / 0.6137 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.2046, allocations: 271.4 kB / 0.614 GB, free: 1.156 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.562e-05/0.2047, allocations: 71.61 kB / 0.614 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.2049, allocations: 196.8 kB / 0.6142 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.2055, allocations: 0.545 MB / 0.6147 GB, free: 348 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2055, allocations: 0 / 0.6147 GB, free: 348 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2055, allocations: 0 / 0.6147 GB, free: 348 kB / 462.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2055, allocations: 4 kB / 0.6147 GB, free: 344 kB / 462.1 MB 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.001057/0.2066, allocations: 0.6528 MB / 0.6154 GB, free: 15.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2066, allocations: 12.03 kB / 0.6154 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.2068, allocations: 44.47 kB / 0.6154 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.2074, allocations: 430.2 kB / 0.6158 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2075, allocations: 16.56 kB / 0.6159 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.2075, allocations: 24 kB / 0.6159 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.2081, allocations: 310.7 kB / 0.6162 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2081, allocations: 0 / 0.6162 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.2081, allocations: 8 kB / 0.6162 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2081, allocations: 8 kB / 0.6162 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.2086, allocations: 197.6 kB / 0.6164 GB, free: 14.54 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.2102, allocations: 1.433 MB / 0.6178 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.2107, allocations: 198.5 kB / 0.618 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.2109, allocations: 88.81 kB / 0.6181 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009952/0.2119, allocations: 0.7599 MB / 0.6188 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.2122, allocations: 133.4 kB / 0.6189 GB, free: 11.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2122, allocations: 0 / 0.6189 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006143/0.2128, allocations: 245.3 kB / 0.6192 GB, free: 11.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2129, allocations: 55.41 kB / 0.6192 GB, free: 11.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.2132, allocations: 329.6 kB / 0.6195 GB, free: 11.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2133, allocations: 29.7 kB / 0.6196 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2134, allocations: 207.8 kB / 0.6198 GB, free: 10.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.2135, allocations: 55.25 kB / 0.6198 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2135, allocations: 33.7 kB / 0.6198 GB, free: 10.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2136, allocations: 334.8 kB / 0.6202 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.2138, allocations: 76.19 kB / 0.6202 GB, free: 10.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2141, allocations: 150.7 kB / 0.6204 GB, free: 10.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.2145, allocations: 254.9 kB / 0.6206 GB, free: 9.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2146, allocations: 7.875 kB / 0.6206 GB, free: 9.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005682/0.2151, allocations: 312.7 kB / 0.6209 GB, free: 9.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.2152, allocations: 37.69 kB / 0.621 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2152, allocations: 4 kB / 0.621 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2152, allocations: 7.938 kB / 0.621 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.2154, allocations: 55.91 kB / 0.621 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2154, allocations: 4 kB / 0.621 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.2157, allocations: 43.86 kB / 0.6211 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2157, allocations: 8 kB / 0.6211 GB, free: 9.359 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.2159, allocations: 162.6 kB / 0.6212 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.2159, allocations: 31.62 kB / 0.6213 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.2164, allocations: 211.5 kB / 0.6215 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2164, allocations: 4 kB / 0.6215 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2164, allocations: 4 kB / 0.6215 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004817/0.2169, allocations: 491.8 kB / 0.6219 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.2173, allocations: 367.9 kB / 0.6223 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2173, allocations: 0 / 0.6223 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2175, allocations: 43.91 kB / 0.6223 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2175, allocations: 4 kB / 0.6223 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2175, allocations: 0 / 0.6223 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2176, allocations: 4 kB / 0.6223 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2176, allocations: 4.031 kB / 0.6223 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.2182, allocations: 313.3 kB / 0.6226 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.2183, allocations: 124.8 kB / 0.6228 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.2184, allocations: 4.094 kB / 0.6228 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.2186, allocations: 27.81 kB / 0.6228 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.2187, allocations: 19.97 kB / 0.6228 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2187, allocations: 4 kB / 0.6228 GB, free: 7.375 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.2189, allocations: 235.2 kB / 0.623 GB, free: 7.148 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2189, allocations: 0 / 0.623 GB, free: 7.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003944/0.2193, allocations: 111.8 kB / 0.6232 GB, free: 7.039 MB / 478.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003125/0.2196, allocations: 175.1 kB / 0.6233 GB, free: 6.859 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.2201, allocations: 239.8 kB / 0.6235 GB, free: 6.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2201, allocations: 7.875 kB / 0.6236 GB, free: 6.605 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.2203, allocations: 83.83 kB / 0.6236 GB, free: 6.523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.2213, allocations: 202 kB / 0.6238 GB, free: 6.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.2227, allocations: 0.9122 MB / 0.6247 GB, free: 5.398 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.2231, allocations: 0.7875 MB / 0.6255 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.2233, allocations: 63.25 kB / 0.6255 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.2234, allocations: 35.42 kB / 0.6256 GB, free: 4.484 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2234, allocations: 0 / 0.6256 GB, free: 4.484 MB / 478.1 MB Notification: Performance of Templates: time 0.0109/0.2343, allocations: 6.379 MB / 0.6318 GB, free: 14.2 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: