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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008848, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.000818/0.000818, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8605/0.8605, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003378, allocations: 12.69 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 82.32 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.2825/0.4407, allocations: 31.63 MB / 0.6181 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008414/0.4491, allocations: 8.266 MB / 0.6261 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009398/0.4501, allocations: 41.72 kB / 0.6262 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.4512, allocations: 0.5266 MB / 0.6267 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.4543, allocations: 1.591 MB / 0.6283 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.457, allocations: 1.318 MB / 0.6295 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.4609, allocations: 4.47 MB / 0.6339 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.4637, allocations: 2.757 MB / 0.6366 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.4661, allocations: 1.846 MB / 0.6384 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.4678, allocations: 1.554 MB / 0.6399 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.4681, allocations: 138.6 kB / 0.6401 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.4697, allocations: 0.6762 MB / 0.6407 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004103/0.4701, allocations: 0.5732 MB / 0.6413 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.4706, allocations: 0.6433 MB / 0.6419 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.4732, allocations: 3.945 MB / 0.6458 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4732, allocations: 0 / 0.6458 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4732, allocations: 0 / 0.6458 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.677e-05/0.4733, allocations: 0 / 0.6458 GB, free: 23.29 MB / 0.4981 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.00446/0.4777, allocations: 3.002 MB / 0.6487 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4778, allocations: 9.188 kB / 0.6487 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008547/0.4786, allocations: 354.4 kB / 0.649 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.4828, allocations: 2.417 MB / 0.6514 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.483, allocations: 176.9 kB / 0.6516 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.4833, allocations: 235.6 kB / 0.6518 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004846/0.4882, allocations: 3.195 MB / 0.6549 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.4882, allocations: 8 kB / 0.6549 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.4884, allocations: 98.31 kB / 0.655 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.62e-05/0.4885, allocations: 63.78 kB / 0.6551 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.4922, allocations: 2.572 MB / 0.6576 GB, free: 17.77 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.01487/0.5071, allocations: 13.84 MB / 0.6711 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.5093, allocations: 1.627 MB / 0.6727 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.5099, allocations: 0.7225 MB / 0.6734 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.51, allocations: 55.83 kB / 0.6734 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001202/0.5112, allocations: 195.9 kB / 0.6736 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 2.915e-06/0.5112, allocations: 1.438 kB / 0.6736 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.007981/0.5192, allocations: 3.487 MB / 0.677 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.5192, allocations: 146.2 kB / 0.6772 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.5217, allocations: 2.134 MB / 0.6793 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.5218, allocations: 54.55 kB / 0.6793 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007481/0.5226, allocations: 1.255 MB / 0.6805 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.5229, allocations: 442.3 kB / 0.681 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.5229, allocations: 33.56 kB / 0.681 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.523, allocations: 374.9 kB / 0.6813 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009393/0.524, allocations: 0.7312 MB / 0.6821 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.5251, allocations: 1.251 MB / 0.6833 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.5263, allocations: 0.9471 MB / 0.6842 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5263, allocations: 4 kB / 0.6842 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003334/0.5296, allocations: 2.43 MB / 0.6866 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001811/0.5314, allocations: 5.706 MB / 0.6922 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5315, allocations: 12.84 kB / 0.6922 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.5334, allocations: 0.5184 MB / 0.6927 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.5346, allocations: 340.5 kB / 0.693 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.5375, allocations: 3.17 MB / 0.6961 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.5394, allocations: 237.5 kB / 0.6963 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.5395, allocations: 76.23 kB / 0.6964 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.5396, allocations: 3.75 kB / 0.6964 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003001/0.5426, allocations: 2.196 MB / 0.6985 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5426, allocations: 15.75 kB / 0.6986 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/0.5431, allocations: 253.7 kB / 0.6988 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.5444, allocations: 361 kB / 0.6991 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.5481, allocations: 4.218 MB / 0.7033 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.55, allocations: 226.3 kB / 0.7035 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.5502, allocations: 80.41 kB / 0.7036 GB, free: 0.8242 MB / 0.5137 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,yTop.u,$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.001657/0.5518, allocations: 1.012 MB / 0.7045 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.5522, allocations: 206.2 kB / 0.7047 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.5552, allocations: 2.076 MB / 0.7068 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.5553, allocations: 21.83 kB / 0.7068 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5553, allocations: 7.516 kB / 0.7068 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002139/0.5574, allocations: 1.672 MB / 0.7084 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007019/0.5644, allocations: 4.704 MB / 0.713 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5645, allocations: 4 kB / 0.713 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.5653, allocations: 203.8 kB / 0.7132 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.5668, allocations: 455.3 kB / 0.7137 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-05/0.5669, allocations: 39.97 kB / 0.7137 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/0.5696, allocations: 3.078 MB / 0.7167 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5696, allocations: 8.094 kB / 0.7167 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.5734, allocations: 3.067 MB / 0.7197 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.5746, allocations: 0.5413 MB / 0.7202 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.5748, allocations: 28 kB / 0.7203 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.5762, allocations: 206.8 kB / 0.7205 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.5764, allocations: 101.2 kB / 0.7206 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5765, allocations: 60.06 kB / 0.7206 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001977/0.5785, allocations: 1.479 MB / 0.7221 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5785, allocations: 0 / 0.7221 GB, free: 15.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003685/0.5822, allocations: 1.495 MB / 0.7235 GB, free: 13.66 MB / 0.545 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 (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.0007841/0.583, allocations: 381.3 kB / 0.7239 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00479/0.5878, allocations: 3.381 MB / 0.7272 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.5878, allocations: 4 kB / 0.7272 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.5891, allocations: 1.017 MB / 0.7282 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/0.5935, allocations: 1.139 MB / 0.7293 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007639/0.6012, allocations: 6.335 MB / 0.7355 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.6028, allocations: 2.222 MB / 0.7376 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002423/0.6052, allocations: 0.9487 MB / 0.7386 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.6056, allocations: 179.2 kB / 0.7387 GB, free: 14 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.6056, allocations: 0 / 0.7387 GB, free: 14 MB / 0.5606 GB Notification: Performance of Templates: time 0.06425/0.6699, allocations: 45.37 MB / 0.783 GB, free: 1.082 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: