Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.019/2.019, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00125/0.00125, allocations: 184 kB / 487 MB, free: 5.371 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.309/1.309, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009993/0.0009993, allocations: 105.6 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.214e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2612, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.271, allocations: 431.7 MB / 1.627 GB, free: 8.102 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.272, allocations: 84.55 kB / 1.627 GB, free: 8.062 MB / 1.057 GB Notification: Performance of FrontEnd: time 16.39/17.66, allocations: 4.703 GB / 6.33 GB, free: 26.24 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.003173/17.66, allocations: 411 kB / 6.331 GB, free: 25.84 MB / 1.292 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.0528/17.71, allocations: 13.33 MB / 6.344 GB, free: 12.42 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/17.71, allocations: 12.03 kB / 6.344 GB, free: 12.41 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/17.73, allocations: 1.893 MB / 6.345 GB, free: 10.49 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04825/17.78, allocations: 18.35 MB / 6.363 GB, free: 8.129 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007884/17.78, allocations: 404 kB / 6.364 GB, free: 7.734 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006574/17.78, allocations: 0.7616 MB / 6.365 GB, free: 6.973 MB / 1.307 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6352/18.42, allocations: 14.87 MB / 6.379 GB, free: 206.9 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04418/18.46, allocations: 16.46 MB / 6.395 GB, free: 204.7 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000578/18.46, allocations: 42.94 kB / 6.395 GB, free: 204.7 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003642/18.47, allocations: 24.38 kB / 6.395 GB, free: 204.7 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/18.47, allocations: 357.8 kB / 6.396 GB, free: 204.7 MB / 1.307 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1291/18.6, allocations: 79 MB / 6.473 GB, free: 171.7 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/18.61, allocations: 10.74 MB / 6.483 GB, free: 171.5 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008214/18.62, allocations: 5.976 MB / 6.489 GB, free: 171.4 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05872/18.68, allocations: 26.75 MB / 6.515 GB, free: 165.1 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.623e-05/18.68, allocations: 124 kB / 6.515 GB, free: 165 MB / 1.307 GB Notification: Performance of pre-optimization done (n=651): time 9.959e-06/18.68, allocations: 6.156 kB / 6.515 GB, free: 165 MB / 1.307 GB Notification: Performance of matching and sorting (n=651): time 0.02369/18.7, allocations: 10.96 MB / 6.526 GB, free: 164.1 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/18.7, allocations: 119.5 kB / 6.526 GB, free: 164 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02717/18.73, allocations: 11.07 MB / 6.537 GB, free: 163.4 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.003041/18.73, allocations: 33.36 kB / 6.537 GB, free: 163.3 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.008061/18.74, allocations: 5.212 MB / 6.542 GB, free: 161 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.007037/18.75, allocations: 2.209 MB / 6.544 GB, free: 159.5 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/18.75, allocations: 0 / 6.544 GB, free: 159.5 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.00141/18.75, allocations: 0.7674 MB / 6.545 GB, free: 159.2 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009965/18.76, allocations: 5.599 MB / 6.55 GB, free: 159.2 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/18.78, allocations: 9.416 MB / 6.56 GB, free: 154.6 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02434/18.8, allocations: 10.05 MB / 6.569 GB, free: 154.5 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001941/18.8, allocations: 36.38 kB / 6.569 GB, free: 154.5 MB / 1.307 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05143/18.85, allocations: 19.88 MB / 6.589 GB, free: 153.6 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.01911/18.87, allocations: 67.11 MB / 6.654 GB, free: 116.4 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005628/18.87, allocations: 119.8 kB / 6.654 GB, free: 116.4 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01335/18.88, allocations: 3.982 MB / 6.658 GB, free: 116.3 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/18.9, allocations: 2.351 MB / 6.661 GB, free: 116.3 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02281/18.92, allocations: 20.99 MB / 6.681 GB, free: 120.3 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/18.94, allocations: 1.506 MB / 6.683 GB, free: 119.6 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003324/18.94, allocations: 0.5409 MB / 6.683 GB, free: 119.6 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/18.94, allocations: 6.094 kB / 6.683 GB, free: 119.6 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05257/18.99, allocations: 18.68 MB / 6.701 GB, free: 119.3 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003669/18.99, allocations: 123.4 kB / 6.701 GB, free: 119.3 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/19.01, allocations: 3.989 MB / 6.705 GB, free: 119.2 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/19.02, allocations: 2.314 MB / 6.708 GB, free: 119.2 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/19.04, allocations: 19.18 MB / 6.726 GB, free: 109 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01593/19.05, allocations: 1.19 MB / 6.728 GB, free: 108.6 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003636/19.06, allocations: 0.5407 MB / 6.728 GB, free: 108.6 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.004089/19.06, allocations: 461.3 kB / 6.729 GB, free: 108.4 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00403/19.06, allocations: 1.097 MB / 6.73 GB, free: 107.8 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02467/19.09, allocations: 12.07 MB / 6.741 GB, free: 107.3 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/19.09, allocations: 65.39 kB / 6.741 GB, free: 107.3 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/19.09, allocations: 5.969 kB / 6.741 GB, free: 107.3 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01766/19.11, allocations: 10.13 MB / 6.751 GB, free: 106.7 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06256/19.17, allocations: 25.15 MB / 6.776 GB, free: 105.4 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/19.17, allocations: 12.16 kB / 6.776 GB, free: 105.4 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005903/19.18, allocations: 1.096 MB / 6.777 GB, free: 105.4 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007471/19.18, allocations: 2.445 MB / 6.779 GB, free: 105.2 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001561/19.18, allocations: 95.41 kB / 6.779 GB, free: 105.2 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6379/19.82, allocations: 18.13 MB / 6.797 GB, free: 236 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/19.82, allocations: 22.69 kB / 6.797 GB, free: 236 MB / 1.354 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03577/19.86, allocations: 21.68 MB / 6.818 GB, free: 230.9 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0116/19.87, allocations: 2.841 MB / 6.821 GB, free: 230.7 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005954/19.88, allocations: 56.2 kB / 6.821 GB, free: 230.7 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01285/19.89, allocations: 0.5758 MB / 6.822 GB, free: 230.7 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001951/19.89, allocations: 393.8 kB / 6.822 GB, free: 230.6 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001736/19.89, allocations: 288.9 kB / 6.822 GB, free: 230.6 MB / 1.354 GB Notification: Performance of sort global known variables: time 0.01919/19.91, allocations: 8.294 MB / 6.831 GB, free: 230.3 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.03931/19.95, allocations: 7.542 MB / 6.838 GB, free: 229.7 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.005214/19.96, allocations: 2.053 MB / 6.84 GB, free: 229.3 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.04343/20, allocations: 21.26 MB / 6.861 GB, free: 228.4 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 2.762e-05/20, allocations: 9.438 kB / 6.861 GB, free: 228.4 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.009492/20.01, allocations: 5.086 MB / 6.866 GB, free: 228.1 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02988/20.04, allocations: 5.104 MB / 6.871 GB, free: 228 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0716/20.11, allocations: 27.91 MB / 6.898 GB, free: 223.2 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02486/20.14, allocations: 11.18 MB / 6.909 GB, free: 222.1 MB / 1.354 GB Notification: Performance of SimCode: time 9.52e-07/20.14, allocations: 3.828 kB / 6.909 GB, free: 222.1 MB / 1.354 GB Notification: Performance of Templates: time 0.4693/20.61, allocations: 303.7 MB / 7.205 GB, free: 172.7 MB / 1.354 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.csv","../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches