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.2107/0.2128, allocations: 80.83 MB / 0.6706 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01568/0.2286, allocations: 14.23 MB / 0.6845 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004704/0.2333, allocations: 3.18 MB / 0.6876 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/0.2339, allocations: 19.88 kB / 0.6876 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006961/0.2346, allocations: 206.7 kB / 0.6878 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.2361, allocations: 0.5635 MB / 0.6884 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008209/0.2369, allocations: 319.2 kB / 0.6887 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.2381, allocations: 1.023 MB / 0.6897 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.2386, allocations: 296 kB / 0.69 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.2396, allocations: 362.6 kB / 0.6903 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.24, allocations: 290.7 kB / 0.6906 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.24, allocations: 28 kB / 0.6906 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3485/0.5885, allocations: 288.5 kB / 0.6909 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.5887, allocations: 84.08 kB / 0.691 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.589, allocations: 193.6 kB / 0.6912 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.5901, allocations: 0.5656 MB / 0.6917 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5901, allocations: 0.75 kB / 0.6917 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5901, allocations: 3.234 kB / 0.6917 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5901, allocations: 1.312 kB / 0.6917 GB, free: 7.762 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.001171/0.5913, allocations: 0.7343 MB / 0.6924 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5914, allocations: 10.25 kB / 0.6924 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.5916, allocations: 44.11 kB / 0.6925 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.5922, allocations: 412.8 kB / 0.6929 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5922, allocations: 20.16 kB / 0.6929 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.5923, allocations: 24.19 kB / 0.6929 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.5928, allocations: 304.7 kB / 0.6932 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5929, allocations: 0 / 0.6932 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.5929, allocations: 8.688 kB / 0.6932 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.5929, allocations: 10.16 kB / 0.6932 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.5934, allocations: 191.5 kB / 0.6934 GB, free: 6.883 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.001244/0.5946, allocations: 1.426 MB / 0.6948 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.595, allocations: 174 kB / 0.695 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.5952, allocations: 87.05 kB / 0.6951 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/0.596, allocations: 0.7693 MB / 0.6958 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.5963, allocations: 124.6 kB / 0.6959 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.5963, allocations: 3.688 kB / 0.6959 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005519/0.5969, allocations: 235.3 kB / 0.6962 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.5969, allocations: 51.41 kB / 0.6962 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.5972, allocations: 332.8 kB / 0.6965 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.5972, allocations: 32.33 kB / 0.6965 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5974, allocations: 215.5 kB / 0.6968 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.5974, allocations: 59.94 kB / 0.6968 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.5975, allocations: 49.64 kB / 0.6969 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.5976, allocations: 343.6 kB / 0.6972 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5977, allocations: 63.92 kB / 0.6972 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.5979, allocations: 148 kB / 0.6974 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.5983, allocations: 245.7 kB / 0.6976 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.5983, allocations: 0 / 0.6976 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005253/0.5989, allocations: 314.5 kB / 0.6979 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5989, allocations: 31.67 kB / 0.698 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5989, allocations: 3.344 kB / 0.698 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5989, allocations: 7.406 kB / 0.698 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.5991, allocations: 49.27 kB / 0.698 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.5992, allocations: 9.406 kB / 0.698 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5994, allocations: 34.56 kB / 0.6981 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.5994, allocations: 10.22 kB / 0.6981 GB, free: 4.133 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.0001302/0.5995, allocations: 161.5 kB / 0.6982 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.5996, allocations: 35.25 kB / 0.6982 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.6, allocations: 192.1 kB / 0.6984 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6, allocations: 4.188 kB / 0.6984 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6001, allocations: 3.75 kB / 0.6984 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003994/0.6005, allocations: 488.5 kB / 0.6989 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.6009, allocations: 374 kB / 0.6993 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6009, allocations: 1.062 kB / 0.6993 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.601, allocations: 40.64 kB / 0.6993 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6011, allocations: 0.8125 kB / 0.6993 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6011, allocations: 11.88 kB / 0.6993 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.6011, allocations: 0.5625 kB / 0.6993 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6011, allocations: 2.344 kB / 0.6993 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.6017, allocations: 292.2 kB / 0.6996 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.6019, allocations: 131 kB / 0.6997 GB, free: 19.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.6019, allocations: 7.031 kB / 0.6997 GB, free: 19.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.6021, allocations: 14.7 kB / 0.6997 GB, free: 19.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.6022, allocations: 17.31 kB / 0.6998 GB, free: 19.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.6023, allocations: 8.594 kB / 0.6998 GB, free: 19.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002297/0.6025, allocations: 240 kB / 0.7 GB, free: 18.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6025, allocations: 0 / 0.7 GB, free: 18.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004334/0.6029, allocations: 117.8 kB / 0.7001 GB, free: 18.95 MB / 0.545 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.0003262/0.6033, allocations: 196.4 kB / 0.7003 GB, free: 18.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.6037, allocations: 229 kB / 0.7005 GB, free: 18.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6037, allocations: 0 / 0.7005 GB, free: 18.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.6039, allocations: 76.78 kB / 0.7006 GB, free: 18.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.6049, allocations: 218.2 kB / 0.7008 GB, free: 18.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.6061, allocations: 0.7379 MB / 0.7015 GB, free: 18.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.6065, allocations: 0.7844 MB / 0.7023 GB, free: 17.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.6067, allocations: 61.94 kB / 0.7023 GB, free: 17.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.6068, allocations: 39.86 kB / 0.7024 GB, free: 17.62 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.6068, allocations: 0 / 0.7024 GB, free: 17.62 MB / 0.545 GB Notification: Performance of Templates: time 0.01429/0.6211, allocations: 7.02 MB / 0.7092 GB, free: 17.08 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)