Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.961/1.961, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 177.3 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008414, allocations: 83.89 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.436e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3067, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9967/1.303, allocations: 432.5 MB / 1.634 GB, free: 15.02 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.304, allocations: 84.83 kB / 1.634 GB, free: 14.98 MB / 1.057 GB Notification: Performance of FrontEnd: time 17.06/18.36, allocations: 4.703 GB / 6.337 GB, free: 105.4 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.003335/18.36, allocations: 413.9 kB / 6.338 GB, free: 105.4 MB / 1.276 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.04954/18.41, allocations: 13.33 MB / 6.351 GB, free: 100.8 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/18.41, allocations: 9.969 kB / 6.351 GB, free: 100.8 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/18.43, allocations: 1.895 MB / 6.353 GB, free: 99.94 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04441/18.47, allocations: 18.33 MB / 6.371 GB, free: 98.24 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00078/18.47, allocations: 404.8 kB / 6.371 GB, free: 98.24 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005453/18.48, allocations: 0.7676 MB / 6.372 GB, free: 98.24 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03166/18.51, allocations: 14.87 MB / 6.386 GB, free: 98.18 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04373/18.55, allocations: 16.45 MB / 6.402 GB, free: 96.04 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008557/18.55, allocations: 46.25 kB / 6.402 GB, free: 96.03 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004854/18.56, allocations: 25.47 kB / 6.402 GB, free: 96.03 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003493/18.56, allocations: 352.4 kB / 6.403 GB, free: 96.03 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1264/18.69, allocations: 79.03 MB / 6.48 GB, free: 62.01 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/18.71, allocations: 10.74 MB / 6.49 GB, free: 61.8 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009185/18.72, allocations: 5.976 MB / 6.496 GB, free: 61.73 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05659/18.77, allocations: 26.74 MB / 6.522 GB, free: 55.13 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/18.77, allocations: 120.8 kB / 6.522 GB, free: 55.08 MB / 1.276 GB Notification: Performance of pre-optimization done (n=651): time 1.302e-05/18.77, allocations: 0 / 6.522 GB, free: 55.08 MB / 1.276 GB Notification: Performance of matching and sorting (n=651): time 0.0232/18.8, allocations: 10.97 MB / 6.533 GB, free: 54.15 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/18.8, allocations: 123.6 kB / 6.533 GB, free: 54.08 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02516/18.82, allocations: 11.06 MB / 6.544 GB, free: 53.32 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.002456/18.82, allocations: 32.14 kB / 6.544 GB, free: 53.29 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.006187/18.83, allocations: 5.215 MB / 6.549 GB, free: 50.37 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.006808/18.84, allocations: 2.205 MB / 6.551 GB, free: 48.94 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/18.84, allocations: 2.031 kB / 6.551 GB, free: 48.94 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.001168/18.84, allocations: 0.7709 MB / 6.552 GB, free: 48.61 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009145/18.85, allocations: 5.595 MB / 6.557 GB, free: 48.59 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/18.86, allocations: 9.412 MB / 6.567 GB, free: 44.03 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02392/18.89, allocations: 10.05 MB / 6.577 GB, free: 43.93 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/18.89, allocations: 34.03 kB / 6.577 GB, free: 43.93 MB / 1.276 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.0481/18.94, allocations: 19.88 MB / 6.596 GB, free: 43.02 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.02398/18.96, allocations: 67.12 MB / 6.661 GB, free: 37.79 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005708/18.96, allocations: 120.1 kB / 6.662 GB, free: 37.79 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01302/18.97, allocations: 3.975 MB / 6.665 GB, free: 37.65 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/18.98, allocations: 2.345 MB / 6.668 GB, free: 37.65 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/19.01, allocations: 20.99 MB / 6.688 GB, free: 41.73 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01841/19.02, allocations: 1.499 MB / 6.69 GB, free: 41.05 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003437/19.03, allocations: 0.5428 MB / 6.69 GB, free: 41.05 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/19.03, allocations: 3.688 kB / 6.69 GB, free: 41.05 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0391/19.07, allocations: 18.68 MB / 6.709 GB, free: 40.32 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003524/19.07, allocations: 119.8 kB / 6.709 GB, free: 40.32 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/19.08, allocations: 3.997 MB / 6.713 GB, free: 39.35 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/19.09, allocations: 2.311 MB / 6.715 GB, free: 39.11 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/19.11, allocations: 19.19 MB / 6.734 GB, free: 25.64 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01583/19.13, allocations: 1.192 MB / 6.735 GB, free: 25.18 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003726/19.13, allocations: 0.5411 MB / 6.735 GB, free: 25.09 MB / 1.354 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.003971/19.13, allocations: 445.3 kB / 6.736 GB, free: 24.71 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004782/19.14, allocations: 1.1 MB / 6.737 GB, free: 24.12 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03185/19.17, allocations: 12.08 MB / 6.749 GB, free: 20.03 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/19.17, allocations: 71.19 kB / 6.749 GB, free: 20.02 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.131e-05/19.17, allocations: 11.97 kB / 6.749 GB, free: 20.02 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0232/19.19, allocations: 10.13 MB / 6.758 GB, free: 16.48 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06354/19.26, allocations: 25.14 MB / 6.783 GB, free: 6.883 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/19.26, allocations: 11.56 kB / 6.783 GB, free: 6.883 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006243/19.26, allocations: 1.093 MB / 6.784 GB, free: 6.793 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008021/19.27, allocations: 2.45 MB / 6.787 GB, free: 6.133 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001805/19.27, allocations: 97.95 kB / 6.787 GB, free: 6.105 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5897/19.86, allocations: 18.13 MB / 6.804 GB, free: 253.1 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/19.86, allocations: 20.22 kB / 6.804 GB, free: 253.1 MB / 1.354 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03391/19.9, allocations: 21.68 MB / 6.825 GB, free: 247.9 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01116/19.91, allocations: 2.837 MB / 6.828 GB, free: 247.8 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005598/19.91, allocations: 43.92 kB / 6.828 GB, free: 247.8 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/19.93, allocations: 0.5843 MB / 6.829 GB, free: 247.7 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001797/19.93, allocations: 392.6 kB / 6.829 GB, free: 247.7 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001731/19.93, allocations: 286.9 kB / 6.83 GB, free: 247.7 MB / 1.354 GB Notification: Performance of sort global known variables: time 0.01732/19.95, allocations: 8.3 MB / 6.838 GB, free: 247.4 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.03563/19.98, allocations: 7.545 MB / 6.845 GB, free: 246.8 MB / 1.354 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.004663/19.99, allocations: 2.06 MB / 6.847 GB, free: 246.4 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.03472/20.02, allocations: 21.26 MB / 6.868 GB, free: 245.5 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 2.181e-05/20.02, allocations: 8.188 kB / 6.868 GB, free: 245.5 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.008302/20.03, allocations: 5.087 MB / 6.873 GB, free: 245.1 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02619/20.06, allocations: 5.112 MB / 6.878 GB, free: 245.1 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07079/20.13, allocations: 27.91 MB / 6.905 GB, free: 240.3 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02486/20.15, allocations: 11.18 MB / 6.916 GB, free: 239.2 MB / 1.354 GB Notification: Performance of SimCode: time 1.432e-06/20.15, allocations: 0 / 6.916 GB, free: 239.2 MB / 1.354 GB Notification: Performance of Templates: time 0.4796/20.63, allocations: 303.7 MB / 7.213 GB, free: 176.8 MB / 1.354 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches