Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009066/0.009066, allocations: 169 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.77/0.77, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003545, allocations: 12 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4701, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04105/0.5112, allocations: 36.68 MB / 0.6195 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.5302, allocations: 9.454 MB / 0.6287 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/0.5333, allocations: 40.88 kB / 0.6288 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.5355, allocations: 473.4 kB / 0.6292 GB, free: 392 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006048/0.5416, allocations: 1.464 MB / 0.6306 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.5454, allocations: 1.124 MB / 0.6317 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.5575, allocations: 10.47 MB / 0.642 GB, free: 4.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004539/0.5621, allocations: 3.07 MB / 0.645 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.5672, allocations: 2.143 MB / 0.6471 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004109/0.5714, allocations: 2.267 MB / 0.6493 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004338/0.5718, allocations: 132 kB / 0.6494 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.5747, allocations: 0.9396 MB / 0.6503 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000691/0.5754, allocations: 0.6185 MB / 0.6509 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.5777, allocations: 1.572 MB / 0.6525 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.5832, allocations: 4.891 MB / 0.6572 GB, free: 4.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5832, allocations: 11.86 kB / 0.6572 GB, free: 4.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5832, allocations: 0 / 0.6572 GB, free: 4.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.068e-05/0.5833, allocations: 0 / 0.6572 GB, free: 4.887 MB / 494.1 MB 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.005586/0.5889, allocations: 2.981 MB / 0.6602 GB, free: 1.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.589, allocations: 12.03 kB / 0.6602 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.59, allocations: 360.5 kB / 0.6605 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004673/0.5946, allocations: 2.636 MB / 0.6631 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.5948, allocations: 176.6 kB / 0.6633 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/0.5952, allocations: 235.9 kB / 0.6635 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005923/0.6012, allocations: 3.232 MB / 0.6666 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.229e-05/0.6013, allocations: 11.84 kB / 0.6666 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.6015, allocations: 104 kB / 0.6667 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/0.6016, allocations: 64 kB / 0.6668 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.606, allocations: 2.589 MB / 0.6693 GB, free: 8.23 MB / 0.4981 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.01837/0.6244, allocations: 13.76 MB / 0.6828 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.6269, allocations: 1.63 MB / 0.6844 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.6285, allocations: 1.155 MB / 0.6855 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008693/0.6294, allocations: 0.7283 MB / 0.6862 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/0.6295, allocations: 55.56 kB / 0.6863 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001464/0.631, allocations: 182.7 kB / 0.6864 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=126): time 4.198e-06/0.631, allocations: 0 / 0.6864 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=126): time 0.009133/0.6401, allocations: 3.491 MB / 0.6898 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.6402, allocations: 141.5 kB / 0.69 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.643, allocations: 1.992 MB / 0.6919 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.6432, allocations: 53.7 kB / 0.692 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.6444, allocations: 1.265 MB / 0.6932 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.6448, allocations: 437.8 kB / 0.6936 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.645, allocations: 145.6 kB / 0.6938 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.6451, allocations: 305.1 kB / 0.6941 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.6462, allocations: 0.7455 MB / 0.6948 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.6476, allocations: 1.24 MB / 0.696 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.6501, allocations: 2.037 MB / 0.698 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.6502, allocations: 11.94 kB / 0.698 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003926/0.6541, allocations: 2.429 MB / 0.7004 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003487/0.6545, allocations: 0.5068 MB / 0.7009 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.6545, allocations: 20 kB / 0.7009 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.6566, allocations: 0.5097 MB / 0.7014 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.6578, allocations: 347.4 kB / 0.7017 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.661, allocations: 3.145 MB / 0.7048 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.6633, allocations: 227.5 kB / 0.705 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.6635, allocations: 76.06 kB / 0.7051 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.6635, allocations: 8 kB / 0.7051 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003434/0.667, allocations: 2.203 MB / 0.7072 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.667, allocations: 19.94 kB / 0.7073 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.6676, allocations: 240.5 kB / 0.7075 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.6688, allocations: 367.4 kB / 0.7078 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.673, allocations: 4.176 MB / 0.7119 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.6751, allocations: 219.5 kB / 0.7121 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.6752, allocations: 79.97 kB / 0.7122 GB, free: 9.871 MB / 0.545 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 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001864/0.6771, allocations: 1.016 MB / 0.7132 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/0.6775, allocations: 209.4 kB / 0.7134 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.6809, allocations: 2.064 MB / 0.7154 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.681, allocations: 19.92 kB / 0.7154 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.681, allocations: 4 kB / 0.7154 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002378/0.6834, allocations: 1.671 MB / 0.7171 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008196/0.6916, allocations: 4.709 MB / 0.7217 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.6916, allocations: 0 / 0.7217 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/0.6925, allocations: 208 kB / 0.7219 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.6942, allocations: 453.2 kB / 0.7223 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6944, allocations: 31.98 kB / 0.7223 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.6974, allocations: 3.061 MB / 0.7253 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.6975, allocations: 16.02 kB / 0.7253 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/0.7021, allocations: 2.991 MB / 0.7282 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.7036, allocations: 0.5179 MB / 0.7287 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.704, allocations: 28 kB / 0.7288 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.7055, allocations: 202.5 kB / 0.729 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.7058, allocations: 101.1 kB / 0.7291 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.7059, allocations: 59.95 kB / 0.7291 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001992/0.7079, allocations: 1.37 MB / 0.7305 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7079, allocations: 4 kB / 0.7305 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004711/0.7126, allocations: 1.476 MB / 0.7319 GB, free: 5.32 MB / 0.5606 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,yTop.u,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009725/0.7136, allocations: 386.1 kB / 0.7323 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005559/0.7192, allocations: 3.38 MB / 0.7356 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.7192, allocations: 4 kB / 0.7356 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.7208, allocations: 1.017 MB / 0.7366 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006234/0.727, allocations: 1.147 MB / 0.7377 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00965/0.7367, allocations: 6.496 MB / 0.744 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/0.7385, allocations: 2.172 MB / 0.7462 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003306/0.7419, allocations: 0.9235 MB / 0.7471 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.7424, allocations: 179.3 kB / 0.7472 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/0.7424, allocations: 0 / 0.7472 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of Templates: time 0.08726/0.8297, allocations: 46.01 MB / 0.7922 GB, free: 8.027 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)