Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) [: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.004871/0.004871, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8529/0.8529, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.72/1.72, allocations: 221.3 MB / 395 MB, free: 10.27 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.001016/0.001017, allocations: 106.5 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.563/0.5641, allocations: 88.42 MB / 0.5529 GB, free: 88.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.7866, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/2.286, allocations: 393.6 MB / 1.018 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/2.286, allocations: 90.34 kB / 1.018 GB, free: 201.7 MB / 0.6823 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 20.34/22.62, allocations: 4.706 GB / 5.724 GB, free: 81.18 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/22.62, allocations: 9.125 kB / 5.724 GB, free: 81.18 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01844/22.64, allocations: 1.894 MB / 5.726 GB, free: 80.28 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.063/22.7, allocations: 18.35 MB / 5.744 GB, free: 78.7 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00136/22.7, allocations: 401.2 kB / 5.744 GB, free: 78.7 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008944/22.71, allocations: 0.7605 MB / 5.745 GB, free: 78.7 MB / 0.8074 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05331/22.77, allocations: 14.87 MB / 5.759 GB, free: 78.64 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0845/22.85, allocations: 16.46 MB / 5.775 GB, free: 76.51 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001384/22.85, allocations: 41.88 kB / 5.775 GB, free: 76.5 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008962/22.86, allocations: 24.19 kB / 5.775 GB, free: 76.5 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007117/22.86, allocations: 357.2 kB / 5.776 GB, free: 76.5 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2471/23.11, allocations: 79.01 MB / 5.853 GB, free: 58.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03602/23.15, allocations: 10.74 MB / 5.863 GB, free: 58.32 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01722/23.16, allocations: 5.982 MB / 5.869 GB, free: 58.24 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1033/23.27, allocations: 26.72 MB / 5.895 GB, free: 51.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/23.27, allocations: 122.6 kB / 5.895 GB, free: 51.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=651): time 8.236e-05/23.27, allocations: 0 / 5.895 GB, free: 51.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=651): time 0.04842/23.32, allocations: 10.97 MB / 5.906 GB, free: 50.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/23.32, allocations: 120.2 kB / 5.906 GB, free: 50.61 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04433/23.36, allocations: 11.06 MB / 5.917 GB, free: 49.86 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00433/23.36, allocations: 33.39 kB / 5.917 GB, free: 49.82 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01529/23.38, allocations: 5.211 MB / 5.922 GB, free: 46.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.01072/23.39, allocations: 2.202 MB / 5.924 GB, free: 45.46 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003201/23.39, allocations: 0 / 5.924 GB, free: 45.46 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001693/23.4, allocations: 0.7748 MB / 5.925 GB, free: 45.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01709/23.41, allocations: 5.595 MB / 5.931 GB, free: 45.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02114/23.43, allocations: 9.414 MB / 5.94 GB, free: 40.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03987/23.47, allocations: 10.06 MB / 5.95 GB, free: 38.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005011/23.47, allocations: 33.69 kB / 5.95 GB, free: 38.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.08589/23.56, allocations: 19.88 MB / 5.969 GB, free: 32.61 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6513/24.21, allocations: 67.11 MB / 6.035 GB, free: 71.83 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006412/24.21, allocations: 119.8 kB / 6.035 GB, free: 71.83 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01349/24.23, allocations: 3.98 MB / 6.039 GB, free: 71.71 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/24.24, allocations: 2.345 MB / 6.041 GB, free: 71.71 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/24.26, allocations: 20.98 MB / 6.061 GB, free: 60.02 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01729/24.28, allocations: 1.506 MB / 6.063 GB, free: 60.02 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003148/24.28, allocations: 0.5429 MB / 6.063 GB, free: 60.02 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/24.28, allocations: 6.25 kB / 6.063 GB, free: 60.02 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03653/24.32, allocations: 18.67 MB / 6.082 GB, free: 59.73 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000391/24.32, allocations: 124.3 kB / 6.082 GB, free: 59.73 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/24.33, allocations: 3.991 MB / 6.086 GB, free: 59.61 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01458/24.34, allocations: 2.318 MB / 6.088 GB, free: 59.61 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02481/24.37, allocations: 19.18 MB / 6.107 GB, free: 65.65 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01987/24.39, allocations: 1.201 MB / 6.108 GB, free: 65.54 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003718/24.39, allocations: 0.5429 MB / 6.108 GB, free: 65.54 MB / 0.8699 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.005664/24.4, allocations: 447.9 kB / 6.109 GB, free: 65.36 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005398/24.4, allocations: 1.102 MB / 6.11 GB, free: 64.77 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03255/24.44, allocations: 12.06 MB / 6.122 GB, free: 64.28 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/24.44, allocations: 72.98 kB / 6.122 GB, free: 64.28 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.156e-05/24.44, allocations: 2.531 kB / 6.122 GB, free: 64.28 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02563/24.46, allocations: 10.14 MB / 6.132 GB, free: 63.71 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07801/24.54, allocations: 25.14 MB / 6.156 GB, free: 62.34 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.193e-05/24.54, allocations: 12.62 kB / 6.156 GB, free: 62.34 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00648/24.55, allocations: 1.099 MB / 6.157 GB, free: 62.34 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009432/24.56, allocations: 2.445 MB / 6.16 GB, free: 62.21 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002139/24.56, allocations: 96.25 kB / 6.16 GB, free: 62.21 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/24.58, allocations: 18.12 MB / 6.177 GB, free: 50.34 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-05/24.58, allocations: 22.38 kB / 6.177 GB, free: 50.34 MB / 0.8699 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04942/24.63, allocations: 21.68 MB / 6.199 GB, free: 60.56 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06426/24.69, allocations: 28.64 MB / 6.227 GB, free: 54.35 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01402/24.71, allocations: 2.836 MB / 6.229 GB, free: 53.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007605/24.72, allocations: 51.55 kB / 6.229 GB, free: 53.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01655/24.73, allocations: 0.5816 MB / 6.23 GB, free: 53.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00302/24.74, allocations: 386.4 kB / 6.23 GB, free: 53.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003585/24.74, allocations: 291.7 kB / 6.231 GB, free: 53.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.02828/24.77, allocations: 8.305 MB / 6.239 GB, free: 53.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.06781/24.83, allocations: 8.263 MB / 6.247 GB, free: 52.04 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.01019/24.85, allocations: 2.054 MB / 6.249 GB, free: 51.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.05548/24.9, allocations: 21.26 MB / 6.27 GB, free: 50.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.894e-05/24.9, allocations: 9.062 kB / 6.27 GB, free: 50.26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0135/24.91, allocations: 5.083 MB / 6.275 GB, free: 49.78 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03366/24.95, allocations: 5.117 MB / 6.28 GB, free: 49.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08839/25.04, allocations: 27.95 MB / 6.307 GB, free: 41.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03269/25.07, allocations: 11.26 MB / 6.318 GB, free: 38.44 MB / 0.8855 GB Notification: Performance of SimCode: time 2.385e-06/25.07, allocations: 0 / 6.318 GB, free: 38.44 MB / 0.8855 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)