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.1948/0.1955, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01424/0.2098, allocations: 11.96 MB / 0.605 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.2151, allocations: 2.781 MB / 0.6078 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005448/0.2157, allocations: 11.94 kB / 0.6078 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006958/0.2164, allocations: 199 kB / 0.608 GB, free: 7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.2178, allocations: 0.5141 MB / 0.6085 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.2189, allocations: 349.7 kB / 0.6088 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.2201, allocations: 0.6275 MB / 0.6094 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.2206, allocations: 221.2 kB / 0.6096 GB, free: 5.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.2211, allocations: 255 kB / 0.6099 GB, free: 5.051 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.2214, allocations: 187.1 kB / 0.61 GB, free: 4.867 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2214, allocations: 12 kB / 0.6101 GB, free: 4.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.2219, allocations: 175.7 kB / 0.6102 GB, free: 4.684 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.222, allocations: 59.73 kB / 0.6103 GB, free: 4.625 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2222, allocations: 97.52 kB / 0.6104 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.2226, allocations: 383.1 kB / 0.6107 GB, free: 4.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2226, allocations: 0 / 0.6107 GB, free: 4.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2227, allocations: 3.984 kB / 0.6107 GB, free: 4.145 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2227, allocations: 0 / 0.6107 GB, free: 4.145 MB / 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.001086/0.2238, allocations: 0.6643 MB / 0.6114 GB, free: 3.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2238, allocations: 8.031 kB / 0.6114 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.224, allocations: 47.52 kB / 0.6114 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.2246, allocations: 390 kB / 0.6118 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.2246, allocations: 20.56 kB / 0.6118 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.2247, allocations: 28 kB / 0.6119 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.2253, allocations: 298.8 kB / 0.6121 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2253, allocations: 4 kB / 0.6121 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.2253, allocations: 19.94 kB / 0.6122 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.2254, allocations: 4 kB / 0.6122 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.2258, allocations: 201.5 kB / 0.6124 GB, free: 2.359 MB / 462.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.001726/0.2276, allocations: 1.433 MB / 0.6138 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.228, allocations: 182.5 kB / 0.6139 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.2293, allocations: 0.7871 MB / 0.6147 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.2297, allocations: 125.5 kB / 0.6148 GB, free: 15.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.2297, allocations: 4 kB / 0.6148 GB, free: 15.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006636/0.2304, allocations: 245.3 kB / 0.6151 GB, free: 15.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.2304, allocations: 55.41 kB / 0.6151 GB, free: 15.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.2308, allocations: 337.7 kB / 0.6154 GB, free: 14.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.2309, allocations: 25.7 kB / 0.6155 GB, free: 14.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.2311, allocations: 211.8 kB / 0.6157 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.2312, allocations: 55.25 kB / 0.6157 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.2312, allocations: 4 kB / 0.6157 GB, free: 14.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.2314, allocations: 338.8 kB / 0.616 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2316, allocations: 76.19 kB / 0.6161 GB, free: 14.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.2318, allocations: 146.7 kB / 0.6163 GB, free: 14.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.2321, allocations: 117.6 kB / 0.6164 GB, free: 13.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2321, allocations: 4 kB / 0.6164 GB, free: 13.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005514/0.2326, allocations: 310.9 kB / 0.6167 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.2327, allocations: 37.77 kB / 0.6167 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2327, allocations: 0 / 0.6167 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2328, allocations: 7.953 kB / 0.6167 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.233, allocations: 55.91 kB / 0.6168 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.233, allocations: 7.984 kB / 0.6168 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.2332, allocations: 39.67 kB / 0.6168 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.2333, allocations: 16 kB / 0.6168 GB, free: 13.46 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 ($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.0001714/0.2334, allocations: 149.8 kB / 0.617 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.2335, allocations: 35.62 kB / 0.617 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.234, allocations: 207.4 kB / 0.6172 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.234, allocations: 3.953 kB / 0.6172 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.234, allocations: 0 / 0.6172 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005211/0.2345, allocations: 499.7 kB / 0.6177 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.235, allocations: 367.9 kB / 0.618 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2351, allocations: 8.031 kB / 0.618 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2353, allocations: 35.97 kB / 0.6181 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2353, allocations: 3.938 kB / 0.6181 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2353, allocations: 8 kB / 0.6181 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2353, allocations: 4 kB / 0.6181 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2353, allocations: 7.891 kB / 0.6181 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.236, allocations: 323.1 kB / 0.6184 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.2362, allocations: 132.7 kB / 0.6185 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.2363, allocations: 15.94 kB / 0.6185 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.2365, allocations: 11.98 kB / 0.6186 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.2366, allocations: 19.97 kB / 0.6186 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.2366, allocations: 8 kB / 0.6186 GB, free: 11.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.2369, allocations: 239.2 kB / 0.6188 GB, free: 11.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2369, allocations: 0 / 0.6188 GB, free: 11.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.2373, allocations: 107.8 kB / 0.6189 GB, free: 11.11 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 (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.0003536/0.2377, allocations: 193.9 kB / 0.6191 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005176/0.2382, allocations: 233.3 kB / 0.6193 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2382, allocations: 0.625 kB / 0.6193 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2384, allocations: 87.12 kB / 0.6194 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/0.2394, allocations: 197 kB / 0.6196 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2409, allocations: 0.9411 MB / 0.6205 GB, free: 9.438 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.2413, allocations: 0.7914 MB / 0.6213 GB, free: 8.617 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.2416, allocations: 67.19 kB / 0.6213 GB, free: 8.551 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.2417, allocations: 35.42 kB / 0.6214 GB, free: 8.516 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2417, allocations: 0 / 0.6214 GB, free: 8.516 MB / 478.1 MB Notification: Performance of Templates: time 0.01186/0.2536, allocations: 6.428 MB / 0.6277 GB, free: 2.184 MB / 478.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: