Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002087/0.002087, allocations: 179.7 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6068/0.6068, allocations: 133.5 MB / 141.4 MB, free: 15.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.0009309, allocations: 105.3 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.382e-06, allocations: 2.531 kB / 0.5528 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.738/0.8482, allocations: 393.6 MB / 1.018 GB, free: 202 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.8484, allocations: 88.73 kB / 1.018 GB, free: 202 MB / 0.6823 GB Notification: Performance of FrontEnd: time 13.21/14.06, allocations: 4.693 GB / 5.71 GB, free: 44.48 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 0.00223/14.06, allocations: 412.3 kB / 5.711 GB, free: 44.48 MB / 0.8074 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.04395/14.11, allocations: 13.34 MB / 5.724 GB, free: 41.09 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/14.11, allocations: 13.28 kB / 5.724 GB, free: 41.09 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/14.12, allocations: 1.898 MB / 5.726 GB, free: 40.19 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04544/14.16, allocations: 18.33 MB / 5.744 GB, free: 38.49 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/14.16, allocations: 403.2 kB / 5.744 GB, free: 38.49 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005888/14.17, allocations: 0.764 MB / 5.745 GB, free: 38.48 MB / 0.8074 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0323/14.2, allocations: 14.87 MB / 5.759 GB, free: 38.43 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0423/14.24, allocations: 16.46 MB / 5.775 GB, free: 36.3 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006223/14.24, allocations: 44.33 kB / 5.775 GB, free: 36.29 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00353/14.25, allocations: 25.06 kB / 5.775 GB, free: 36.29 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002747/14.25, allocations: 354 kB / 5.776 GB, free: 36.29 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/14.35, allocations: 79.02 MB / 5.853 GB, free: 18.26 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/14.37, allocations: 10.74 MB / 5.863 GB, free: 18.08 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00672/14.37, allocations: 5.981 MB / 5.869 GB, free: 18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04311/14.41, allocations: 26.72 MB / 5.895 GB, free: 27.4 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.635e-05/14.42, allocations: 125 kB / 5.895 GB, free: 27.35 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=651): time 8.846e-06/14.42, allocations: 2.438 kB / 5.895 GB, free: 27.35 MB / 0.8387 GB Notification: Performance of matching and sorting (n=651): time 0.01936/14.43, allocations: 10.96 MB / 5.906 GB, free: 26.42 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/14.43, allocations: 119.4 kB / 5.906 GB, free: 26.35 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01687/14.45, allocations: 11.07 MB / 5.917 GB, free: 25.59 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.00213/14.45, allocations: 32.42 kB / 5.917 GB, free: 25.56 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004987/14.46, allocations: 5.21 MB / 5.922 GB, free: 22.64 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.005731/14.46, allocations: 2.206 MB / 5.924 GB, free: 21.2 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/14.47, allocations: 4.594 kB / 5.924 GB, free: 21.2 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0007363/14.47, allocations: 0.7679 MB / 5.925 GB, free: 20.87 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007225/14.47, allocations: 5.604 MB / 5.931 GB, free: 20.85 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009413/14.48, allocations: 9.406 MB / 5.94 GB, free: 16.29 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02165/14.5, allocations: 10.05 MB / 5.95 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002624/14.5, allocations: 32.31 kB / 5.95 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05089/14.56, allocations: 19.89 MB / 5.969 GB, free: 7.426 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.3869/14.94, allocations: 67.1 MB / 6.034 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004941/14.94, allocations: 121.8 kB / 6.035 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/14.96, allocations: 3.98 MB / 6.038 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/14.97, allocations: 2.337 MB / 6.041 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/14.99, allocations: 21 MB / 6.061 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/15, allocations: 1.501 MB / 6.063 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002929/15, allocations: 0.5403 MB / 6.063 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/15, allocations: 5.938 kB / 6.063 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04097/15.04, allocations: 18.68 MB / 6.082 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004544/15.04, allocations: 124.2 kB / 6.082 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/15.06, allocations: 3.993 MB / 6.086 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009428/15.07, allocations: 2.315 MB / 6.088 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/15.08, allocations: 19.18 MB / 6.107 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/15.1, allocations: 1.19 MB / 6.108 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002611/15.1, allocations: 0.5389 MB / 6.108 GB, free: 117.3 MB / 0.8855 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.003677/15.1, allocations: 442.5 kB / 6.109 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003809/15.11, allocations: 1.113 MB / 6.11 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/15.13, allocations: 12.06 MB / 6.122 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/15.13, allocations: 67.23 kB / 6.122 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.861e-05/15.13, allocations: 6 kB / 6.122 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01866/15.15, allocations: 10.14 MB / 6.131 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05358/15.2, allocations: 25.14 MB / 6.156 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/15.2, allocations: 10.28 kB / 6.156 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005349/15.21, allocations: 1.098 MB / 6.157 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007055/15.21, allocations: 2.458 MB / 6.16 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/15.21, allocations: 96.3 kB / 6.16 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/15.23, allocations: 18.12 MB / 6.177 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/15.23, allocations: 21.31 kB / 6.177 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03063/15.26, allocations: 21.69 MB / 6.199 GB, free: 96.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009114/15.27, allocations: 2.831 MB / 6.201 GB, free: 96.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004377/15.27, allocations: 49.8 kB / 6.201 GB, free: 96.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01009/15.28, allocations: 0.5805 MB / 6.202 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/15.28, allocations: 396.1 kB / 6.202 GB, free: 96.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001361/15.28, allocations: 289 kB / 6.203 GB, free: 96.08 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.01537/15.3, allocations: 8.302 MB / 6.211 GB, free: 95.76 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03456/15.33, allocations: 7.529 MB / 6.218 GB, free: 94.93 MB / 0.8855 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.004678/15.34, allocations: 2.058 MB / 6.22 GB, free: 94.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03423/15.37, allocations: 21.26 MB / 6.241 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-05/15.37, allocations: 9.594 kB / 6.241 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008231/15.38, allocations: 5.096 MB / 6.246 GB, free: 92.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02598/15.41, allocations: 5.112 MB / 6.251 GB, free: 92.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05702/15.46, allocations: 27.9 MB / 6.278 GB, free: 87.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01296/15.48, allocations: 11.18 MB / 6.289 GB, free: 86.48 MB / 0.8855 GB Notification: Performance of SimCode: time 1.243e-06/15.48, allocations: 0 / 6.289 GB, free: 86.48 MB / 0.8855 GB Notification: Performance of Templates: time 0.7614/16.24, allocations: 303.8 MB / 6.586 GB, free: 137.4 MB / 0.8855 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)