Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001056/0.001056, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7679/0.7679, allocations: 133.6 MB / 141.6 MB, free: 2.84 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009905, allocations: 103.7 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.687e-05, allocations: 4 kB / 0.5535 GB, free: 9.035 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5718, allocations: 82.3 MB / 0.6338 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.61, allocations: 386.9 MB / 1.012 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/1.61, allocations: 87.58 kB / 1.012 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.442/6.052, allocations: 0.985 GB / 1.997 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/6.052, allocations: 0 / 1.997 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000533/6.052, allocations: 80.25 kB / 1.997 GB, free: 112.1 MB / 0.6823 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.009108/6.061, allocations: 2.699 MB / 1.999 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/6.061, allocations: 7.719 kB / 1.999 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/6.064, allocations: 353.5 kB / 2 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008396/6.072, allocations: 3.105 MB / 2.003 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/6.073, allocations: 75.39 kB / 2.003 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/6.074, allocations: 137.7 kB / 2.003 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006748/6.081, allocations: 2.206 MB / 2.005 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008256/6.089, allocations: 2.66 MB / 2.008 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.601e-05/6.089, allocations: 7.938 kB / 2.008 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005208/6.089, allocations: 4 kB / 2.008 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/6.09, allocations: 63.98 kB / 2.008 GB, free: 105.3 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01917/6.109, allocations: 12.58 MB / 2.02 GB, free: 92.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/6.111, allocations: 1.573 MB / 2.022 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/6.112, allocations: 1.095 MB / 2.023 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/6.113, allocations: 0.7144 MB / 2.023 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/6.113, allocations: 57.75 kB / 2.023 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001894/6.115, allocations: 197.8 kB / 2.024 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 6.402e-06/6.115, allocations: 0 / 2.024 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.003143/6.118, allocations: 1.631 MB / 2.025 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/6.118, allocations: 145.8 kB / 2.025 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/6.122, allocations: 1.761 MB / 2.027 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/6.122, allocations: 32.95 kB / 2.027 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/6.124, allocations: 1.257 MB / 2.028 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/6.124, allocations: 433.7 kB / 2.029 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/6.124, allocations: 0 / 2.029 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001375/6.125, allocations: 373.9 kB / 2.029 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/6.126, allocations: 0.6559 MB / 2.03 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/6.127, allocations: 1.172 MB / 2.031 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/6.128, allocations: 0.9106 MB / 2.032 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/6.128, allocations: 7.938 kB / 2.032 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003904/6.132, allocations: 2.167 MB / 2.034 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001425/6.134, allocations: 5.701 MB / 2.039 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/6.134, allocations: 19.98 kB / 2.039 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/6.135, allocations: 430 kB / 2.04 GB, free: 70.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/6.137, allocations: 363.4 kB / 2.04 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/6.14, allocations: 2.985 MB / 2.043 GB, free: 67.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/6.142, allocations: 195.4 kB / 2.043 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/6.143, allocations: 83.97 kB / 2.043 GB, free: 67.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/6.143, allocations: 4 kB / 2.043 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003487/6.146, allocations: 1.906 MB / 2.045 GB, free: 65.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.612e-05/6.146, allocations: 16 kB / 2.045 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/6.147, allocations: 210.4 kB / 2.045 GB, free: 64.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/6.148, allocations: 387.4 kB / 2.046 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/6.151, allocations: 3.757 MB / 2.05 GB, free: 60.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/6.154, allocations: 179.6 kB / 2.05 GB, free: 60.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/6.154, allocations: 83.97 kB / 2.05 GB, free: 60.37 MB / 0.6823 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.0005674/6.155, allocations: 155.6 kB / 2.05 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007796/6.156, allocations: 205.5 kB / 2.05 GB, free: 60.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/6.159, allocations: 1.863 MB / 2.052 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/6.159, allocations: 19.95 kB / 2.052 GB, free: 58.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/6.159, allocations: 0 / 2.052 GB, free: 58.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002169/6.162, allocations: 1.5 MB / 2.053 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008901/6.17, allocations: 4.148 MB / 2.057 GB, free: 52.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/6.17, allocations: 0 / 2.057 GB, free: 52.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/6.171, allocations: 215.9 kB / 2.058 GB, free: 52.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/6.173, allocations: 407.7 kB / 2.058 GB, free: 51.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/6.173, allocations: 18.05 kB / 2.058 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/6.175, allocations: 2.927 MB / 2.061 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/6.175, allocations: 0 / 2.061 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/6.18, allocations: 2.857 MB / 2.064 GB, free: 45.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/6.181, allocations: 0.5257 MB / 2.064 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007412/6.182, allocations: 11.98 kB / 2.064 GB, free: 45.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/6.184, allocations: 171.6 kB / 2.064 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/6.185, allocations: 96.22 kB / 2.065 GB, free: 44.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/6.185, allocations: 59.95 kB / 2.065 GB, free: 44.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002644/6.187, allocations: 1.334 MB / 2.066 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/6.187, allocations: 3.938 kB / 2.066 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006726/6.194, allocations: 1.46 MB / 2.067 GB, free: 42.07 MB / 0.6823 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.001647/6.196, allocations: 0.5604 MB / 2.068 GB, free: 41.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00586/6.202, allocations: 3.1 MB / 2.071 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/6.202, allocations: 4.25 kB / 2.071 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/6.203, allocations: 0.9189 MB / 2.072 GB, free: 37.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006668/6.21, allocations: 1.076 MB / 2.073 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/6.22, allocations: 4.24 MB / 2.077 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/6.222, allocations: 2.218 MB / 2.079 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00547/6.228, allocations: 1.398 MB / 2.081 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/6.228, allocations: 135.4 kB / 2.081 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/6.228, allocations: 3.938 kB / 2.081 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.5908/6.819, allocations: 45.33 MB / 2.125 GB, free: 114.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)