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.005836/0.005841, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001227/0.001228, allocations: 196 kB / 16.68 MB, free: 5.965 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8473/0.8473, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 70.17 kB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1943, allocations: 80.2 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05007/0.2444, allocations: 49.28 MB / 0.7078 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.2661, allocations: 13.8 MB / 0.7213 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.2696, allocations: 67.62 kB / 0.7213 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.2726, allocations: 0.8266 MB / 0.7221 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.2801, allocations: 2.348 MB / 0.7244 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.2839, allocations: 1.314 MB / 0.7257 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02049/0.3044, allocations: 19.58 MB / 0.7448 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4346/0.739, allocations: 9.926 MB / 0.7545 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.7537, allocations: 6.595 MB / 0.761 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01523/0.769, allocations: 5.767 MB / 0.7666 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004728/0.7738, allocations: 0.848 MB / 0.7674 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009588/0.7834, allocations: 1.602 MB / 0.769 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005031/0.7884, allocations: 2.118 MB / 0.7711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0125/0.801, allocations: 4.29 MB / 0.7753 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/0.8187, allocations: 12.08 MB / 0.7871 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8188, allocations: 0 / 0.7871 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8188, allocations: 0 / 0.7871 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005082/0.8193, allocations: 0 / 0.7871 GB, free: 2.219 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.02412/0.8434, allocations: 7.737 MB / 0.7946 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.8435, allocations: 11.75 kB / 0.7946 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/0.8479, allocations: 0.7846 MB / 0.7954 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.8605, allocations: 6.309 MB / 0.8016 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.8609, allocations: 414.6 kB / 0.802 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/0.8628, allocations: 0.5466 MB / 0.8025 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/0.8844, allocations: 8.068 MB / 0.8104 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.8847, allocations: 16.69 kB / 0.8104 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/0.8863, allocations: 238.5 kB / 0.8106 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.8865, allocations: 167.8 kB / 0.8108 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.8999, allocations: 6.524 MB / 0.8171 GB, free: 3.887 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.05715/0.9571, allocations: 31.19 MB / 0.8476 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00666/0.9638, allocations: 3.651 MB / 0.8512 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004497/0.9683, allocations: 2.805 MB / 0.8539 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.9694, allocations: 0.8247 MB / 0.8547 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.9695, allocations: 75.83 kB / 0.8548 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 6.252e-06/0.9695, allocations: 0 / 0.8548 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01291/0.9824, allocations: 5.759 MB / 0.8604 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.9825, allocations: 81.52 kB / 0.8605 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/0.9937, allocations: 5.235 MB / 0.8656 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008525/0.9946, allocations: 81.7 kB / 0.8657 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003231/0.9979, allocations: 2.874 MB / 0.8685 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001842/0.9998, allocations: 0.9342 MB / 0.8694 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/1.002, allocations: 0.7113 MB / 0.8701 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.002, allocations: 309.1 kB / 0.8704 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/1.006, allocations: 1.678 MB / 0.872 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/1.01, allocations: 2.939 MB / 0.8749 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007479/1.017, allocations: 4.956 MB / 0.8797 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.401e-05/1.017, allocations: 16 kB / 0.8797 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01154/1.029, allocations: 5.433 MB / 0.885 GB, free: 12.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/1.029, allocations: 26.66 kB / 0.8851 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.586e-05/1.029, allocations: 40 kB / 0.8851 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.03, allocations: 432.9 kB / 0.8855 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/1.034, allocations: 0.8522 MB / 0.8864 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006102/1.04, allocations: 5.692 MB / 0.8919 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005792/1.045, allocations: 0.5107 MB / 0.8924 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008349/1.046, allocations: 180 kB / 0.8926 GB, free: 4.219 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.006199/1.053, allocations: 2.296 MB / 0.8948 GB, free: 1.973 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002715/1.055, allocations: 490.1 kB / 0.8953 GB, free: 1.488 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009585/1.065, allocations: 4.179 MB / 0.8994 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/1.065, allocations: 31.94 kB / 0.8994 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.065, allocations: 4 kB / 0.8994 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005967/1.071, allocations: 3.633 MB / 0.903 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02588/1.097, allocations: 10.27 MB / 0.913 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.097, allocations: 4 kB / 0.913 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/1.099, allocations: 0.4963 MB / 0.9135 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009429/1.1, allocations: 373.4 kB / 0.9138 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002981/1.1, allocations: 75.95 kB / 0.9139 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006207/1.107, allocations: 5.657 MB / 0.9194 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.107, allocations: 11.78 kB / 0.9194 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.118, allocations: 6.248 MB / 0.9255 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00375/1.122, allocations: 1.1 MB / 0.9266 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001828/1.124, allocations: 63.98 kB / 0.9267 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004321/1.128, allocations: 169.7 kB / 0.9268 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/1.129, allocations: 177.5 kB / 0.927 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004576/1.129, allocations: 123.9 kB / 0.9271 GB, free: 328 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.009156/1.138, allocations: 3.843 MB / 0.9309 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.2e-07/1.138, allocations: 0 / 0.9309 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.009203/1.147, allocations: 1.804 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.001916/1.149, allocations: 487.9 kB / 0.9331 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008322/1.158, allocations: 4.274 MB / 0.9373 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.158, allocations: 4 kB / 0.9373 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003505/1.161, allocations: 2.038 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.02015/1.181, 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.02963/1.211, allocations: 12.5 MB / 0.9548 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00723/1.218, allocations: 4.3 MB / 0.959 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.007975/1.226, allocations: 1.852 MB / 0.9609 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/1.228, allocations: 422 kB / 0.9613 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/1.228, allocations: 0 / 0.9613 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.5438/1.772, allocations: 113.2 MB / 1.072 GB, free: 302.5 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)