Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 110.4 kB / 16.37 MB, free: 5.539 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.001108/0.001108, allocations: 197.1 kB / 17.31 MB, free: 5.18 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7766/0.7766, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.001821, allocations: 63.91 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3607, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03958/0.4003, allocations: 49.27 MB / 0.6339 GB, free: 9.195 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.4185, allocations: 13.81 MB / 0.6474 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.421, allocations: 67.62 kB / 0.6474 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.4236, allocations: 0.8031 MB / 0.6482 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.4302, allocations: 2.254 MB / 0.6504 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.4335, allocations: 1.307 MB / 0.6517 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01861/0.4521, allocations: 19.56 MB / 0.6708 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.4637, allocations: 9.929 MB / 0.6805 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/0.476, allocations: 6.556 MB / 0.6869 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009511/0.4855, allocations: 5.762 MB / 0.6925 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00228/0.4878, allocations: 0.8438 MB / 0.6933 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005583/0.4934, allocations: 1.6 MB / 0.6949 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.4965, allocations: 2.119 MB / 0.697 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.009066/0.5056, allocations: 4.287 MB / 0.7012 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.5194, allocations: 12.07 MB / 0.713 GB, free: 7.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5194, allocations: 4 kB / 0.713 GB, free: 7.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5194, allocations: 0 / 0.713 GB, free: 7.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003399/0.5198, allocations: 0 / 0.713 GB, free: 7.953 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01878/0.5386, allocations: 7.733 MB / 0.7205 GB, free: 144 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.5386, allocations: 13.11 kB / 0.7205 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003832/0.5425, allocations: 0.7813 MB / 0.7213 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.5542, allocations: 6.321 MB / 0.7275 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.5545, allocations: 415.1 kB / 0.7279 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.5559, allocations: 0.539 MB / 0.7284 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.5698, allocations: 8.061 MB / 0.7362 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.57, allocations: 23.78 kB / 0.7363 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005891/0.5706, allocations: 239.9 kB / 0.7365 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.5707, allocations: 163.9 kB / 0.7367 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.5816, allocations: 6.528 MB / 0.743 GB, free: 8.758 MB / 0.5762 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.3571/0.9388, allocations: 31.18 MB / 0.7735 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.944, allocations: 3.651 MB / 0.777 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/0.9477, allocations: 2.804 MB / 0.7798 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000835/0.9486, allocations: 0.8284 MB / 0.7806 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.9486, allocations: 76.95 kB / 0.7807 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.208e-06/0.9486, allocations: 0.6562 kB / 0.7807 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.0096/0.9582, allocations: 5.764 MB / 0.7863 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.9583, allocations: 85.77 kB / 0.7864 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007189/0.9655, allocations: 5.227 MB / 0.7915 GB, free: 117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007641/0.9663, allocations: 77.7 kB / 0.7916 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.9681, allocations: 2.876 MB / 0.7944 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/0.9695, allocations: 0.9353 MB / 0.7953 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008843/0.9704, allocations: 0.7133 MB / 0.796 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.9704, allocations: 301.1 kB / 0.7963 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.9725, allocations: 1.674 MB / 0.7979 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.975, allocations: 2.933 MB / 0.8008 GB, free: 107 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005346/0.9804, allocations: 4.964 MB / 0.8056 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.9804, allocations: 13.31 kB / 0.8056 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0101/0.9905, allocations: 5.445 MB / 0.8109 GB, free: 96.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.9906, allocations: 20 kB / 0.811 GB, free: 95.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/0.9907, allocations: 42.81 kB / 0.811 GB, free: 95.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008613/0.9916, allocations: 419.3 kB / 0.8114 GB, free: 95.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.9945, allocations: 0.858 MB / 0.8122 GB, free: 94.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.9988, allocations: 5.706 MB / 0.8178 GB, free: 88.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005508/1.004, allocations: 0.5222 MB / 0.8183 GB, free: 88.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009057/1.005, allocations: 180 kB / 0.8185 GB, free: 88.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004832/1.01, allocations: 2.284 MB / 0.8207 GB, free: 85.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.012, allocations: 486.1 kB / 0.8212 GB, free: 85.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006125/1.018, allocations: 4.181 MB / 0.8253 GB, free: 81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/1.018, allocations: 27.94 kB / 0.8253 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.018, allocations: 12 kB / 0.8253 GB, free: 80.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004124/1.022, allocations: 3.624 MB / 0.8288 GB, free: 77.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.039, allocations: 10.27 MB / 0.8389 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.039, allocations: 4.562 kB / 0.8389 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.041, allocations: 0.5032 MB / 0.8394 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007118/1.042, allocations: 369.3 kB / 0.8397 GB, free: 65.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/1.042, allocations: 75.95 kB / 0.8398 GB, free: 65.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004131/1.046, allocations: 5.647 MB / 0.8453 GB, free: 59.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.046, allocations: 11.94 kB / 0.8453 GB, free: 59.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008838/1.055, allocations: 6.254 MB / 0.8514 GB, free: 53.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00348/1.058, allocations: 1.096 MB / 0.8525 GB, free: 52.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.06, allocations: 67.98 kB / 0.8526 GB, free: 52.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/1.063, allocations: 172.3 kB / 0.8527 GB, free: 52.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/1.063, allocations: 173.6 kB / 0.8529 GB, free: 52.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/1.064, allocations: 127.9 kB / 0.853 GB, free: 51.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005037/1.069, allocations: 3.839 MB / 0.8568 GB, free: 48.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.31e-07/1.069, allocations: 3.938 kB / 0.8568 GB, free: 48.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005416/1.074, allocations: 1.798 MB / 0.8585 GB, free: 46.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/1.075, allocations: 496.1 kB / 0.859 GB, free: 45.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005767/1.081, allocations: 4.282 MB / 0.8632 GB, free: 41.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.081, allocations: 8.188 kB / 0.8632 GB, free: 41.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/1.084, allocations: 2.035 MB / 0.8652 GB, free: 39.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01375/1.097, allocations: 3.451 MB / 0.8685 GB, free: 36.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.113, allocations: 12.48 MB / 0.8807 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002973/1.116, allocations: 4.307 MB / 0.8849 GB, free: 19.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004824/1.121, allocations: 1.844 MB / 0.8867 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.122, allocations: 423.2 kB / 0.8871 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/1.122, allocations: 0 / 0.8871 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of Templates: time 0.1628/1.285, allocations: 111.7 MB / 0.9962 GB, free: 2.07 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)