Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 192.4 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4732/0.4732, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 94.11 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.161e-06, allocations: 0 / 493.9 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3254, allocations: 72.3 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5388/0.8642, allocations: 377.1 MB / 0.9211 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.8645, allocations: 84.8 kB / 0.9212 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.309/4.174, allocations: 0.9994 GB / 1.921 GB, free: 86.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004041/4.174, allocations: 82.75 kB / 1.921 GB, free: 86.5 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.007003/4.181, allocations: 2.677 MB / 1.923 GB, free: 85.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/4.181, allocations: 8.562 kB / 1.923 GB, free: 85.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/4.183, allocations: 361.6 kB / 1.924 GB, free: 85.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006945/4.19, allocations: 3.15 MB / 1.927 GB, free: 84.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/4.19, allocations: 80.81 kB / 1.927 GB, free: 84.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006542/4.191, allocations: 135 kB / 1.927 GB, free: 84.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004442/4.195, allocations: 2.261 MB / 1.929 GB, free: 84.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/4.2, allocations: 2.71 MB / 1.932 GB, free: 84.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/4.2, allocations: 5.688 kB / 1.932 GB, free: 84.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/4.2, allocations: 3.906 kB / 1.932 GB, free: 84.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/4.201, allocations: 68.73 kB / 1.932 GB, free: 84.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/4.216, allocations: 12.97 MB / 1.945 GB, free: 78.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/4.217, allocations: 1.509 MB / 1.946 GB, free: 78.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/4.219, allocations: 1.117 MB / 1.947 GB, free: 78.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/4.219, allocations: 0.7114 MB / 1.948 GB, free: 77.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/4.219, allocations: 53.12 kB / 1.948 GB, free: 77.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=126): time 4.118e-06/4.219, allocations: 2.719 kB / 1.948 GB, free: 77.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126): time 0.003282/4.223, allocations: 1.683 MB / 1.949 GB, free: 77.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/4.223, allocations: 140.7 kB / 1.95 GB, free: 77.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/4.225, allocations: 1.797 MB / 1.951 GB, free: 76.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002447/4.226, allocations: 33.33 kB / 1.951 GB, free: 76.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/4.227, allocations: 0.9446 MB / 1.952 GB, free: 76.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000577/4.227, allocations: 423.5 kB / 1.953 GB, free: 75.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/4.227, allocations: 0 / 1.953 GB, free: 75.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001022/4.227, allocations: 377.6 kB / 1.953 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/4.228, allocations: 0.6831 MB / 1.954 GB, free: 75.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/4.23, allocations: 1.198 MB / 1.955 GB, free: 75.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/4.231, allocations: 0.9483 MB / 1.956 GB, free: 75.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/4.231, allocations: 7.969 kB / 1.956 GB, free: 75.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003905/4.235, allocations: 2.222 MB / 1.958 GB, free: 74.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008968/4.236, allocations: 5.692 MB / 1.964 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/4.236, allocations: 15.34 kB / 1.964 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/4.238, allocations: 438.9 kB / 1.964 GB, free: 68.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/4.239, allocations: 365.4 kB / 1.964 GB, free: 68.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/4.243, allocations: 2.948 MB / 1.967 GB, free: 67.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/4.245, allocations: 269.2 kB / 1.967 GB, free: 66.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/4.245, allocations: 84.34 kB / 1.968 GB, free: 66.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/4.245, allocations: 9.891 kB / 1.968 GB, free: 66.97 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002999/4.248, allocations: 1.961 MB / 1.97 GB, free: 66.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/4.248, allocations: 15.44 kB / 1.97 GB, free: 66.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/4.249, allocations: 212 kB / 1.97 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/4.25, allocations: 372.4 kB / 1.97 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/4.253, allocations: 3.69 MB / 1.974 GB, free: 64.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/4.255, allocations: 238.3 kB / 1.974 GB, free: 64.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/4.255, allocations: 86.41 kB / 1.974 GB, free: 64.27 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (182): * Single equations (assignments): 180 * 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.0004133/4.256, allocations: 146.2 kB / 1.974 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/4.256, allocations: 206 kB / 1.974 GB, free: 64.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/4.259, allocations: 1.96 MB / 1.976 GB, free: 63.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/4.259, allocations: 13.91 kB / 1.976 GB, free: 63.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/4.259, allocations: 0 / 1.976 GB, free: 63.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001977/4.261, allocations: 1.553 MB / 1.978 GB, free: 63.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/4.268, allocations: 4.267 MB / 1.982 GB, free: 63.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/4.268, allocations: 0 / 1.982 GB, free: 63.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/4.269, allocations: 215.4 kB / 1.982 GB, free: 63.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/4.271, allocations: 405.1 kB / 1.983 GB, free: 63.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/4.271, allocations: 25.33 kB / 1.983 GB, free: 63.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/4.273, allocations: 2.905 MB / 1.985 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/4.273, allocations: 7.062 kB / 1.985 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003835/4.277, allocations: 2.969 MB / 1.988 GB, free: 61.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/4.278, allocations: 0.5328 MB / 1.989 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/4.278, allocations: 13.38 kB / 1.989 GB, free: 60.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/4.28, allocations: 160.2 kB / 1.989 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/4.28, allocations: 90.67 kB / 1.989 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/4.28, allocations: 58.25 kB / 1.989 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001705/4.282, allocations: 1.359 MB / 1.99 GB, free: 60.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004102/4.286, allocations: 1.458 MB / 1.992 GB, free: 60.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001031/4.287, allocations: 0.5551 MB / 1.992 GB, free: 60.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00419/4.291, allocations: 3.135 MB / 1.995 GB, free: 59.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/4.291, allocations: 4.156 kB / 1.995 GB, free: 59.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/4.292, allocations: 0.9282 MB / 1.996 GB, free: 59.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004909/4.297, allocations: 1.017 MB / 1.997 GB, free: 59.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007782/4.305, allocations: 4.355 MB / 2.002 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/4.307, allocations: 2.398 MB / 2.004 GB, free: 58.2 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/4.307, allocations: 0 / 2.004 GB, free: 58.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.07949/4.387, allocations: 52.41 MB / 2.055 GB, free: 55.85 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)