Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 182.8 kB / 7.799 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4381/0.4381, allocations: 90.85 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009556, allocations: 97.86 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.477e-05, allocations: 0 / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3344, allocations: 72.29 MB / 0.5529 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5329/0.8673, allocations: 383.9 MB / 0.9278 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.8677, allocations: 87.77 kB / 0.9279 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 14.34/15.21, allocations: 4.703 GB / 5.631 GB, free: 49.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.002885/15.21, allocations: 413.8 kB / 5.632 GB, free: 49.7 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: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.04079/15.26, allocations: 13.32 MB / 5.645 GB, free: 44.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/15.26, allocations: 9.5 kB / 5.645 GB, free: 44.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/15.27, allocations: 1.9 MB / 5.647 GB, free: 43.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04194/15.31, allocations: 18.33 MB / 5.664 GB, free: 41.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008094/15.31, allocations: 405 kB / 5.665 GB, free: 41.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004678/15.31, allocations: 0.7628 MB / 5.666 GB, free: 41.92 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02837/15.34, allocations: 14.87 MB / 5.68 GB, free: 41.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04272/15.39, allocations: 16.45 MB / 5.696 GB, free: 39.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008126/15.39, allocations: 52.02 kB / 5.696 GB, free: 39.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004572/15.39, allocations: 25.25 kB / 5.696 GB, free: 39.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003955/15.39, allocations: 356.3 kB / 5.697 GB, free: 39.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5166/15.91, allocations: 79.04 MB / 5.774 GB, free: 98.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/15.92, allocations: 10.74 MB / 5.784 GB, free: 98.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009242/15.93, allocations: 5.971 MB / 5.79 GB, free: 98.74 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05606/15.99, allocations: 26.72 MB / 5.816 GB, free: 92.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/15.99, allocations: 119.7 kB / 5.816 GB, free: 92.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=651): time 1.025e-05/15.99, allocations: 8.062 kB / 5.816 GB, free: 92.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=651): time 0.02532/16.02, allocations: 10.96 MB / 5.827 GB, free: 92.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/16.02, allocations: 122.6 kB / 5.827 GB, free: 92.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02453/16.04, allocations: 11.06 MB / 5.838 GB, free: 91.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002578/16.04, allocations: 32.7 kB / 5.838 GB, free: 91.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00703/16.05, allocations: 5.214 MB / 5.843 GB, free: 89.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.006655/16.06, allocations: 2.212 MB / 5.845 GB, free: 88.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/16.06, allocations: 0 / 5.845 GB, free: 88.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0008113/16.06, allocations: 0.7684 MB / 5.846 GB, free: 87.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007942/16.07, allocations: 5.601 MB / 5.851 GB, free: 87.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/16.08, allocations: 9.409 MB / 5.861 GB, free: 83.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/16.1, allocations: 10.05 MB / 5.87 GB, free: 83.06 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002173/16.1, allocations: 35.41 kB / 5.87 GB, free: 83.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04563/16.15, allocations: 19.88 MB / 5.89 GB, free: 82.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.01722/16.16, allocations: 67.11 MB / 5.955 GB, free: 28.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000904/16.16, allocations: 119.5 kB / 5.956 GB, free: 28.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01365/16.18, allocations: 3.983 MB / 5.959 GB, free: 28.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/16.19, allocations: 2.338 MB / 5.962 GB, free: 28.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/16.21, allocations: 20.99 MB / 5.982 GB, free: 16.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/16.23, allocations: 1.502 MB / 5.984 GB, free: 16.19 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003507/16.23, allocations: 0.5389 MB / 5.984 GB, free: 16.19 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/16.23, allocations: 7.156 kB / 5.984 GB, free: 16.19 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04292/16.28, allocations: 18.69 MB / 6.002 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003897/16.28, allocations: 122.3 kB / 6.003 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/16.29, allocations: 3.982 MB / 6.006 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/16.3, allocations: 2.317 MB / 6.009 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/16.32, allocations: 19.17 MB / 6.027 GB, free: 20.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/16.33, allocations: 1.192 MB / 6.029 GB, free: 20.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003062/16.34, allocations: 0.5455 MB / 6.029 GB, free: 20.44 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * 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.003141/16.34, allocations: 453.7 kB / 6.03 GB, free: 20.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003891/16.34, allocations: 1.098 MB / 6.031 GB, free: 19.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02266/16.37, allocations: 12.07 MB / 6.042 GB, free: 18.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.797e-05/16.37, allocations: 67.5 kB / 6.042 GB, free: 18.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/16.37, allocations: 6.969 kB / 6.042 GB, free: 18.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01651/16.38, allocations: 10.14 MB / 6.052 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06046/16.44, allocations: 25.14 MB / 6.077 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/16.44, allocations: 12.81 kB / 6.077 GB, free: 2.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006262/16.45, allocations: 1.096 MB / 6.078 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.433/16.88, allocations: 2.476 MB / 6.08 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001554/16.89, allocations: 93.78 kB / 6.081 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/16.9, allocations: 18.11 MB / 6.098 GB, free: 124.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/16.9, allocations: 28.09 kB / 6.098 GB, free: 124.5 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02884/16.93, allocations: 21.68 MB / 6.119 GB, free: 119.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009098/16.94, allocations: 2.84 MB / 6.122 GB, free: 119.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006235/16.94, allocations: 47.62 kB / 6.122 GB, free: 119.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01364/16.96, allocations: 0.58 MB / 6.123 GB, free: 119.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001727/16.96, allocations: 391.8 kB / 6.123 GB, free: 119 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001898/16.96, allocations: 288 kB / 6.123 GB, free: 119 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.01992/16.98, allocations: 8.3 MB / 6.132 GB, free: 118.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.04542/17.03, allocations: 7.544 MB / 6.139 GB, free: 118.1 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * 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 (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005808/17.03, allocations: 2.062 MB / 6.141 GB, free: 117.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.04476/17.08, allocations: 21.26 MB / 6.162 GB, free: 116.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.893e-05/17.08, allocations: 9.406 kB / 6.162 GB, free: 116.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01068/17.09, allocations: 5.089 MB / 6.167 GB, free: 116.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0306/17.12, allocations: 5.099 MB / 6.172 GB, free: 116.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07618/17.19, allocations: 27.91 MB / 6.199 GB, free: 111.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02363/17.22, allocations: 11.19 MB / 6.21 GB, free: 110.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.523e-06/17.22, allocations: 0 / 6.21 GB, free: 110.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.954/18.17, allocations: 303.7 MB / 6.506 GB, free: 115.2 MB / 0.7761 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)