Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7773/0.7773, allocations: 141.8 MB / 149.1 MB, free: 4.508 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 176.5 kB / 181.9 MB, free: 172 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.3 MB / 436 MB, free: 9.305 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 101.6 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 277 kB / 0.5884 GB, free: 12.33 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.905e-06, allocations: 0 / 0.6759 GB, free: 2.707 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4953, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7799/1.275, allocations: 391.1 MB / 1.139 GB, free: 7.691 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.276, allocations: 90.27 kB / 1.139 GB, free: 7.648 MB / 0.6669 GB Notification: Performance of FrontEnd: time 19/20.27, allocations: 4.685 GB / 5.823 GB, free: 66.45 MB / 0.8232 GB Notification: Performance of Transformations before backend: time 0.003984/20.28, allocations: 399.1 kB / 5.824 GB, free: 66.4 MB / 0.8232 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.06146/20.34, allocations: 13.29 MB / 5.837 GB, free: 61.56 MB / 0.8232 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/20.34, allocations: 9.969 kB / 5.837 GB, free: 61.56 MB / 0.8232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/20.36, allocations: 1.879 MB / 5.838 GB, free: 60.67 MB / 0.8232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05783/20.41, allocations: 17.93 MB / 5.856 GB, free: 58.99 MB / 0.8232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/20.41, allocations: 403.7 kB / 5.856 GB, free: 58.99 MB / 0.8232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006739/20.42, allocations: 0.7624 MB / 5.857 GB, free: 58.98 MB / 0.8232 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04277/20.46, allocations: 14.87 MB / 5.872 GB, free: 58.93 MB / 0.8232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06246/20.53, allocations: 16.46 MB / 5.888 GB, free: 56.78 MB / 0.8232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001137/20.53, allocations: 43.5 kB / 5.888 GB, free: 56.77 MB / 0.8232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006274/20.53, allocations: 24.12 kB / 5.888 GB, free: 56.77 MB / 0.8232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004866/20.53, allocations: 354.6 kB / 5.888 GB, free: 56.77 MB / 0.8232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.166/20.7, allocations: 78.99 MB / 5.965 GB, free: 22.62 MB / 0.8232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02578/20.73, allocations: 10.74 MB / 5.976 GB, free: 22.36 MB / 0.8232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01307/20.74, allocations: 5.977 MB / 5.982 GB, free: 21.84 MB / 0.8232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.073/20.81, allocations: 26.76 MB / 6.008 GB, free: 7.305 MB / 0.8232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/20.81, allocations: 123 kB / 6.008 GB, free: 7.199 MB / 0.8232 GB Notification: Performance of pre-optimization done (n=651): time 3.214e-05/20.81, allocations: 3.422 kB / 6.008 GB, free: 7.199 MB / 0.8232 GB Notification: Performance of matching and sorting (n=651): time 0.03538/20.85, allocations: 10.95 MB / 6.019 GB, free: 3.289 MB / 0.8232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/20.85, allocations: 117.4 kB / 6.019 GB, free: 3.219 MB / 0.8232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04402/20.89, allocations: 11.65 MB / 6.03 GB, free: 12.78 MB / 0.8388 GB Notification: Performance of collectPreVariables (initialization): time 0.002921/20.9, allocations: 33.7 kB / 6.03 GB, free: 12.74 MB / 0.8388 GB Notification: Performance of collectInitialEqns (initialization): time 0.009774/20.91, allocations: 5.196 MB / 6.035 GB, free: 8.223 MB / 0.8388 GB Notification: Performance of collectInitialBindings (initialization): time 0.007755/20.91, allocations: 2.207 MB / 6.037 GB, free: 6.195 MB / 0.8388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002879/20.92, allocations: 3.938 kB / 6.037 GB, free: 6.191 MB / 0.8388 GB Notification: Performance of setup shared object (initialization): time 0.001776/20.92, allocations: 0.7763 MB / 6.038 GB, free: 5.543 MB / 0.8388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01266/20.93, allocations: 5.595 MB / 6.044 GB, free: 0.6797 MB / 0.8388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0187/20.95, allocations: 9.406 MB / 6.053 GB, free: 6.441 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6006/21.55, allocations: 10.06 MB / 6.063 GB, free: 129.7 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001792/21.55, allocations: 33.94 kB / 6.063 GB, free: 129.7 MB / 0.8544 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06026/21.61, allocations: 19.87 MB / 6.082 GB, free: 129.4 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.01391/21.62, allocations: 66.65 MB / 6.147 GB, free: 60.75 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005078/21.62, allocations: 119.3 kB / 6.147 GB, free: 60.75 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/21.64, allocations: 3.985 MB / 6.151 GB, free: 60.62 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/21.65, allocations: 2.334 MB / 6.153 GB, free: 60.62 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02449/21.68, allocations: 20.98 MB / 6.174 GB, free: 64.92 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01906/21.69, allocations: 1.504 MB / 6.175 GB, free: 64.66 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004602/21.7, allocations: 0.5407 MB / 6.176 GB, free: 64.66 MB / 0.87 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/21.7, allocations: 4.969 kB / 6.176 GB, free: 64.66 MB / 0.87 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05887/21.76, allocations: 18.69 MB / 6.194 GB, free: 64.34 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007193/21.76, allocations: 119.7 kB / 6.194 GB, free: 64.34 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01449/21.77, allocations: 3.99 MB / 6.198 GB, free: 64.21 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/21.78, allocations: 2.323 MB / 6.2 GB, free: 64.21 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/21.81, allocations: 19.18 MB / 6.219 GB, free: 54.01 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/21.83, allocations: 1.191 MB / 6.22 GB, free: 53.77 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00455/21.83, allocations: 0.5382 MB / 6.221 GB, free: 53.77 MB / 0.87 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.006664/21.84, allocations: 466.3 kB / 6.221 GB, free: 53.49 MB / 0.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006844/21.85, allocations: 1.084 MB / 6.222 GB, free: 52.91 MB / 0.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0441/21.89, allocations: 12.07 MB / 6.234 GB, free: 52.41 MB / 0.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001557/21.89, allocations: 66.12 kB / 6.234 GB, free: 52.41 MB / 0.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-05/21.89, allocations: 5.281 kB / 6.234 GB, free: 52.41 MB / 0.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02906/21.92, allocations: 10.14 MB / 6.244 GB, free: 51.84 MB / 0.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08803/22.01, allocations: 25.11 MB / 6.269 GB, free: 50.5 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/22.01, allocations: 10.12 kB / 6.269 GB, free: 50.5 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006684/22.02, allocations: 1.093 MB / 6.27 GB, free: 50.45 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008281/22.02, allocations: 2.447 MB / 6.272 GB, free: 50.31 MB / 0.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0022/22.03, allocations: 99.95 kB / 6.272 GB, free: 50.31 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02196/22.05, allocations: 18.13 MB / 6.29 GB, free: 54.38 MB / 0.8857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-05/22.05, allocations: 20.66 kB / 6.29 GB, free: 54.38 MB / 0.8857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.048/22.1, allocations: 21.62 MB / 6.311 GB, free: 48.8 MB / 0.8857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01369/22.11, allocations: 2.829 MB / 6.314 GB, free: 48.12 MB / 0.8857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007203/22.12, allocations: 49.69 kB / 6.314 GB, free: 48.12 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01471/22.13, allocations: 0.5829 MB / 6.314 GB, free: 48.09 MB / 0.8857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002541/22.13, allocations: 388.3 kB / 6.315 GB, free: 48.07 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003045/22.14, allocations: 289.7 kB / 6.315 GB, free: 48.07 MB / 0.8857 GB Notification: Performance of sort global known variables: time 0.02661/22.16, allocations: 8.199 MB / 6.323 GB, free: 47.79 MB / 0.8857 GB Notification: Performance of remove unused functions: time 0.0518/22.22, allocations: 7.541 MB / 6.33 GB, free: 46.85 MB / 0.8857 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.007408/22.22, allocations: 2.064 MB / 6.332 GB, free: 46.29 MB / 0.8857 GB Notification: Performance of simCode: created initialization part: time 0.04775/22.27, allocations: 21.25 MB / 6.353 GB, free: 44.77 MB / 0.8857 GB Notification: Performance of simCode: created event and clocks part: time 3.634e-05/22.27, allocations: 8.125 kB / 6.353 GB, free: 44.77 MB / 0.8857 GB Notification: Performance of simCode: created simulation system equations: time 0.01153/22.28, allocations: 5.088 MB / 6.358 GB, free: 44.29 MB / 0.8857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03578/22.32, allocations: 5.121 MB / 6.363 GB, free: 44.23 MB / 0.8857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09331/22.41, allocations: 27.75 MB / 6.39 GB, free: 38.48 MB / 0.8857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02907/22.44, allocations: 11.13 MB / 6.401 GB, free: 33.61 MB / 0.8857 GB Notification: Performance of SimCode: time 1.362e-06/22.44, allocations: 0 / 6.401 GB, free: 33.61 MB / 0.8857 GB Notification: Performance of Templates: time 1.19/23.63, allocations: 303.6 MB / 6.698 GB, free: 114.5 MB / 0.8857 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)