Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") [: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.8197/0.8197, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001272/0.001272, allocations: 189.2 kB / 164.4 MB, free: 6.879 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.834/1.834, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.001058/0.001058, allocations: 85.59 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.636e-06/8.656e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1787, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.279, allocations: 387.5 MB / 0.9994 GB, free: 95.29 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.28, allocations: 92.53 kB / 0.9995 GB, free: 95.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.439/4.719, allocations: 0.9343 GB / 1.934 GB, free: 95.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005215/4.719, allocations: 74.5 kB / 1.934 GB, free: 95.59 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009396/4.729, allocations: 2.648 MB / 1.936 GB, free: 94.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/4.729, allocations: 6.5 kB / 1.936 GB, free: 94.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/4.732, allocations: 358.3 kB / 1.937 GB, free: 94.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009026/4.741, allocations: 3.389 MB / 1.94 GB, free: 93.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/4.741, allocations: 73.41 kB / 1.94 GB, free: 93.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008519/4.742, allocations: 140.8 kB / 1.94 GB, free: 93.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005139/4.747, allocations: 2.238 MB / 1.942 GB, free: 93.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/4.753, allocations: 2.641 MB / 1.945 GB, free: 93.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.59e-05/4.753, allocations: 5.5 kB / 1.945 GB, free: 93.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003418/4.753, allocations: 7.469 kB / 1.945 GB, free: 93.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.314e-05/4.753, allocations: 65 kB / 1.945 GB, free: 93.55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/4.772, allocations: 13.31 MB / 1.958 GB, free: 86.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/4.774, allocations: 1.464 MB / 1.96 GB, free: 86.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/4.776, allocations: 1.088 MB / 1.961 GB, free: 86.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/4.776, allocations: 0.5496 MB / 1.961 GB, free: 85.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/4.776, allocations: 49.22 kB / 1.961 GB, free: 85.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=121): time 3.306e-06/4.776, allocations: 3.688 kB / 1.961 GB, free: 85.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=121): time 0.003898/4.78, allocations: 1.703 MB / 1.963 GB, free: 85.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/4.78, allocations: 147.2 kB / 1.963 GB, free: 85.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/4.784, allocations: 1.718 MB / 1.965 GB, free: 85.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000216/4.784, allocations: 32.11 kB / 1.965 GB, free: 85.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/4.785, allocations: 0.9418 MB / 1.966 GB, free: 84.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000603/4.786, allocations: 414.1 kB / 1.966 GB, free: 84.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/4.786, allocations: 0 / 1.966 GB, free: 84.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001628/4.786, allocations: 373.4 kB / 1.966 GB, free: 84.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009729/4.787, allocations: 0.6763 MB / 1.967 GB, free: 84.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/4.788, allocations: 1.213 MB / 1.968 GB, free: 83.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/4.79, allocations: 0.9431 MB / 1.969 GB, free: 83.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/4.79, allocations: 3.844 kB / 1.969 GB, free: 83.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004301/4.794, allocations: 2.223 MB / 1.971 GB, free: 83.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/4.796, allocations: 6.122 MB / 1.977 GB, free: 76.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/4.796, allocations: 14.34 kB / 1.977 GB, free: 76.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/4.799, allocations: 0.4938 MB / 1.978 GB, free: 76.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/4.8, allocations: 354.7 kB / 1.978 GB, free: 76.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004705/4.805, allocations: 3.156 MB / 1.981 GB, free: 75.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/4.808, allocations: 278.4 kB / 1.981 GB, free: 75.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/4.809, allocations: 84.08 kB / 1.982 GB, free: 75.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/4.809, allocations: 7.031 kB / 1.982 GB, free: 75.03 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003888/4.812, allocations: 1.931 MB / 1.983 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-05/4.813, allocations: 14.91 kB / 1.983 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/4.813, allocations: 207.4 kB / 1.984 GB, free: 74.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/4.815, allocations: 381.2 kB / 1.984 GB, free: 74.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/4.818, allocations: 3.69 MB / 1.988 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/4.821, allocations: 231.3 kB / 1.988 GB, free: 72.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/4.821, allocations: 85.45 kB / 1.988 GB, free: 72.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005493/4.821, allocations: 156 kB / 1.988 GB, free: 72.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007807/4.822, allocations: 192.9 kB / 1.988 GB, free: 72.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/4.826, allocations: 1.86 MB / 1.99 GB, free: 71.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/4.826, allocations: 21.64 kB / 1.99 GB, free: 71.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/4.826, allocations: 0 / 1.99 GB, free: 71.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002301/4.828, allocations: 1.497 MB / 1.992 GB, free: 71.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008856/4.837, allocations: 4.059 MB / 1.995 GB, free: 71.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/4.837, allocations: 3.938 kB / 1.995 GB, free: 71.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/4.838, allocations: 196.4 kB / 1.996 GB, free: 71.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/4.84, allocations: 425.4 kB / 1.996 GB, free: 71.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/4.841, allocations: 24.17 kB / 1.996 GB, free: 71.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/4.845, allocations: 3.101 MB / 1.999 GB, free: 69.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/4.845, allocations: 0 / 1.999 GB, free: 69.46 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004909/4.85, allocations: 2.789 MB / 2.002 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/4.852, allocations: 0.5063 MB / 2.002 GB, free: 67.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/4.853, allocations: 8.469 kB / 2.002 GB, free: 67.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/4.856, allocations: 164.1 kB / 2.003 GB, free: 67.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/4.856, allocations: 86.88 kB / 2.003 GB, free: 67.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/4.856, allocations: 52.41 kB / 2.003 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.003583/4.86, allocations: 1.304 MB / 2.004 GB, free: 67.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00809/4.868, allocations: 1.411 MB / 2.005 GB, free: 67.12 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/4.87, allocations: 0.5571 MB / 2.006 GB, free: 66.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007867/4.878, allocations: 3.199 MB / 2.009 GB, free: 65.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/4.878, allocations: 1.25 kB / 2.009 GB, free: 65.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/4.88, allocations: 1.012 MB / 2.01 GB, free: 65.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006803/4.887, allocations: 1.013 MB / 2.011 GB, free: 65.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/4.9, allocations: 4.277 MB / 2.015 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004091/4.905, allocations: 2.352 MB / 2.017 GB, free: 62.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.322e-06/4.905, allocations: 0 / 2.017 GB, free: 62.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.1044/5.009, allocations: 51.35 MB / 2.068 GB, free: 29.33 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)