Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007812/0.007811, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001776/0.001776, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8275/0.8275, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.06 kB / 0.5813 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2029, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0495/0.2524, allocations: 49.29 MB / 0.7078 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.2727, allocations: 13.8 MB / 0.7213 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.2757, allocations: 67.62 kB / 0.7213 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.2782, allocations: 0.8305 MB / 0.7221 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.2855, allocations: 2.348 MB / 0.7244 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.2891, allocations: 1.317 MB / 0.7257 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02065/0.3098, allocations: 19.58 MB / 0.7448 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4019/0.7117, allocations: 9.925 MB / 0.7545 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01778/0.7295, allocations: 6.593 MB / 0.761 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01726/0.7468, allocations: 5.775 MB / 0.7666 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004193/0.751, allocations: 0.844 MB / 0.7674 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009166/0.7602, allocations: 1.602 MB / 0.769 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004404/0.7647, allocations: 2.116 MB / 0.7711 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01132/0.776, allocations: 4.291 MB / 0.7753 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.7934, allocations: 12.08 MB / 0.7871 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.7934, allocations: 5.344 kB / 0.7871 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7934, allocations: 0 / 0.7871 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004859/0.7939, allocations: 0 / 0.7871 GB, free: 2.262 MB / 0.5762 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.02079/0.8147, allocations: 7.731 MB / 0.7946 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8148, allocations: 9.031 kB / 0.7946 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/0.8185, allocations: 0.788 MB / 0.7954 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/0.8327, allocations: 6.308 MB / 0.8016 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005585/0.8333, allocations: 423.2 kB / 0.802 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/0.836, allocations: 0.5411 MB / 0.8025 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.8598, allocations: 8.066 MB / 0.8104 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.86, allocations: 16.5 kB / 0.8104 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008382/0.8608, allocations: 239.7 kB / 0.8106 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.861, allocations: 169.4 kB / 0.8108 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.8737, allocations: 6.522 MB / 0.8171 GB, free: 3.902 MB / 0.5919 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.04943/0.9232, allocations: 31.19 MB / 0.8476 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/0.9292, allocations: 3.65 MB / 0.8512 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003995/0.9332, allocations: 2.801 MB / 0.8539 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.9342, allocations: 0.8247 MB / 0.8547 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.9343, allocations: 64.67 kB / 0.8548 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 6.863e-06/0.9344, allocations: 4 kB / 0.8548 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01201/0.9464, allocations: 5.762 MB / 0.8604 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.9465, allocations: 81.52 kB / 0.8605 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009071/0.9556, allocations: 5.239 MB / 0.8656 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007536/0.9563, allocations: 81.7 kB / 0.8657 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003076/0.9594, allocations: 2.872 MB / 0.8685 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.9609, allocations: 0.9323 MB / 0.8694 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.9621, allocations: 0.7113 MB / 0.8701 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9622, allocations: 309 kB / 0.8704 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.9648, allocations: 1.674 MB / 0.872 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003367/0.9682, allocations: 2.943 MB / 0.8749 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006124/0.9743, allocations: 4.964 MB / 0.8797 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.9743, allocations: 12 kB / 0.8797 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008953/0.9833, allocations: 5.432 MB / 0.885 GB, free: 12.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.9834, allocations: 28.25 kB / 0.8851 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/0.9834, allocations: 40 kB / 0.8851 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009644/0.9844, allocations: 428.8 kB / 0.8855 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.9872, allocations: 0.8566 MB / 0.8864 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.9931, allocations: 5.684 MB / 0.8919 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/0.9976, allocations: 0.5107 MB / 0.8924 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/0.998, allocations: 184 kB / 0.8926 GB, free: 4.223 MB / 0.67 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.004535/1.003, allocations: 2.284 MB / 0.8948 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/1.004, allocations: 494.1 kB / 0.8953 GB, free: 1.496 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007074/1.011, allocations: 4.181 MB / 0.8994 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/1.011, allocations: 28.05 kB / 0.8994 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.011, allocations: 7.984 kB / 0.8994 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005044/1.016, allocations: 3.631 MB / 0.9029 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.034, allocations: 10.28 MB / 0.913 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.034, allocations: 7.656 kB / 0.913 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/1.036, allocations: 0.5036 MB / 0.9135 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008484/1.037, allocations: 368.2 kB / 0.9138 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.037, allocations: 79.95 kB / 0.9139 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005887/1.043, allocations: 5.644 MB / 0.9194 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.043, allocations: 10.75 kB / 0.9194 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.054, allocations: 6.237 MB / 0.9255 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003295/1.057, allocations: 1.104 MB / 0.9266 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.058, allocations: 59.98 kB / 0.9267 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003314/1.062, allocations: 177.8 kB / 0.9268 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.062, allocations: 179.6 kB / 0.927 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002841/1.062, allocations: 131.9 kB / 0.9271 GB, free: 324 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.006921/1.069, allocations: 3.839 MB / 0.9309 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.069, allocations: 4 kB / 0.9309 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007113/1.076, allocations: 1.8 MB / 0.9326 GB, free: 10.68 MB / 0.7169 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.001375/1.078, allocations: 487 kB / 0.9331 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007337/1.085, allocations: 4.272 MB / 0.9373 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.085, allocations: 4 kB / 0.9373 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.088, allocations: 2.04 MB / 0.9393 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01617/1.104, allocations: 3.452 MB / 0.9426 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/1.127, allocations: 12.5 MB / 0.9548 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004476/1.132, allocations: 4.299 MB / 0.959 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.006282/1.138, allocations: 1.849 MB / 0.9608 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.14, allocations: 418.4 kB / 0.9612 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of SimCode: time 1.393e-06/1.14, allocations: 0 / 0.9612 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.6967/1.836, allocations: 113.2 MB / 1.072 GB, free: 302.8 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)