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.1562/0.1582, allocations: 80.84 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0152/0.1735, allocations: 14.23 MB / 0.6845 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.1781, allocations: 3.18 MB / 0.6876 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.1786, allocations: 19.88 kB / 0.6876 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.1792, allocations: 202.7 kB / 0.6878 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1806, allocations: 0.5635 MB / 0.6884 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.1814, allocations: 330.2 kB / 0.6887 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1825, allocations: 1.019 MB / 0.6897 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.1829, allocations: 295.3 kB / 0.69 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009212/0.1838, allocations: 377.8 kB / 0.6903 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.1842, allocations: 294.7 kB / 0.6906 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.1843, allocations: 28 kB / 0.6906 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.1848, allocations: 287.4 kB / 0.6909 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.185, allocations: 83.69 kB / 0.691 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1851, allocations: 203 kB / 0.6912 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.186, allocations: 0.5608 MB / 0.6917 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.186, allocations: 0 / 0.6917 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.477e-06/0.186, allocations: 0 / 0.6917 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.186, allocations: 3.938 kB / 0.6917 GB, free: 12.32 MB / 0.5294 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.001139/0.1872, allocations: 0.7151 MB / 0.6924 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1872, allocations: 8.031 kB / 0.6924 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.1874, allocations: 48.45 kB / 0.6925 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.188, allocations: 414.1 kB / 0.6929 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1881, allocations: 16.56 kB / 0.6929 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.1881, allocations: 24 kB / 0.6929 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.1887, allocations: 302.8 kB / 0.6932 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1887, allocations: 0 / 0.6932 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.1887, allocations: 15.98 kB / 0.6932 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.1887, allocations: 8 kB / 0.6932 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.1892, allocations: 185.6 kB / 0.6934 GB, free: 10.49 MB / 0.5294 GB 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.001525/0.1907, allocations: 1.425 MB / 0.6948 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.1911, allocations: 182.5 kB / 0.695 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.1913, allocations: 80.81 kB / 0.695 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.1924, allocations: 0.7677 MB / 0.6958 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.1927, allocations: 127.2 kB / 0.6959 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.1927, allocations: 0 / 0.6959 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000656/0.1934, allocations: 229.3 kB / 0.6961 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1934, allocations: 55.41 kB / 0.6962 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1938, allocations: 341.5 kB / 0.6965 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1938, allocations: 29.7 kB / 0.6965 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.194, allocations: 203.9 kB / 0.6967 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.194, allocations: 55.25 kB / 0.6968 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.1941, allocations: 49.94 kB / 0.6968 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1942, allocations: 342.8 kB / 0.6972 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1944, allocations: 72.19 kB / 0.6972 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.1947, allocations: 145.8 kB / 0.6974 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.1951, allocations: 250.3 kB / 0.6976 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1951, allocations: 3.938 kB / 0.6976 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005821/0.1957, allocations: 310.8 kB / 0.6979 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.1957, allocations: 29.7 kB / 0.6979 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1958, allocations: 4 kB / 0.6979 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1958, allocations: 4 kB / 0.6979 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.196, allocations: 55.91 kB / 0.698 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.196, allocations: 4 kB / 0.698 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1962, allocations: 27.77 kB / 0.698 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.1962, allocations: 15.98 kB / 0.698 GB, free: 5.359 MB / 0.5294 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 (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.0001524/0.1964, allocations: 165.8 kB / 0.6982 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.1965, allocations: 27.62 kB / 0.6982 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.1969, allocations: 199.4 kB / 0.6984 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1969, allocations: 0 / 0.6984 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1969, allocations: 4 kB / 0.6984 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004536/0.1974, allocations: 487.7 kB / 0.6989 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.1978, allocations: 383.8 kB / 0.6993 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1978, allocations: 0 / 0.6993 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.198, allocations: 31.98 kB / 0.6993 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.198, allocations: 7.984 kB / 0.6993 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.198, allocations: 0 / 0.6993 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.198, allocations: 0 / 0.6993 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.198, allocations: 4 kB / 0.6993 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.1986, allocations: 297.3 kB / 0.6996 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1988, allocations: 120.8 kB / 0.6997 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.1988, allocations: 15.92 kB / 0.6997 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.199, allocations: 11.97 kB / 0.6997 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.1991, allocations: 15.98 kB / 0.6997 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1991, allocations: 11.98 kB / 0.6998 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002114/0.1993, allocations: 239.2 kB / 0.7 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1993, allocations: 0 / 0.7 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004008/0.1997, allocations: 115.8 kB / 0.7001 GB, free: 3.062 MB / 0.5294 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 (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.0003458/0.2001, allocations: 199.1 kB / 0.7003 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004942/0.2006, allocations: 227.5 kB / 0.7005 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2006, allocations: 0 / 0.7005 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.2008, allocations: 79.83 kB / 0.7006 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.2018, allocations: 208.2 kB / 0.7008 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.2031, allocations: 0.7201 MB / 0.7015 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2035, allocations: 0.7871 MB / 0.7022 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.2037, allocations: 67.17 kB / 0.7023 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.2038, allocations: 35.42 kB / 0.7023 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.2038, allocations: 0 / 0.7023 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of Templates: time 0.01191/0.2157, allocations: 7.14 MB / 0.7093 GB, free: 9.629 MB / 0.545 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)