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.001255/0.001255, allocations: 106.5 kB / 16.27 MB, free: 6.402 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.001361/0.001361, allocations: 191.2 kB / 17.2 MB, free: 5.938 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8128/0.8128, allocations: 132.2 MB / 423.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 55.91 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4714, allocations: 80.19 MB / 0.5807 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04797/0.5194, allocations: 49.29 MB / 0.6289 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02189/0.5413, allocations: 13.8 MB / 0.6423 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.5449, allocations: 67.62 kB / 0.6424 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.548, allocations: 0.807 MB / 0.6432 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.5559, allocations: 2.254 MB / 0.6454 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.5602, allocations: 1.295 MB / 0.6467 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02487/0.5851, allocations: 19.54 MB / 0.6657 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01458/0.5997, allocations: 9.945 MB / 0.6755 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01488/0.6146, allocations: 6.506 MB / 0.6818 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.6265, allocations: 5.766 MB / 0.6874 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003404/0.6299, allocations: 0.8438 MB / 0.6883 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007995/0.638, allocations: 1.604 MB / 0.6898 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004576/0.6426, allocations: 2.111 MB / 0.6919 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.6535, allocations: 4.299 MB / 0.6961 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01861/0.6722, allocations: 11.94 MB / 0.7078 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.6723, allocations: 0 / 0.7078 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6723, allocations: 0 / 0.7078 GB, free: 11.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005105/0.6728, allocations: 0 / 0.7078 GB, free: 11.81 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.02332/0.6961, allocations: 7.733 MB / 0.7153 GB, free: 4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6962, allocations: 8.031 kB / 0.7153 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.7012, allocations: 0.7891 MB / 0.7161 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.7162, allocations: 6.052 MB / 0.722 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/0.7167, allocations: 419 kB / 0.7224 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002393/0.7191, allocations: 0.5351 MB / 0.7229 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.7412, allocations: 8.076 MB / 0.7308 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002979/0.7416, allocations: 19.78 kB / 0.7308 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00193/0.7435, allocations: 236 kB / 0.731 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002359/0.7438, allocations: 167.9 kB / 0.7312 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.7603, allocations: 6.524 MB / 0.7376 GB, free: 12.88 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.3775/1.138, allocations: 31.42 MB / 0.7683 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006548/1.144, allocations: 3.64 MB / 0.7718 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004247/1.149, allocations: 2.809 MB / 0.7746 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009585/1.15, allocations: 0.8218 MB / 0.7754 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.644e-05/1.15, allocations: 79.19 kB / 0.7754 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 8.396e-06/1.15, allocations: 0 / 0.7754 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01151/1.161, allocations: 5.771 MB / 0.7811 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/1.161, allocations: 75.7 kB / 0.7811 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009286/1.171, allocations: 5.232 MB / 0.7863 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007164/1.171, allocations: 77.83 kB / 0.7863 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00242/1.174, allocations: 2.88 MB / 0.7891 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001317/1.175, allocations: 0.9308 MB / 0.79 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/1.177, allocations: 0.7129 MB / 0.7907 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/1.177, allocations: 305.1 kB / 0.791 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/1.179, allocations: 1.677 MB / 0.7927 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002854/1.182, allocations: 2.93 MB / 0.7955 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005458/1.188, allocations: 4.961 MB / 0.8004 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.891e-05/1.188, allocations: 12 kB / 0.8004 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008788/1.197, allocations: 5.445 MB / 0.8057 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/1.197, allocations: 20 kB / 0.8057 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.582e-05/1.197, allocations: 40.84 kB / 0.8058 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009272/1.198, allocations: 423.4 kB / 0.8062 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/1.201, allocations: 0.8619 MB / 0.807 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/1.205, allocations: 5.703 MB / 0.8126 GB, free: 95.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/1.21, allocations: 0.5144 MB / 0.8131 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000624/1.211, allocations: 179.9 kB / 0.8133 GB, free: 95.12 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.004287/1.215, allocations: 2.292 MB / 0.8155 GB, free: 92.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/1.217, allocations: 486.1 kB / 0.816 GB, free: 92.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007311/1.224, allocations: 4.181 MB / 0.82 GB, free: 88.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.224, allocations: 24.88 kB / 0.8201 GB, free: 88.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.225, allocations: 7.938 kB / 0.8201 GB, free: 88.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004611/1.229, allocations: 3.641 MB / 0.8236 GB, free: 84.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.249, allocations: 10.28 MB / 0.8337 GB, free: 73.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.249, allocations: 4 kB / 0.8337 GB, free: 73.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/1.251, allocations: 0.5031 MB / 0.8342 GB, free: 73.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008102/1.252, allocations: 384.3 kB / 0.8345 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003344/1.253, allocations: 71.95 kB / 0.8346 GB, free: 72.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/1.257, allocations: 5.642 MB / 0.8401 GB, free: 67.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.257, allocations: 7.938 kB / 0.8401 GB, free: 67.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009216/1.266, allocations: 6.243 MB / 0.8462 GB, free: 60.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002964/1.269, allocations: 1.1 MB / 0.8473 GB, free: 59.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.271, allocations: 63.98 kB / 0.8473 GB, free: 59.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/1.274, allocations: 174.9 kB / 0.8475 GB, free: 59.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.275, allocations: 177.6 kB / 0.8477 GB, free: 59.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/1.275, allocations: 123.9 kB / 0.8478 GB, free: 58.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005753/1.281, allocations: 3.843 MB / 0.8516 GB, free: 55.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/1.281, allocations: 0 / 0.8516 GB, free: 55.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006592/1.287, allocations: 1.803 MB / 0.8533 GB, free: 53.38 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.001641/1.289, allocations: 488.1 kB / 0.8538 GB, free: 52.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.302, allocations: 8.073 MB / 0.8617 GB, free: 44.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.302, allocations: 4 kB / 0.8617 GB, free: 44.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/1.305, allocations: 2.039 MB / 0.8637 GB, free: 42.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0163/1.321, allocations: 3.468 MB / 0.867 GB, free: 39.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.342, allocations: 12.66 MB / 0.8794 GB, free: 26.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006184/1.348, allocations: 4.25 MB / 0.8836 GB, free: 22.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002562/1.351, allocations: 447.2 kB / 0.884 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.402e-06/1.351, allocations: 0 / 0.884 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.5722/1.923, allocations: 173.7 MB / 1.054 GB, free: 193.4 MB / 0.67 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)