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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_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.004359/0.004359, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.001221/0.001221, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7957/0.7957, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001807, allocations: 68.19 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1331, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04953/0.1826, allocations: 49.29 MB / 0.7073 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.2017, allocations: 13.8 MB / 0.7208 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.2039, allocations: 67.62 kB / 0.7209 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.2063, allocations: 0.8109 MB / 0.7216 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.2123, allocations: 2.25 MB / 0.7238 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.2154, allocations: 1.302 MB / 0.7251 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02006/0.2355, allocations: 19.56 MB / 0.7442 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3291/0.5646, allocations: 9.926 MB / 0.7539 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/0.579, allocations: 6.534 MB / 0.7603 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.5908, allocations: 5.77 MB / 0.7659 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003361/0.5942, allocations: 0.8442 MB / 0.7668 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007479/0.6017, allocations: 1.601 MB / 0.7683 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004467/0.6062, allocations: 2.116 MB / 0.7704 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009781/0.616, allocations: 4.291 MB / 0.7746 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01485/0.6309, allocations: 12.11 MB / 0.7864 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.6309, allocations: 2.203 kB / 0.7864 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6309, allocations: 0 / 0.7864 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000381/0.6313, allocations: 0 / 0.7864 GB, free: 2.051 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.02029/0.6516, allocations: 7.93 MB / 0.7942 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6517, allocations: 9.125 kB / 0.7942 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002958/0.6546, allocations: 0.7684 MB / 0.7949 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.6593, allocations: 0.8266 MB / 0.7957 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.6718, allocations: 6.338 MB / 0.8019 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.6722, allocations: 416.2 kB / 0.8023 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.6742, allocations: 0.5432 MB / 0.8028 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.6928, allocations: 8.069 MB / 0.8107 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.693, allocations: 21.31 kB / 0.8107 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00131/0.6943, allocations: 237.5 kB / 0.811 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.6945, allocations: 173.4 kB / 0.8111 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.7081, allocations: 6.52 MB / 0.8175 GB, free: 3.062 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.05354/0.7617, allocations: 31.26 MB / 0.848 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006732/0.7685, allocations: 3.649 MB / 0.8516 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004774/0.7733, allocations: 2.801 MB / 0.8543 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.7744, allocations: 0.824 MB / 0.8551 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.069e-05/0.7745, allocations: 80.66 kB / 0.8552 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 5.761e-06/0.7745, allocations: 0 / 0.8552 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01302/0.7876, allocations: 5.782 MB / 0.8608 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.7877, allocations: 85.52 kB / 0.8609 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/0.7987, allocations: 5.232 MB / 0.866 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007586/0.7995, allocations: 77.7 kB / 0.8661 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003447/0.8029, allocations: 2.937 MB / 0.869 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/0.8048, allocations: 0.9819 MB / 0.8699 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00214/0.8069, allocations: 0.7156 MB / 0.8706 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.8071, allocations: 304.9 kB / 0.8709 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/0.8101, allocations: 1.678 MB / 0.8726 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004234/0.8144, allocations: 2.932 MB / 0.8754 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007644/0.8221, allocations: 4.968 MB / 0.8803 GB, free: 324 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-05/0.8221, allocations: 12 kB / 0.8803 GB, free: 312 kB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01144/0.8336, allocations: 5.462 MB / 0.8856 GB, free: 11.04 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.8337, allocations: 24 kB / 0.8856 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.04e-05/0.8337, allocations: 43.94 kB / 0.8857 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.8348, allocations: 420.6 kB / 0.8861 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/0.8383, allocations: 0.8567 MB / 0.8869 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006827/0.8452, allocations: 5.692 MB / 0.8925 GB, free: 3.848 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005037/0.8503, allocations: 0.5354 MB / 0.893 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009264/0.8512, allocations: 184 kB / 0.8932 GB, free: 3.129 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.006035/0.8573, allocations: 2.278 MB / 0.8954 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/0.8594, allocations: 0.5085 MB / 0.8959 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009339/0.8687, allocations: 4.179 MB / 0.9 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/0.8688, allocations: 28 kB / 0.9 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.8688, allocations: 4 kB / 0.9 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006209/0.875, allocations: 3.631 MB / 0.9036 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02156/0.8966, allocations: 10.27 MB / 0.9136 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.8967, allocations: 4 kB / 0.9136 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/0.899, allocations: 0.5021 MB / 0.9141 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.8999, allocations: 375.5 kB / 0.9144 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003138/0.9002, allocations: 75.95 kB / 0.9145 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006312/0.9066, allocations: 5.658 MB / 0.92 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.9066, allocations: 10.66 kB / 0.9201 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.9194, allocations: 6.273 MB / 0.9262 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003675/0.9231, allocations: 1.123 MB / 0.9273 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/0.9249, allocations: 63.98 kB / 0.9273 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003894/0.9288, allocations: 169.3 kB / 0.9275 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005914/0.9294, allocations: 176.8 kB / 0.9277 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005407/0.93, allocations: 123.9 kB / 0.9278 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.008268/0.9382, allocations: 3.847 MB / 0.9315 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.81e-07/0.9383, allocations: 0 / 0.9315 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007746/0.946, allocations: 1.809 MB / 0.9333 GB, free: 9.516 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.01366/0.9597, allocations: 7.219 MB / 0.9404 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007758/0.9675, allocations: 4.278 MB / 0.9445 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.9676, allocations: 4 kB / 0.9445 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/0.9711, allocations: 2.046 MB / 0.9465 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01762/0.9888, allocations: 3.459 MB / 0.9499 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08971/1.079, allocations: 47.13 MB / 0.9959 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/1.084, allocations: 4.305 MB / 1 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005795/1.09, allocations: 1.849 MB / 1.002 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004481/1.095, allocations: 2.449 MB / 1.004 GB, free: 15.54 MB / 0.795 GB Notification: Performance of SimCode: time 1.202e-06/1.095, allocations: 0 / 1.004 GB, free: 15.54 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5001/1.595, allocations: 154.1 MB / 1.155 GB, free: 240 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.54/22.14, allocations: 11.64 kB / 1.155 GB, free: 240 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)