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.1666/0.1687, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01535/0.1841, allocations: 14.23 MB / 0.6845 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.1888, allocations: 3.18 MB / 0.6876 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.1894, allocations: 23.88 kB / 0.6876 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.1902, allocations: 206.7 kB / 0.6878 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1918, allocations: 0.5909 MB / 0.6884 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.1927, allocations: 330.8 kB / 0.6887 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.194, allocations: 1.025 MB / 0.6897 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.1944, allocations: 295.3 kB / 0.69 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009789/0.1954, allocations: 381.9 kB / 0.6904 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.1958, allocations: 294.7 kB / 0.6906 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.1958, allocations: 28 kB / 0.6907 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005914/0.1964, allocations: 279.5 kB / 0.6909 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1965, allocations: 91.56 kB / 0.691 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1967, allocations: 199.1 kB / 0.6912 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.1975, allocations: 0.5647 MB / 0.6918 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1975, allocations: 0 / 0.6918 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1975, allocations: 3.938 kB / 0.6918 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.1975, allocations: 0 / 0.6918 GB, free: 12.25 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.00112/0.1987, allocations: 0.715 MB / 0.6925 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1987, allocations: 12.02 kB / 0.6925 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1989, allocations: 48.47 kB / 0.6925 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.1995, allocations: 410.1 kB / 0.6929 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1996, allocations: 16.56 kB / 0.6929 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.1996, allocations: 24 kB / 0.693 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.2002, allocations: 298.9 kB / 0.6932 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2002, allocations: 3.938 kB / 0.6932 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2002, allocations: 15.97 kB / 0.6933 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.2003, allocations: 8 kB / 0.6933 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.2007, allocations: 189.6 kB / 0.6935 GB, free: 10.42 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.00154/0.2023, allocations: 1.418 MB / 0.6948 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.2027, allocations: 178.5 kB / 0.695 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2029, allocations: 88.75 kB / 0.6951 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009715/0.2039, allocations: 0.7638 MB / 0.6958 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.2042, allocations: 127.2 kB / 0.696 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.2042, allocations: 0 / 0.696 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006156/0.2048, allocations: 229.3 kB / 0.6962 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.2049, allocations: 51.41 kB / 0.6962 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.2052, allocations: 345.5 kB / 0.6966 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2053, allocations: 33.7 kB / 0.6966 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.2054, allocations: 199.9 kB / 0.6968 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.2054, allocations: 51.25 kB / 0.6968 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.2055, allocations: 57.92 kB / 0.6969 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2056, allocations: 338.8 kB / 0.6972 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.2058, allocations: 68.19 kB / 0.6973 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.2061, allocations: 145.9 kB / 0.6974 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.2065, allocations: 254.2 kB / 0.6977 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2065, allocations: 3.938 kB / 0.6977 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005936/0.2071, allocations: 306.6 kB / 0.6979 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.2072, allocations: 30.33 kB / 0.698 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2072, allocations: 4 kB / 0.698 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2072, allocations: 7.938 kB / 0.698 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2074, allocations: 56.22 kB / 0.698 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2075, allocations: 4 kB / 0.698 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.2077, allocations: 35.75 kB / 0.6981 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.2077, allocations: 19.98 kB / 0.6981 GB, free: 5.281 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.0001812/0.2079, allocations: 157.7 kB / 0.6982 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.208, allocations: 27.62 kB / 0.6983 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.2084, allocations: 200 kB / 0.6985 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2085, allocations: 0 / 0.6985 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2085, allocations: 7.938 kB / 0.6985 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004582/0.2089, allocations: 487.6 kB / 0.6989 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.2094, allocations: 367.9 kB / 0.6993 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2094, allocations: 4 kB / 0.6993 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.2095, allocations: 39.91 kB / 0.6993 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2096, allocations: 8.031 kB / 0.6993 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2096, allocations: 0 / 0.6993 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2096, allocations: 0 / 0.6993 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2096, allocations: 4 kB / 0.6993 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.2102, allocations: 289.4 kB / 0.6996 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2103, allocations: 128.7 kB / 0.6997 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.2104, allocations: 4 kB / 0.6997 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2106, allocations: 11.98 kB / 0.6998 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.2106, allocations: 19.97 kB / 0.6998 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2107, allocations: 8 kB / 0.6998 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002339/0.2109, allocations: 243.1 kB / 0.7 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2109, allocations: 0 / 0.7 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004054/0.2113, allocations: 111.8 kB / 0.7001 GB, free: 3.004 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.0003218/0.2117, allocations: 203.1 kB / 0.7003 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.2121, allocations: 224.4 kB / 0.7005 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2122, allocations: 0 / 0.7005 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2124, allocations: 80.52 kB / 0.7006 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/0.2133, allocations: 217.9 kB / 0.7008 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2147, allocations: 0.7084 MB / 0.7015 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.2151, allocations: 0.7987 MB / 0.7023 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002499/0.2154, allocations: 59.25 kB / 0.7023 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.816e-05/0.2155, allocations: 39.42 kB / 0.7024 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.2155, allocations: 3.938 kB / 0.7024 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of Templates: time 0.01203/0.2275, allocations: 7.029 MB / 0.7092 GB, free: 9.672 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)