Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7313/0.7313, allocations: 127.4 MB / 134.6 MB, free: 4.059 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 189.2 kB / 164.4 MB, free: 6.863 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.1 MB / 399.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 95.25 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.253e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.27, allocations: 382 MB / 0.9939 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.27, allocations: 96.12 kB / 0.994 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 16.99/18.26, allocations: 4.423 GB / 5.417 GB, free: 17.13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.003762/18.27, allocations: 398.3 kB / 5.417 GB, free: 16.75 MB / 0.7761 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.056/18.32, allocations: 13.23 MB / 5.43 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/18.32, allocations: 8.031 kB / 5.43 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/18.34, allocations: 1.866 MB / 5.432 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6092/18.95, allocations: 19.48 MB / 5.451 GB, free: 87.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/18.95, allocations: 404.5 kB / 5.451 GB, free: 87.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008122/18.96, allocations: 0.7633 MB / 5.452 GB, free: 87.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04463/19, allocations: 14.75 MB / 5.466 GB, free: 87.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05879/19.06, allocations: 16.24 MB / 5.482 GB, free: 85.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007553/19.06, allocations: 54.28 kB / 5.482 GB, free: 85.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004807/19.07, allocations: 23.5 kB / 5.482 GB, free: 85.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000342/19.07, allocations: 353.3 kB / 5.483 GB, free: 85.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1611/19.23, allocations: 78.8 MB / 5.56 GB, free: 66.36 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02268/19.25, allocations: 10.54 MB / 5.57 GB, free: 66.23 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01071/19.26, allocations: 5.852 MB / 5.576 GB, free: 66.16 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06764/19.33, allocations: 25.88 MB / 5.601 GB, free: 59.96 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/19.33, allocations: 117.5 kB / 5.601 GB, free: 59.91 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=644): time 1.198e-05/19.33, allocations: 0 / 5.601 GB, free: 59.91 MB / 0.7917 GB Notification: Performance of matching and sorting (n=644): time 0.03285/19.36, allocations: 11.01 MB / 5.612 GB, free: 58.98 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/19.36, allocations: 114.8 kB / 5.612 GB, free: 58.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02814/19.39, allocations: 10.76 MB / 5.622 GB, free: 58.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.002798/19.39, allocations: 30.77 kB / 5.622 GB, free: 58.17 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.007841/19.4, allocations: 5.211 MB / 5.628 GB, free: 55.23 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.006419/19.41, allocations: 2.181 MB / 5.63 GB, free: 53.81 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002149/19.41, allocations: 0 / 5.63 GB, free: 53.81 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.001212/19.41, allocations: 0.779 MB / 5.63 GB, free: 53.48 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01228/19.42, allocations: 5.503 MB / 5.636 GB, free: 53.46 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0166/19.44, allocations: 9.411 MB / 5.645 GB, free: 48.76 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02949/19.47, allocations: 9.972 MB / 5.655 GB, free: 47.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003856/19.47, allocations: 33.94 kB / 5.655 GB, free: 47.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.06383/19.53, allocations: 19.73 MB / 5.674 GB, free: 41.91 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.6696/20.2, allocations: 68.78 MB / 5.741 GB, free: 66.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008721/20.2, allocations: 124.6 kB / 5.741 GB, free: 66.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01395/20.22, allocations: 3.963 MB / 5.745 GB, free: 66.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/20.23, allocations: 2.607 MB / 5.748 GB, free: 66.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02413/20.26, allocations: 21.26 MB / 5.769 GB, free: 54.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02058/20.28, allocations: 1.482 MB / 5.77 GB, free: 54.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004697/20.28, allocations: 0.5418 MB / 5.771 GB, free: 54.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/20.28, allocations: 2.688 kB / 5.771 GB, free: 54.66 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05529/20.34, allocations: 18.48 MB / 5.789 GB, free: 54.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008592/20.34, allocations: 124.5 kB / 5.789 GB, free: 54.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/20.35, allocations: 3.979 MB / 5.793 GB, free: 54.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/20.37, allocations: 2.317 MB / 5.795 GB, free: 54.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/20.39, allocations: 19.17 MB / 5.814 GB, free: 60.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02074/20.42, allocations: 1.155 MB / 5.815 GB, free: 60.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004617/20.42, allocations: 0.5405 MB / 5.815 GB, free: 60.29 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1231): * Single equations (assignments): 1213 * 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.00753/20.43, allocations: 460.3 kB / 5.816 GB, free: 60.19 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007321/20.44, allocations: 1.072 MB / 5.817 GB, free: 59.67 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03932/20.47, allocations: 11.99 MB / 5.828 GB, free: 59.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001115/20.47, allocations: 60.62 kB / 5.828 GB, free: 59.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-05/20.47, allocations: 4.969 kB / 5.828 GB, free: 59.18 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02733/20.5, allocations: 10.1 MB / 5.838 GB, free: 58.61 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08853/20.59, allocations: 24.49 MB / 5.862 GB, free: 57.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.789e-05/20.59, allocations: 9.312 kB / 5.862 GB, free: 57.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009994/20.6, allocations: 1.381 MB / 5.864 GB, free: 57.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009736/20.61, allocations: 2.431 MB / 5.866 GB, free: 57.23 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003254/20.61, allocations: 91.27 kB / 5.866 GB, free: 57.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03306/20.65, allocations: 21.04 MB / 5.887 GB, free: 59.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.84e-05/20.65, allocations: 17.88 kB / 5.887 GB, free: 59.36 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05117/20.7, allocations: 20.94 MB / 5.907 GB, free: 54.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01204/20.71, allocations: 2.721 MB / 5.91 GB, free: 53.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006242/20.72, allocations: 48.45 kB / 5.91 GB, free: 53.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01408/20.73, allocations: 0.5645 MB / 5.91 GB, free: 53.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/20.73, allocations: 380.9 kB / 5.911 GB, free: 53.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001287/20.73, allocations: 251.2 kB / 5.911 GB, free: 53.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.02506/20.76, allocations: 8.064 MB / 5.919 GB, free: 53.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.05215/20.81, allocations: 7.362 MB / 5.926 GB, free: 51.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (552): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007788/20.82, allocations: 2.077 MB / 5.928 GB, free: 51.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.05835/20.88, allocations: 21.33 MB / 5.949 GB, free: 49.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.318e-05/20.88, allocations: 8 kB / 5.949 GB, free: 49.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01684/20.89, allocations: 5.439 MB / 5.954 GB, free: 49.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03573/20.93, allocations: 5.056 MB / 5.959 GB, free: 49.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1083/21.04, allocations: 27.52 MB / 5.986 GB, free: 44.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04859/21.09, allocations: 11.08 MB / 5.997 GB, free: 43.05 MB / 0.8386 GB Notification: Performance of SimCode: time 3.687e-06/21.09, allocations: 0 / 5.997 GB, free: 43.05 MB / 0.8386 GB Notification: Performance of Templates: time 1.359/22.45, allocations: 299.2 MB / 6.289 GB, free: 110.6 MB / 0.8386 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)