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-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_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.0009524/0.0009523, allocations: 99.47 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.001035/0.001035, allocations: 177.3 kB / 15.95 MB, free: 216 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8645/0.8645, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 8.5 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 82.32 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.2837/0.4317, allocations: 31.63 MB / 0.6181 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00902/0.4408, allocations: 8.263 MB / 0.6261 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.4419, allocations: 39.5 kB / 0.6262 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.4432, allocations: 0.5292 MB / 0.6267 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0048/0.448, allocations: 1.594 MB / 0.6283 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/0.4522, allocations: 1.318 MB / 0.6295 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0049/0.4571, allocations: 4.467 MB / 0.6339 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.4595, allocations: 2.76 MB / 0.6366 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.4614, allocations: 1.848 MB / 0.6384 GB, free: 25.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.4627, allocations: 1.553 MB / 0.6399 GB, free: 24.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.4629, allocations: 132.9 kB / 0.6401 GB, free: 24.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.4644, allocations: 0.673 MB / 0.6407 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003862/0.4648, allocations: 0.5704 MB / 0.6413 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.4652, allocations: 0.6437 MB / 0.6419 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.4676, allocations: 3.95 MB / 0.6458 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.4676, allocations: 0 / 0.6458 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.846e-06/0.4676, allocations: 0 / 0.6458 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.506e-05/0.4677, allocations: 3.938 kB / 0.6458 GB, free: 23.26 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.004959/0.4727, allocations: 2.998 MB / 0.6487 GB, free: 21.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.4727, allocations: 10.44 kB / 0.6487 GB, free: 21.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.4738, allocations: 361.6 kB / 0.649 GB, free: 21.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00474/0.4786, allocations: 2.414 MB / 0.6514 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.4787, allocations: 179.9 kB / 0.6516 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003723/0.4791, allocations: 231.6 kB / 0.6518 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005516/0.4846, allocations: 3.195 MB / 0.6549 GB, free: 18.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.4847, allocations: 7.688 kB / 0.6549 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.4849, allocations: 99.47 kB / 0.655 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.955e-05/0.485, allocations: 67.31 kB / 0.6551 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/0.4893, allocations: 2.568 MB / 0.6576 GB, free: 17.73 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.01629/0.5056, allocations: 13.85 MB / 0.6711 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.5079, allocations: 1.623 MB / 0.6727 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.5086, allocations: 0.7234 MB / 0.6734 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5086, allocations: 49.56 kB / 0.6734 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001369/0.51, allocations: 198.3 kB / 0.6736 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 3.917e-06/0.51, allocations: 0 / 0.6736 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.008285/0.5183, allocations: 3.49 MB / 0.677 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5183, allocations: 142 kB / 0.6772 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.5208, allocations: 2.134 MB / 0.6793 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.521, allocations: 54.17 kB / 0.6793 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008346/0.5218, allocations: 1.255 MB / 0.6805 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.5221, allocations: 449.4 kB / 0.681 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.5222, allocations: 29.97 kB / 0.681 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.5223, allocations: 374.6 kB / 0.6814 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/0.5233, allocations: 0.7422 MB / 0.6821 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.5244, allocations: 1.234 MB / 0.6833 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.5255, allocations: 0.9564 MB / 0.6842 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.5256, allocations: 8.344 kB / 0.6842 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003517/0.5291, allocations: 2.417 MB / 0.6866 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.531, allocations: 5.706 MB / 0.6922 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.531, allocations: 13.12 kB / 0.6922 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.5331, allocations: 0.515 MB / 0.6927 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.5343, allocations: 345.6 kB / 0.693 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.5373, allocations: 3.173 MB / 0.6961 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.5395, allocations: 237.2 kB / 0.6963 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.5397, allocations: 79.31 kB / 0.6964 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-06/0.5397, allocations: 4.344 kB / 0.6964 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003212/0.5429, allocations: 2.189 MB / 0.6985 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.5429, allocations: 17.78 kB / 0.6986 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.5435, allocations: 251 kB / 0.6988 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.5447, allocations: 363.8 kB / 0.6991 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.5486, allocations: 4.22 MB / 0.7033 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.5506, allocations: 225.7 kB / 0.7035 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.5508, allocations: 84.84 kB / 0.7036 GB, free: 0.7891 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.001727/0.5526, allocations: 1.008 MB / 0.7046 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006187/0.5532, allocations: 209.8 kB / 0.7048 GB, free: 8 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.5568, allocations: 2.077 MB / 0.7068 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.5568, allocations: 21.89 kB / 0.7068 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5569, allocations: 3.25 kB / 0.7068 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002361/0.5592, allocations: 1.677 MB / 0.7084 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/0.5687, allocations: 4.7 MB / 0.713 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5688, allocations: 4.094 kB / 0.713 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.5696, allocations: 203.7 kB / 0.7132 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.5713, allocations: 449.2 kB / 0.7137 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.5714, allocations: 35.98 kB / 0.7137 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/0.5742, allocations: 3.081 MB / 0.7167 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5743, allocations: 320 / 0.7167 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.5785, allocations: 3.071 MB / 0.7197 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.58, allocations: 0.5413 MB / 0.7202 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004931/0.5805, allocations: 32 kB / 0.7203 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.5822, allocations: 207.3 kB / 0.7205 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.5824, allocations: 101.3 kB / 0.7206 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.5826, allocations: 63.89 kB / 0.7206 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002161/0.5847, allocations: 1.471 MB / 0.7221 GB, free: 15.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5847, allocations: 0 / 0.7221 GB, free: 15.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004333/0.5891, allocations: 1.499 MB / 0.7235 GB, free: 13.62 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.0008486/0.5899, allocations: 379 kB / 0.7239 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005251/0.5952, allocations: 3.381 MB / 0.7272 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5952, allocations: 0 / 0.7272 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.5966, allocations: 1.028 MB / 0.7282 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/0.6019, allocations: 1.129 MB / 0.7293 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009221/0.6112, allocations: 6.35 MB / 0.7355 GB, free: 1.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.6132, allocations: 2.219 MB / 0.7377 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002918/0.6161, allocations: 0.9446 MB / 0.7386 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.6166, allocations: 179.3 kB / 0.7387 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.6166, allocations: 0 / 0.7387 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.06655/0.6832, allocations: 45.37 MB / 0.7831 GB, free: 1.047 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: