Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001219/0.001219, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001277/0.001277, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.184/1.184, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7107/0.7107, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.3 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.392/0.5151, allocations: 151.8 MB / 0.8136 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04963/0.5648, allocations: 44.12 MB / 0.8567 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006213/0.571, allocations: 212 kB / 0.8569 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005879/0.5769, allocations: 2.531 MB / 0.8593 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.5913, allocations: 6.131 MB / 0.8653 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.6026, allocations: 4.846 MB / 0.8701 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.04357/0.6462, allocations: 43.88 MB / 0.9129 GB, free: 1.785 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02784/0.6741, allocations: 23.15 MB / 0.9355 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02661/0.7007, allocations: 15.98 MB / 0.9511 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02031/0.7211, allocations: 13.17 MB / 0.964 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00648/0.7276, allocations: 2.34 MB / 0.9663 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.7425, allocations: 4.781 MB / 0.9709 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00844/0.751, allocations: 5.216 MB / 0.976 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01939/0.7704, allocations: 10.79 MB / 0.9866 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.03708/0.8075, allocations: 31.91 MB / 1.018 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8075, allocations: 0 / 1.018 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8075, allocations: 0 / 1.018 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0008838/0.8084, allocations: 0 / 1.018 GB, free: 6.129 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.0484/0.8568, allocations: 19.54 MB / 1.037 GB, free: 2.457 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8569, allocations: 9.109 kB / 1.037 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009733/0.8666, allocations: 1.936 MB / 1.039 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03139/0.898, allocations: 15.31 MB / 1.054 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008866/0.899, allocations: 0.9699 MB / 1.055 GB, free: 124 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5149/1.414, allocations: 1.297 MB / 1.056 GB, free: 280.4 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03568/1.45, allocations: 19.28 MB / 1.075 GB, free: 272.6 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/1.45, allocations: 49.78 kB / 1.075 GB, free: 272.6 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/1.451, allocations: 0.5314 MB / 1.075 GB, free: 272.2 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/1.452, allocations: 357.9 kB / 1.076 GB, free: 272.2 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02585/1.477, allocations: 16.6 MB / 1.092 GB, free: 264.7 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.08468/1.562, allocations: 86.67 MB / 1.176 GB, free: 181.2 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.575, allocations: 12.24 MB / 1.188 GB, free: 168.9 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005898/1.58, allocations: 6.23 MB / 1.195 GB, free: 162.7 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03857/1.619, allocations: 28.37 MB / 1.222 GB, free: 133.5 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/1.619, allocations: 120.7 kB / 1.222 GB, free: 133.3 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003607/1.623, allocations: 0.7445 MB / 1.223 GB, free: 132.6 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=651): time 1.206e-05/1.623, allocations: 3.938 kB / 1.223 GB, free: 132.6 MB / 0.8107 GB Notification: Performance of matching and sorting (n=651): time 0.02951/1.652, allocations: 17.86 MB / 1.241 GB, free: 114.3 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.652, allocations: 120.5 kB / 1.241 GB, free: 114.2 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01461/1.667, allocations: 13.36 MB / 1.254 GB, free: 100.9 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001446/1.668, allocations: 185.7 kB / 1.254 GB, free: 100.7 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.004055/1.673, allocations: 7.236 MB / 1.261 GB, free: 93.47 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001963/1.674, allocations: 2.296 MB / 1.263 GB, free: 91.19 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/1.677, allocations: 2.392 MB / 1.265 GB, free: 88.79 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 3.498e-05/1.677, allocations: 301.1 kB / 1.266 GB, free: 88.49 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006383/1.684, allocations: 5.921 MB / 1.272 GB, free: 82.56 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007722/1.691, allocations: 9.904 MB / 1.281 GB, free: 70.87 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/1.706, allocations: 15.6 MB / 1.296 GB, free: 53.48 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.55e-05/1.706, allocations: 36 kB / 1.296 GB, free: 53.44 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.02417/1.73, allocations: 19.02 MB / 1.315 GB, free: 34.35 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/1.73, allocations: 60.69 kB / 1.315 GB, free: 34.29 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/1.73, allocations: 128 kB / 1.315 GB, free: 34.17 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08287/1.813, allocations: 11.97 MB / 1.327 GB, free: 22.15 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008408/1.822, allocations: 2.447 MB / 1.329 GB, free: 19.7 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/1.835, allocations: 20.94 MB / 1.35 GB, free: 13.99 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/1.846, allocations: 0.7134 MB / 1.35 GB, free: 13.27 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.848, allocations: 0.5507 MB / 1.351 GB, free: 12.72 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01747/1.865, allocations: 11.1 MB / 1.362 GB, free: 1.605 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.5133/2.379, allocations: 9.892 MB / 1.372 GB, free: 264.1 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01919/2.398, allocations: 15.58 MB / 1.387 GB, free: 255.5 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001618/2.398, allocations: 35.75 kB / 1.387 GB, free: 255.5 MB / 0.8264 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.02922/2.427, allocations: 18.99 MB / 1.405 GB, free: 248.7 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/2.428, allocations: 57.94 kB / 1.405 GB, free: 248.7 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/2.428, allocations: 131.8 kB / 1.405 GB, free: 248.7 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08405/2.512, allocations: 11.97 MB / 1.417 GB, free: 247.1 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00842/2.52, allocations: 2.398 MB / 1.42 GB, free: 246.9 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/2.533, allocations: 19.14 MB / 1.438 GB, free: 232.6 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009997/2.543, allocations: 0.6892 MB / 1.439 GB, free: 232.3 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/2.544, allocations: 0.5483 MB / 1.439 GB, free: 232.2 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.001848/2.546, allocations: 0.9131 MB / 1.44 GB, free: 231.5 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002595/2.549, allocations: 1.169 MB / 1.441 GB, free: 231 MB / 0.8264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/2.564, allocations: 11.64 MB / 1.453 GB, free: 219.3 MB / 0.8264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01087/2.575, allocations: 9.658 MB / 1.462 GB, free: 209.5 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/2.575, allocations: 0 / 1.462 GB, free: 209.5 MB / 0.8264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005369/2.58, allocations: 2.591 MB / 1.465 GB, free: 206.9 MB / 0.8264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001914/2.582, allocations: 136 kB / 1.465 GB, free: 206.8 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005442/2.588, allocations: 384.9 kB / 1.465 GB, free: 206.4 MB / 0.8264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005943/2.588, allocations: 384.7 kB / 1.466 GB, free: 206 MB / 0.8264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01725/2.605, allocations: 12.17 MB / 1.478 GB, free: 193.9 MB / 0.8264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01675/2.622, allocations: 15.75 MB / 1.493 GB, free: 178 MB / 0.8264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004139/2.626, allocations: 4.543 MB / 1.497 GB, free: 173.4 MB / 0.8264 GB Notification: Performance of sorting global known variables: time 0.01163/2.638, allocations: 9.17 MB / 1.506 GB, free: 164.3 MB / 0.8264 GB Notification: Performance of Backend: time 6.51e-07/2.638, allocations: 0 / 1.506 GB, free: 164.3 MB / 0.8264 GB Notification: Performance of simCode: created initialization part: time 0.03157/2.67, allocations: 19.93 MB / 1.526 GB, free: 144.6 MB / 0.8264 GB Notification: Performance of SimCode: time 0.05027/2.72, allocations: 34.92 MB / 1.56 GB, free: 110 MB / 0.8264 GB Notification: Performance of Templates: time 0.619/3.339, allocations: 312.5 MB / 1.865 GB, free: 121.4 MB / 0.842 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)