Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8443/0.8443, allocations: 132.4 MB / 139.7 MB, free: 15.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001084/0.001084, allocations: 175.1 kB / 171.6 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.348/1.348, allocations: 170.5 MB / 373.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001874/0.001874, allocations: 118.9 kB / 444.4 MB, free: 9.352 MB / 346.7 MB [/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.4558/0.4558, allocations: 73.39 MB / 0.666 GB, free: 62.59 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7144/1.17, allocations: 389.2 MB / 1.046 GB, free: 50.31 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.171, allocations: 86.05 kB / 1.046 GB, free: 50.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 10.62/11.8, allocations: 2.446 GB / 3.492 GB, free: 43.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003134/11.8, allocations: 379.2 kB / 3.493 GB, free: 43.25 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3134 * Number of variables: 3134 Notification: Performance of Generate backend data structure: time 0.05285/11.85, allocations: 12.83 MB / 3.505 GB, free: 38.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/11.85, allocations: 10.81 kB / 3.505 GB, free: 38.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/11.87, allocations: 1.822 MB / 3.507 GB, free: 37.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05619/11.92, allocations: 17.87 MB / 3.524 GB, free: 36.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/11.92, allocations: 391.1 kB / 3.525 GB, free: 36.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007067/11.93, allocations: 0.7554 MB / 3.526 GB, free: 36.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04124/11.97, allocations: 14.54 MB / 3.54 GB, free: 35.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05491/12.03, allocations: 16.1 MB / 3.555 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009154/12.03, allocations: 46.19 kB / 3.555 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005131/12.03, allocations: 29.66 kB / 3.556 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004445/12.03, allocations: 358.7 kB / 3.556 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1656/12.2, allocations: 78.66 MB / 3.633 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/12.22, allocations: 6.693 MB / 3.639 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01443/12.23, allocations: 6.196 MB / 3.645 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06241/12.29, allocations: 21.99 MB / 3.667 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/12.29, allocations: 119.4 kB / 3.667 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=722): time 3.309e-05/12.29, allocations: 0 / 3.667 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=740): time 0.6806/12.97, allocations: 26.67 MB / 3.693 GB, free: 118.2 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/12.98, allocations: 264 kB / 3.693 GB, free: 117.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02667/13, allocations: 10.15 MB / 3.703 GB, free: 117.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.003592/13.01, allocations: 33.58 kB / 3.703 GB, free: 117.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.007228/13.01, allocations: 4.857 MB / 3.708 GB, free: 117.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.007045/13.02, allocations: 2.478 MB / 3.71 GB, free: 115.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00315/13.02, allocations: 0 / 3.71 GB, free: 115.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.001653/13.02, allocations: 0.7857 MB / 3.711 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01329/13.04, allocations: 5.904 MB / 3.717 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01887/13.06, allocations: 9.555 MB / 3.726 GB, free: 111.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02961/13.09, allocations: 10.32 MB / 3.736 GB, free: 111 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00035/13.09, allocations: 34.56 kB / 3.736 GB, free: 111 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1504) (initialization): time 0.07149/13.16, allocations: 20.72 MB / 3.756 GB, free: 110.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.02317/13.18, allocations: 60.66 MB / 3.816 GB, free: 47.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001154/13.18, allocations: 108.9 kB / 3.816 GB, free: 47.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01616/13.2, allocations: 3.941 MB / 3.82 GB, free: 47.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01839/13.22, allocations: 3.015 MB / 3.823 GB, free: 47.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02748/13.25, allocations: 21.32 MB / 3.843 GB, free: 51.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02116/13.27, allocations: 0.7422 MB / 3.844 GB, free: 51.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005045/13.27, allocations: 0.5337 MB / 3.845 GB, free: 51.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/13.27, allocations: 6.469 kB / 3.845 GB, free: 51.77 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06163/13.33, allocations: 19.52 MB / 3.864 GB, free: 51.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007067/13.33, allocations: 114 kB / 3.864 GB, free: 51.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01502/13.35, allocations: 3.953 MB / 3.868 GB, free: 51.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01265/13.36, allocations: 2.305 MB / 3.87 GB, free: 51.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/13.39, allocations: 19.13 MB / 3.889 GB, free: 41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02267/13.41, allocations: 0.6914 MB / 3.889 GB, free: 40.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005909/13.42, allocations: 0.5398 MB / 3.89 GB, free: 40.93 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1270): * Single equations (assignments): 1252 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.009622/13.43, allocations: 445.8 kB / 3.89 GB, free: 40.58 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008643/13.44, allocations: 1.057 MB / 3.891 GB, free: 40.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06743/13.5, allocations: 14.08 MB / 3.905 GB, free: 39.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003004/13.5, allocations: 81.78 kB / 3.905 GB, free: 39.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001083/13.5, allocations: 2.906 kB / 3.905 GB, free: 39.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04963/13.55, allocations: 11.9 MB / 3.917 GB, free: 38.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09837/13.65, allocations: 28.2 MB / 3.944 GB, free: 36.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002338/13.65, allocations: 27.97 kB / 3.944 GB, free: 36.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/13.66, allocations: 1.874 MB / 3.946 GB, free: 36.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0113/13.68, allocations: 3.249 MB / 3.949 GB, free: 36.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002895/13.68, allocations: 126.8 kB / 3.949 GB, free: 36.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6919/14.37, allocations: 31.89 MB / 3.981 GB, free: 105.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-05/14.37, allocations: 52.03 kB / 3.981 GB, free: 105.6 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04687/14.42, allocations: 29.05 MB / 4.009 GB, free: 94.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01324/14.43, allocations: 2.709 MB / 4.012 GB, free: 94.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008232/14.44, allocations: 75.67 kB / 4.012 GB, free: 94.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01568/14.45, allocations: 0.6149 MB / 4.012 GB, free: 94.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002726/14.46, allocations: 0.4947 MB / 4.013 GB, free: 94.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002475/14.46, allocations: 317.1 kB / 4.013 GB, free: 94.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.02307/14.48, allocations: 7.61 MB / 4.021 GB, free: 94.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.04805/14.53, allocations: 5.784 MB / 4.026 GB, free: 94.43 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 130 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (638): * Single equations (assignments): 599 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 33 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 30 {1 3,2 16,2 16,2 16,2 16,2 16,2 16,1 3,1 3,1 3,1 5,1 5,1 5,1 5,1 5,1 5,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007855/14.54, allocations: 2.033 MB / 4.028 GB, free: 93.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.06638/14.61, allocations: 23.38 MB / 4.051 GB, free: 93.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.906e-05/14.61, allocations: 8.781 kB / 4.051 GB, free: 93.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.02461/14.63, allocations: 7.366 MB / 4.058 GB, free: 92.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0366/14.67, allocations: 5.134 MB / 4.063 GB, free: 92.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09047/14.76, allocations: 28.41 MB / 4.091 GB, free: 87.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03038/14.79, allocations: 10.87 MB / 4.102 GB, free: 86.05 MB / 0.7761 GB Notification: Performance of SimCode: time 1.543e-06/14.79, allocations: 2.188 kB / 4.102 GB, free: 86.05 MB / 0.7761 GB Notification: Performance of Templates: time 1.287/16.08, allocations: 307.1 MB / 4.401 GB, free: 103.2 MB / 0.7761 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)