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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004982/0.004982, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00124/0.00124, allocations: 197.7 kB / 16.68 MB, free: 5.977 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9397/0.9397, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 0.5857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 81.02 MB / 0.6649 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04749/0.3873, allocations: 49.28 MB / 0.713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.4066, allocations: 13.8 MB / 0.7265 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.4087, allocations: 67.62 kB / 0.7265 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.4106, allocations: 0.807 MB / 0.7273 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005348/0.416, allocations: 2.242 MB / 0.7295 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.4189, allocations: 1.314 MB / 0.7308 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02007/0.439, allocations: 19.56 MB / 0.7499 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.451, allocations: 9.937 MB / 0.7596 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.4627, allocations: 6.536 MB / 0.766 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008979/0.4717, allocations: 5.766 MB / 0.7716 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001813/0.4735, allocations: 0.8438 MB / 0.7724 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.4784, allocations: 1.604 MB / 0.774 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002274/0.4807, allocations: 2.119 MB / 0.7761 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006164/0.4869, allocations: 4.291 MB / 0.7803 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.4998, allocations: 12.12 MB / 0.7921 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4998, allocations: 4 kB / 0.7921 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4998, allocations: 0 / 0.7921 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002072/0.5, allocations: 4 kB / 0.7921 GB, free: 14.19 MB / 0.6231 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.01436/0.5144, allocations: 7.913 MB / 0.7998 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5145, allocations: 12.02 kB / 0.7998 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.5156, allocations: 0.7719 MB / 0.8006 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.5179, allocations: 0.8127 MB / 0.8014 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.5283, allocations: 6.349 MB / 0.8076 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.5286, allocations: 415 kB / 0.808 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008354/0.5294, allocations: 0.5468 MB / 0.8085 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.5423, allocations: 8.065 MB / 0.8164 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.5424, allocations: 15.88 kB / 0.8164 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005518/0.543, allocations: 240 kB / 0.8166 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.5431, allocations: 160 kB / 0.8168 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.5536, allocations: 6.532 MB / 0.8232 GB, free: 13.96 MB / 0.6544 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.03798/0.5916, allocations: 31.26 MB / 0.8537 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005503/0.5971, allocations: 3.647 MB / 0.8573 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/0.6011, allocations: 2.796 MB / 0.86 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.6021, allocations: 0.8319 MB / 0.8608 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.248e-05/0.6022, allocations: 68.67 kB / 0.8609 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 5.049e-06/0.6022, allocations: 4 kB / 0.8609 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.274/0.8762, allocations: 5.782 MB / 0.8665 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.8763, allocations: 86 kB / 0.8666 GB, free: 174.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007793/0.8841, allocations: 5.231 MB / 0.8717 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005262/0.8847, allocations: 80.64 kB / 0.8718 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.8865, allocations: 2.937 MB / 0.8747 GB, free: 171.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009168/0.8874, allocations: 0.9753 MB / 0.8756 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009855/0.8884, allocations: 0.7155 MB / 0.8763 GB, free: 170.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.8885, allocations: 301.7 kB / 0.8766 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.8912, allocations: 1.679 MB / 0.8782 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.8938, allocations: 2.936 MB / 0.8811 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/0.8989, allocations: 4.965 MB / 0.886 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/0.8989, allocations: 11.72 kB / 0.886 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007897/0.9068, allocations: 5.467 MB / 0.8913 GB, free: 162.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.9069, allocations: 22.12 kB / 0.8913 GB, free: 162.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-05/0.9069, allocations: 38.78 kB / 0.8914 GB, free: 162.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008636/0.9078, allocations: 422.9 kB / 0.8918 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.9105, allocations: 0.8584 MB / 0.8926 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/0.915, allocations: 5.706 MB / 0.8982 GB, free: 157.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/0.919, allocations: 0.5275 MB / 0.8987 GB, free: 157.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/0.9195, allocations: 181.6 kB / 0.8989 GB, free: 157.1 MB / 0.6856 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.003117/0.9226, allocations: 2.294 MB / 0.9011 GB, free: 155.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.9237, allocations: 0.4974 MB / 0.9016 GB, free: 155.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.9294, allocations: 4.176 MB / 0.9057 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.9294, allocations: 25.47 kB / 0.9057 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.9295, allocations: 7.906 kB / 0.9057 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003919/0.9334, allocations: 3.634 MB / 0.9092 GB, free: 151 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.9457, allocations: 10.28 MB / 0.9193 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.9457, allocations: 4 kB / 0.9193 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.9476, allocations: 0.4998 MB / 0.9198 GB, free: 144 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000672/0.9482, allocations: 370.5 kB / 0.9201 GB, free: 143.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.9484, allocations: 79.95 kB / 0.9202 GB, free: 143.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.9523, allocations: 5.642 MB / 0.9257 GB, free: 137.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9523, allocations: 4 kB / 0.9257 GB, free: 137.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00705/0.9593, allocations: 6.279 MB / 0.9319 GB, free: 131.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/0.9614, allocations: 1.123 MB / 0.9329 GB, free: 130.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007584/0.9622, allocations: 59.98 kB / 0.933 GB, free: 130.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/0.9646, allocations: 184.4 kB / 0.9332 GB, free: 129.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.9649, allocations: 169.6 kB / 0.9333 GB, free: 129.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/0.9651, allocations: 131.9 kB / 0.9335 GB, free: 129.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004244/0.9693, allocations: 3.839 MB / 0.9372 GB, free: 125.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9693, allocations: 4 kB / 0.9372 GB, free: 125.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004364/0.9737, allocations: 1.809 MB / 0.939 GB, free: 124 MB / 0.6856 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.007758/0.9815, allocations: 7.213 MB / 0.946 GB, free: 116.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005088/0.9866, allocations: 4.289 MB / 0.9502 GB, free: 112.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.9866, allocations: 8.625 kB / 0.9502 GB, free: 112.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.9887, allocations: 2.039 MB / 0.9522 GB, free: 110.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01374/1.002, allocations: 3.457 MB / 0.9556 GB, free: 107 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04855/1.051, allocations: 47.13 MB / 1.002 GB, free: 58.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/1.054, allocations: 4.299 MB / 1.006 GB, free: 53.84 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004158/1.058, allocations: 1.851 MB / 1.008 GB, free: 51.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002556/1.06, allocations: 2.452 MB / 1.01 GB, free: 49.53 MB / 0.6856 GB Notification: Performance of SimCode: time 6.52e-07/1.06, allocations: 0 / 1.01 GB, free: 49.53 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2126/1.273, allocations: 154.1 MB / 1.161 GB, free: 8.473 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.99/21.26, allocations: 8.047 kB / 1.161 GB, free: 8.465 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)