Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001118/0.001119, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7802/0.7802, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.97 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.4446/0.5762, allocations: 151.8 MB / 0.8086 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.05502/0.6312, allocations: 44.11 MB / 0.8517 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008267/0.6395, allocations: 205.9 kB / 0.8519 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.008309/0.6479, allocations: 2.548 MB / 0.8544 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01834/0.6663, allocations: 6.132 MB / 0.8604 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.679, allocations: 4.84 MB / 0.8651 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0473/0.7264, allocations: 43.9 MB / 0.908 GB, free: 8.457 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03177/0.7582, allocations: 23.16 MB / 0.9306 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03076/0.789, allocations: 15.97 MB / 0.9462 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02195/0.8109, allocations: 13.18 MB / 0.959 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.007433/0.8184, allocations: 2.344 MB / 0.9613 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/0.8345, allocations: 4.765 MB / 0.966 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.009257/0.8438, allocations: 5.212 MB / 0.9711 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02132/0.8651, allocations: 10.79 MB / 0.9816 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.03937/0.9045, allocations: 31.9 MB / 1.013 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.9046, allocations: 0 / 1.013 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9046, allocations: 0 / 1.013 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001052/0.9056, allocations: 4 kB / 1.013 GB, free: 12.81 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.05735/0.963, allocations: 19.53 MB / 1.032 GB, free: 9.148 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.9631, allocations: 8.031 kB / 1.032 GB, free: 9.141 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.9736, allocations: 1.932 MB / 1.034 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0343/1.008, allocations: 15.32 MB / 1.049 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/1.009, allocations: 0.9699 MB / 1.05 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004971/1.014, allocations: 1.293 MB / 1.051 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6355/1.649, allocations: 19.28 MB / 1.07 GB, free: 275.9 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004895/1.65, allocations: 45.44 kB / 1.07 GB, free: 275.9 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00349/1.654, allocations: 0.5366 MB / 1.07 GB, free: 275.5 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004018/1.654, allocations: 351.9 kB / 1.071 GB, free: 275.4 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03358/1.688, allocations: 16.61 MB / 1.087 GB, free: 269 MB / 0.8107 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.1078/1.795, allocations: 86.66 MB / 1.172 GB, free: 191 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/1.81, allocations: 12.24 MB / 1.183 GB, free: 178.7 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007149/1.817, allocations: 6.231 MB / 1.19 GB, free: 172.5 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05008/1.867, allocations: 28.38 MB / 1.217 GB, free: 143.2 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.202e-05/1.867, allocations: 124.5 kB / 1.217 GB, free: 143.1 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004552/1.872, allocations: 0.7446 MB / 1.218 GB, free: 142.4 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=651): time 1.534e-05/1.872, allocations: 0 / 1.218 GB, free: 142.4 MB / 0.8107 GB Notification: Performance of matching and sorting (n=651): time 0.03621/1.908, allocations: 17.86 MB / 1.236 GB, free: 124.2 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/1.908, allocations: 116.5 kB / 1.236 GB, free: 124 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01894/1.927, allocations: 13.37 MB / 1.249 GB, free: 110.7 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001809/1.929, allocations: 185.7 kB / 1.249 GB, free: 110.5 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.005288/1.934, allocations: 7.222 MB / 1.256 GB, free: 103.3 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002512/1.937, allocations: 2.302 MB / 1.258 GB, free: 101 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003341/1.94, allocations: 2.388 MB / 1.261 GB, free: 98.61 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 3.706e-05/1.94, allocations: 301.1 kB / 1.261 GB, free: 98.31 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00739/1.948, allocations: 5.929 MB / 1.267 GB, free: 92.38 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009103/1.957, allocations: 9.897 MB / 1.276 GB, free: 80.7 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/1.973, allocations: 15.6 MB / 1.291 GB, free: 63.29 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.655e-05/1.973, allocations: 40 kB / 1.292 GB, free: 63.25 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.03045/2.003, allocations: 19.01 MB / 1.31 GB, free: 44.16 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/2.003, allocations: 61.56 kB / 1.31 GB, free: 44.11 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/2.003, allocations: 124 kB / 1.31 GB, free: 43.98 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08842/2.092, allocations: 11.97 MB / 1.322 GB, free: 31.97 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009241/2.101, allocations: 2.443 MB / 1.324 GB, free: 29.53 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/2.116, allocations: 20.93 MB / 1.345 GB, free: 7.816 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/2.127, allocations: 0.7134 MB / 1.345 GB, free: 7.102 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/2.13, allocations: 0.5546 MB / 1.346 GB, free: 6.547 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01842/2.148, allocations: 11.11 MB / 1.357 GB, free: 11.43 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.6077/2.756, allocations: 9.886 MB / 1.367 GB, free: 266.5 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02149/2.777, allocations: 15.59 MB / 1.382 GB, free: 260.2 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.984e-05/2.777, allocations: 36.84 kB / 1.382 GB, free: 260.2 MB / 0.8264 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.03593/2.813, allocations: 18.99 MB / 1.4 GB, free: 253.4 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/2.813, allocations: 60 kB / 1.4 GB, free: 253.4 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/2.814, allocations: 129.1 kB / 1.401 GB, free: 253.4 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08751/2.901, allocations: 11.98 MB / 1.412 GB, free: 252 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009109/2.91, allocations: 2.406 MB / 1.415 GB, free: 251.7 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/2.924, allocations: 19.13 MB / 1.433 GB, free: 237.6 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/2.935, allocations: 0.6898 MB / 1.434 GB, free: 237.4 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/2.937, allocations: 0.5531 MB / 1.434 GB, free: 237.4 MB / 0.8264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 573 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1269): * Single equations (assignments): 1251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(2,16), (2,16), (2,16), (2,16), (2,16), (2,16), (2,17), (2,17), (2,17), (2,17), (2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002144/2.939, allocations: 0.9056 MB / 1.435 GB, free: 236.7 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003025/2.942, allocations: 1.171 MB / 1.436 GB, free: 236.5 MB / 0.8264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0177/2.96, allocations: 11.63 MB / 1.448 GB, free: 227.8 MB / 0.8264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01234/2.972, allocations: 9.658 MB / 1.457 GB, free: 218 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/2.972, allocations: 0 / 1.457 GB, free: 218 MB / 0.8264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006628/2.979, allocations: 2.592 MB / 1.46 GB, free: 215.3 MB / 0.8264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00329/2.982, allocations: 140 kB / 1.46 GB, free: 215.2 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007925/2.99, allocations: 389.7 kB / 1.46 GB, free: 214.8 MB / 0.8264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009294/2.991, allocations: 380.7 kB / 1.461 GB, free: 214.5 MB / 0.8264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01977/3.011, allocations: 12.17 MB / 1.473 GB, free: 202.3 MB / 0.8264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01863/3.03, allocations: 15.75 MB / 1.488 GB, free: 186.4 MB / 0.8264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00455/3.034, allocations: 4.543 MB / 1.492 GB, free: 181.9 MB / 0.8264 GB Notification: Performance of sorting global known variables: time 0.01217/3.046, allocations: 9.17 MB / 1.501 GB, free: 172.8 MB / 0.8264 GB Notification: Performance of Backend: time 7.32e-07/3.046, allocations: 0 / 1.501 GB, free: 172.8 MB / 0.8264 GB Notification: Performance of simCode: created initialization part: time 0.03517/3.082, allocations: 19.93 MB / 1.521 GB, free: 153 MB / 0.8264 GB Notification: Performance of SimCode: time 0.07031/3.152, allocations: 34.94 MB / 1.555 GB, free: 118.4 MB / 0.8264 GB Notification: Performance of Templates: time 0.683/3.835, allocations: 312.5 MB / 1.86 GB, free: 133.3 MB / 0.842 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)