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.2059/0.2077, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01563/0.2234, allocations: 14.19 MB / 0.6035 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.2286, allocations: 3.215 MB / 0.6067 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.2293, allocations: 15.88 kB / 0.6067 GB, free: 5.637 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.2301, allocations: 163.1 kB / 0.6068 GB, free: 5.477 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.2316, allocations: 0.5288 MB / 0.6074 GB, free: 4.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008541/0.2325, allocations: 299 kB / 0.6076 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.234, allocations: 1.403 MB / 0.609 GB, free: 3.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.2344, allocations: 250.7 kB / 0.6093 GB, free: 3.004 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.2348, allocations: 306.6 kB / 0.6095 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.2351, allocations: 294.7 kB / 0.6098 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.2352, allocations: 20 kB / 0.6098 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.2359, allocations: 271.3 kB / 0.6101 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.236, allocations: 75.67 kB / 0.6102 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.2362, allocations: 187 kB / 0.6104 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.2368, allocations: 0.5413 MB / 0.6109 GB, free: 1.328 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2368, allocations: 0 / 0.6109 GB, free: 1.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2369, allocations: 4 kB / 0.6109 GB, free: 1.324 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2369, allocations: 0 / 0.6109 GB, free: 1.324 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.001193/0.2381, allocations: 0.7228 MB / 0.6116 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2381, allocations: 8.031 kB / 0.6116 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.2383, allocations: 44.47 kB / 0.6116 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.239, allocations: 430.3 kB / 0.6121 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.239, allocations: 16.56 kB / 0.6121 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.2391, allocations: 35.92 kB / 0.6121 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.2396, allocations: 290.9 kB / 0.6124 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2396, allocations: 7.938 kB / 0.6124 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.2397, allocations: 8 kB / 0.6124 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2397, allocations: 11.94 kB / 0.6124 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.2402, allocations: 193.6 kB / 0.6126 GB, free: 15.46 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.00156/0.2417, allocations: 1.414 MB / 0.614 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.2422, allocations: 178.5 kB / 0.6141 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.2424, allocations: 80.81 kB / 0.6142 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.2435, allocations: 0.7677 MB / 0.615 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.2438, allocations: 115.3 kB / 0.6151 GB, free: 12.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/0.2438, allocations: 0 / 0.6151 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006614/0.2445, allocations: 239.9 kB / 0.6153 GB, free: 12.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.2445, allocations: 55.34 kB / 0.6154 GB, free: 12.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.2449, allocations: 325.7 kB / 0.6157 GB, free: 12.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.2449, allocations: 33.7 kB / 0.6157 GB, free: 12.01 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2451, allocations: 211.7 kB / 0.6159 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.2451, allocations: 47.36 kB / 0.6159 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.2452, allocations: 57.84 kB / 0.616 GB, free: 11.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2454, allocations: 346.8 kB / 0.6163 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.2456, allocations: 64.19 kB / 0.6164 GB, free: 11.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.2458, allocations: 137.9 kB / 0.6165 GB, free: 11.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.2462, allocations: 246.9 kB / 0.6168 GB, free: 10.83 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2462, allocations: 7.938 kB / 0.6168 GB, free: 10.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005652/0.2468, allocations: 302.8 kB / 0.6171 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.2469, allocations: 33.7 kB / 0.6171 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2469, allocations: 0 / 0.6171 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2469, allocations: 4 kB / 0.6171 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2471, allocations: 55.84 kB / 0.6171 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2471, allocations: 7.938 kB / 0.6172 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.2474, allocations: 35.86 kB / 0.6172 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.2474, allocations: 24 kB / 0.6172 GB, free: 10.35 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.0001657/0.2476, allocations: 157.3 kB / 0.6174 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.2476, allocations: 31.62 kB / 0.6174 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.2481, allocations: 192.5 kB / 0.6176 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2481, allocations: 0 / 0.6176 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2481, allocations: 0 / 0.6176 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004681/0.2486, allocations: 487.7 kB / 0.618 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.249, allocations: 375.9 kB / 0.6184 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2491, allocations: 4 kB / 0.6184 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.2492, allocations: 27.98 kB / 0.6184 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2493, allocations: 0 / 0.6184 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2493, allocations: 8 kB / 0.6184 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2493, allocations: 3.984 kB / 0.6184 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2493, allocations: 7.969 kB / 0.6184 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.2499, allocations: 296.4 kB / 0.6187 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2501, allocations: 120.8 kB / 0.6188 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.2501, allocations: 0 / 0.6188 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2503, allocations: 27.86 kB / 0.6189 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.2504, allocations: 19.97 kB / 0.6189 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.2504, allocations: 8 kB / 0.6189 GB, free: 8.422 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.2507, allocations: 227.2 kB / 0.6191 GB, free: 8.203 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2507, allocations: 0 / 0.6191 GB, free: 8.203 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.2511, allocations: 107.8 kB / 0.6192 GB, free: 8.098 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.0003545/0.2515, allocations: 179.1 kB / 0.6194 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004765/0.252, allocations: 233.6 kB / 0.6196 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.252, allocations: 0 / 0.6196 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2522, allocations: 79.83 kB / 0.6197 GB, free: 7.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.2532, allocations: 202.9 kB / 0.6199 GB, free: 7.406 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.2546, allocations: 0.8466 MB / 0.6207 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.255, allocations: 0.7875 MB / 0.6215 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.2553, allocations: 59.2 kB / 0.6215 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.2553, allocations: 35.36 kB / 0.6216 GB, free: 5.617 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2553, allocations: 0 / 0.6216 GB, free: 5.617 MB / 478.1 MB Notification: Performance of Templates: time 0.01197/0.2673, allocations: 6.414 MB / 0.6278 GB, free: 15.31 MB / 494.1 MB 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)