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.5457/0.5466, allocations: 82.2 MB / 0.5935 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01195/0.5585, allocations: 13 MB / 0.6062 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.5623, allocations: 2.976 MB / 0.6091 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.5629, allocations: 19.88 kB / 0.6091 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.5635, allocations: 143.1 kB / 0.6092 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.5647, allocations: 473.6 kB / 0.6097 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007317/0.5654, allocations: 232.9 kB / 0.6099 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.5666, allocations: 1.212 MB / 0.6111 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.5669, allocations: 218 kB / 0.6113 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.5673, allocations: 298.7 kB / 0.6116 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.5676, allocations: 270.7 kB / 0.6118 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.5677, allocations: 12 kB / 0.6118 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.5681, allocations: 163.6 kB / 0.612 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.5682, allocations: 55.75 kB / 0.6121 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.5683, allocations: 97.52 kB / 0.6121 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.5686, allocations: 395 kB / 0.6125 GB, free: 1.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5686, allocations: 4 kB / 0.6125 GB, free: 1.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5687, allocations: 0 / 0.6125 GB, free: 1.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.5687, allocations: 0 / 0.6125 GB, free: 1.969 MB / 446.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.0008976/0.5696, allocations: 0.6642 MB / 0.6132 GB, free: 1.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5696, allocations: 12.02 kB / 0.6132 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.5698, allocations: 43.53 kB / 0.6132 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.5703, allocations: 410 kB / 0.6136 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.5704, allocations: 24.56 kB / 0.6136 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.5704, allocations: 24 kB / 0.6137 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.5709, allocations: 306.8 kB / 0.614 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.5709, allocations: 0 / 0.614 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.571, allocations: 11.95 kB / 0.614 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.571, allocations: 12 kB / 0.614 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.5714, allocations: 197.6 kB / 0.6142 GB, free: 164 kB / 446.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.001687/0.5731, allocations: 1.418 MB / 0.6156 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.5735, allocations: 193 kB / 0.6157 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.5737, allocations: 88.81 kB / 0.6158 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.5747, allocations: 0.7639 MB / 0.6166 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.575, allocations: 135.3 kB / 0.6167 GB, free: 13.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 5.44e-06/0.575, allocations: 3.984 kB / 0.6167 GB, free: 13.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.000613/0.5756, allocations: 241.2 kB / 0.6169 GB, free: 13.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.5757, allocations: 55.41 kB / 0.617 GB, free: 13.03 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.5761, allocations: 329.5 kB / 0.6173 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.5762, allocations: 25.7 kB / 0.6173 GB, free: 12.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.5764, allocations: 211.9 kB / 0.6175 GB, free: 12.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.5765, allocations: 55.2 kB / 0.6176 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5765, allocations: 4 kB / 0.6176 GB, free: 12.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5766, allocations: 338.8 kB / 0.6179 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.5768, allocations: 80.17 kB / 0.618 GB, free: 11.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.5771, allocations: 150.8 kB / 0.6181 GB, free: 11.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.5773, allocations: 117.6 kB / 0.6182 GB, free: 11.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.5773, allocations: 4 kB / 0.6182 GB, free: 11.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005933/0.5779, allocations: 313.1 kB / 0.6185 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.578, allocations: 37.66 kB / 0.6186 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.578, allocations: 0 / 0.6186 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.775e-05/0.578, allocations: 4 kB / 0.6186 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.5782, allocations: 55.91 kB / 0.6186 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.5783, allocations: 7.984 kB / 0.6186 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.5786, allocations: 39.92 kB / 0.6187 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.5786, allocations: 12 kB / 0.6187 GB, free: 11.2 MB / 462.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.0001859/0.5788, allocations: 149.8 kB / 0.6188 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.5789, allocations: 35.61 kB / 0.6189 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.5793, allocations: 209.4 kB / 0.6191 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.5793, allocations: 3.938 kB / 0.6191 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5793, allocations: 0 / 0.6191 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005014/0.5798, allocations: 0.4899 MB / 0.6195 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.5803, allocations: 368 kB / 0.6199 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5803, allocations: 4 kB / 0.6199 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.5805, allocations: 35.97 kB / 0.6199 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5805, allocations: 0 / 0.6199 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.5805, allocations: 8 kB / 0.6199 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5805, allocations: 3.953 kB / 0.6199 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5805, allocations: 0 / 0.6199 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.5811, allocations: 316.1 kB / 0.6202 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.5813, allocations: 124.7 kB / 0.6204 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.5813, allocations: 12 kB / 0.6204 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.5815, allocations: 19.84 kB / 0.6204 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.5816, allocations: 19.97 kB / 0.6204 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.5816, allocations: 4 kB / 0.6204 GB, free: 9.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.5818, allocations: 231.2 kB / 0.6206 GB, free: 9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5819, allocations: 8 kB / 0.6206 GB, free: 8.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.5823, allocations: 115.8 kB / 0.6208 GB, free: 8.879 MB / 462.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.0003388/0.5827, allocations: 157.6 kB / 0.6209 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.5832, allocations: 239.1 kB / 0.6211 GB, free: 8.473 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5832, allocations: 3.938 kB / 0.6211 GB, free: 8.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.5834, allocations: 85.98 kB / 0.6212 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.5844, allocations: 202.3 kB / 0.6214 GB, free: 8.195 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.5859, allocations: 0.9295 MB / 0.6223 GB, free: 7.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.5863, allocations: 0.7875 MB / 0.6231 GB, free: 6.422 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.5866, allocations: 63.17 kB / 0.6232 GB, free: 6.359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.5867, allocations: 35.44 kB / 0.6232 GB, free: 6.324 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5867, allocations: 0 / 0.6232 GB, free: 6.324 MB / 462.1 MB Notification: Performance of Templates: time 0.01226/0.5989, allocations: 6.193 MB / 0.6292 GB, free: 236 kB / 462.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: