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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001242, allocations: 172.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4537/0.4537, allocations: 86.28 MB / 103.8 MB, free: 14.55 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.449/1.449, allocations: 223.3 MB / 348.4 MB, free: 5.012 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.0009459/0.0009455, allocations: 88.95 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004462, allocations: 16 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4605, allocations: 71.01 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7805/1.241, allocations: 376 MB / 0.9266 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.241, allocations: 90.58 kB / 0.9267 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.73/4.971, allocations: 0.9828 GB / 1.91 GB, free: 96.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.276e-06/4.971, allocations: 6.469 kB / 1.91 GB, free: 96.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004806/4.972, allocations: 77.55 kB / 1.91 GB, free: 96.25 MB / 0.6042 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.009809/4.982, allocations: 3.127 MB / 1.913 GB, free: 95.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/4.982, allocations: 13.94 kB / 1.913 GB, free: 95.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/4.984, allocations: 360.5 kB / 1.913 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007091/4.991, allocations: 2.978 MB / 1.916 GB, free: 94.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/4.991, allocations: 182.6 kB / 1.916 GB, free: 94.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008259/4.992, allocations: 236.8 kB / 1.916 GB, free: 94.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006936/4.999, allocations: 3.048 MB / 1.919 GB, free: 93.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/4.999, allocations: 7.828 kB / 1.919 GB, free: 93.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/4.999, allocations: 97.88 kB / 1.919 GB, free: 93.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/5, allocations: 65.78 kB / 1.92 GB, free: 93.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/5.004, allocations: 2.386 MB / 1.922 GB, free: 93.95 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/5.02, allocations: 12.9 MB / 1.934 GB, free: 87.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/5.022, allocations: 1.624 MB / 1.936 GB, free: 87.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/5.024, allocations: 1.157 MB / 1.937 GB, free: 87.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/5.024, allocations: 0.7162 MB / 1.938 GB, free: 86.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/5.024, allocations: 53 kB / 1.938 GB, free: 86.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001993/5.026, allocations: 219.9 kB / 1.938 GB, free: 86.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=126): time 5.23e-06/5.026, allocations: 2.531 kB / 1.938 GB, free: 86.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126): time 0.009303/5.036, allocations: 3.501 MB / 1.942 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/5.036, allocations: 140.3 kB / 1.942 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/5.04, allocations: 1.958 MB / 1.944 GB, free: 85.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/5.04, allocations: 60.39 kB / 1.944 GB, free: 85.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/5.041, allocations: 1.246 MB / 1.945 GB, free: 85.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/5.041, allocations: 446.1 kB / 1.945 GB, free: 85.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/5.041, allocations: 32.22 kB / 1.945 GB, free: 85.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001152/5.042, allocations: 378 kB / 1.946 GB, free: 84.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009196/5.042, allocations: 0.7033 MB / 1.946 GB, free: 84.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/5.044, allocations: 1.249 MB / 1.948 GB, free: 84.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/5.046, allocations: 1.98 MB / 1.95 GB, free: 83.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/5.046, allocations: 3.688 kB / 1.95 GB, free: 83.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003225/5.049, allocations: 2.356 MB / 1.952 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/5.049, allocations: 0.4993 MB / 1.952 GB, free: 82.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/5.049, allocations: 17.75 kB / 1.952 GB, free: 82.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/5.051, allocations: 0.506 MB / 1.953 GB, free: 82.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/5.052, allocations: 334.1 kB / 1.953 GB, free: 82.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/5.055, allocations: 3.095 MB / 1.956 GB, free: 81.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/5.057, allocations: 229.8 kB / 1.956 GB, free: 80.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/5.057, allocations: 79.38 kB / 1.956 GB, free: 80.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/5.057, allocations: 6.594 kB / 1.956 GB, free: 80.99 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003007/5.06, allocations: 2.139 MB / 1.959 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/5.06, allocations: 14.81 kB / 1.959 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/5.061, allocations: 238.3 kB / 1.959 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/5.062, allocations: 351.2 kB / 1.959 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/5.065, allocations: 4.158 MB / 1.963 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/5.067, allocations: 223.5 kB / 1.963 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/5.068, allocations: 80.66 kB / 1.963 GB, free: 78.21 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.001914/5.069, allocations: 1.006 MB / 1.964 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000541/5.07, allocations: 204.3 kB / 1.965 GB, free: 77.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/5.073, allocations: 2.003 MB / 1.967 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/5.073, allocations: 18.59 kB / 1.967 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/5.073, allocations: 6.156 kB / 1.967 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002079/5.075, allocations: 1.61 MB / 1.968 GB, free: 77.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008532/5.084, allocations: 4.582 MB / 1.973 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/5.084, allocations: 0 / 1.973 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/5.085, allocations: 215.5 kB / 1.973 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/5.086, allocations: 438.9 kB / 1.973 GB, free: 77.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/5.086, allocations: 43.38 kB / 1.973 GB, free: 77.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/5.089, allocations: 3.013 MB / 1.976 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/5.089, allocations: 3.656 kB / 1.976 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/5.093, allocations: 2.912 MB / 1.979 GB, free: 75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/5.094, allocations: 0.5044 MB / 1.98 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/5.095, allocations: 29.81 kB / 1.98 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/5.097, allocations: 186.1 kB / 1.98 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/5.097, allocations: 97.83 kB / 1.98 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/5.097, allocations: 56.31 kB / 1.98 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002666/5.1, allocations: 1.345 MB / 1.981 GB, free: 74.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.3e-07/5.1, allocations: 0 / 1.981 GB, free: 74.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006029/5.106, allocations: 1.502 MB / 1.983 GB, free: 74.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/5.107, allocations: 0.559 MB / 1.983 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005532/5.113, allocations: 3.303 MB / 1.987 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/5.113, allocations: 0 / 1.987 GB, free: 73.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/5.114, allocations: 0.9855 MB / 1.987 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006412/5.121, allocations: 1.147 MB / 1.989 GB, free: 73.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/5.131, allocations: 6.266 MB / 1.995 GB, free: 71.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/5.134, allocations: 2.16 MB / 1.997 GB, free: 70.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00362/5.137, allocations: 0.9158 MB / 1.998 GB, free: 70.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/5.138, allocations: 171.5 kB / 1.998 GB, free: 70.38 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/5.138, allocations: 4 kB / 1.998 GB, free: 70.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.07408/5.212, allocations: 47.44 MB / 2.044 GB, free: 44.66 MB / 0.6042 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)