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.005888/0.005888, allocations: 100.2 kB / 15.73 MB, free: 6.441 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.001144/0.001145, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8776/0.8776, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3325, allocations: 80.91 MB / 0.6641 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04285/0.3754, allocations: 49.28 MB / 0.7123 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.3923, allocations: 13.8 MB / 0.7258 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.3943, allocations: 67.62 kB / 0.7258 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.3962, allocations: 0.8266 MB / 0.7266 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.4013, allocations: 2.352 MB / 0.7289 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.4041, allocations: 1.307 MB / 0.7302 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01672/0.4209, allocations: 19.6 MB / 0.7493 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009923/0.4308, allocations: 9.93 MB / 0.759 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.4411, allocations: 6.61 MB / 0.7655 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007323/0.4484, allocations: 5.77 MB / 0.7711 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.4497, allocations: 0.8438 MB / 0.7719 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/0.4534, allocations: 1.604 MB / 0.7735 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.4553, allocations: 2.111 MB / 0.7756 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005123/0.4604, allocations: 4.299 MB / 0.7798 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.4718, allocations: 12.12 MB / 0.7916 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4718, allocations: 4 kB / 0.7916 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4718, allocations: 0 / 0.7916 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002099/0.472, allocations: 0 / 0.7916 GB, free: 14.77 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.01338/0.4854, allocations: 7.917 MB / 0.7993 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4855, allocations: 12.03 kB / 0.7994 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001026/0.4865, allocations: 0.7681 MB / 0.8001 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.4888, allocations: 0.8204 MB / 0.8009 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.4999, allocations: 6.349 MB / 0.8071 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.5002, allocations: 415 kB / 0.8075 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008916/0.5011, allocations: 0.5468 MB / 0.808 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.5137, allocations: 8.068 MB / 0.8159 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.5138, allocations: 15.89 kB / 0.8159 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005826/0.5144, allocations: 236 kB / 0.8162 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.5146, allocations: 167.9 kB / 0.8163 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.5247, allocations: 6.52 MB / 0.8227 GB, free: 14.54 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.03455/0.5592, allocations: 31.26 MB / 0.8532 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004913/0.5642, allocations: 3.641 MB / 0.8568 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003536/0.5677, allocations: 2.798 MB / 0.8595 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008677/0.5686, allocations: 0.8241 MB / 0.8603 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.5687, allocations: 72.67 kB / 0.8604 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 4.298e-06/0.5687, allocations: 0 / 0.8604 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.009833/0.5785, allocations: 5.793 MB / 0.866 GB, free: 60 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2615/0.84, allocations: 77.55 kB / 0.8661 GB, free: 176 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008075/0.8482, allocations: 5.234 MB / 0.8712 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006206/0.8488, allocations: 76.02 kB / 0.8713 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.8508, allocations: 2.94 MB / 0.8742 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009492/0.8518, allocations: 0.9809 MB / 0.8751 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009605/0.8527, allocations: 0.7235 MB / 0.8758 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.8528, allocations: 301.9 kB / 0.8761 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.8556, allocations: 1.672 MB / 0.8777 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.8584, allocations: 2.936 MB / 0.8806 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005186/0.8636, allocations: 4.963 MB / 0.8855 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.8637, allocations: 17.03 kB / 0.8855 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007963/0.8716, allocations: 5.455 MB / 0.8908 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.8717, allocations: 23.22 kB / 0.8908 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/0.8717, allocations: 40.56 kB / 0.8909 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008673/0.8726, allocations: 421.5 kB / 0.8913 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.8755, allocations: 0.8585 MB / 0.8921 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.8799, allocations: 5.703 MB / 0.8977 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/0.8836, allocations: 0.5274 MB / 0.8982 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/0.8839, allocations: 177.4 kB / 0.8984 GB, free: 158.9 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.003065/0.887, allocations: 2.285 MB / 0.9006 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009679/0.888, allocations: 0.5019 MB / 0.9011 GB, free: 157.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/0.8936, allocations: 4.194 MB / 0.9052 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.8936, allocations: 29.78 kB / 0.9052 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.8936, allocations: 8.719 kB / 0.9052 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004028/0.8977, allocations: 3.63 MB / 0.9088 GB, free: 152.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.9103, allocations: 10.27 MB / 0.9188 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.9104, allocations: 7.062 kB / 0.9188 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.9123, allocations: 0.4993 MB / 0.9193 GB, free: 145.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/0.913, allocations: 378.6 kB / 0.9196 GB, free: 145 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.9132, allocations: 75.95 kB / 0.9197 GB, free: 144.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/0.9172, allocations: 5.64 MB / 0.9252 GB, free: 139.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9172, allocations: 6.625 kB / 0.9252 GB, free: 139.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006946/0.9242, allocations: 6.276 MB / 0.9314 GB, free: 132.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/0.9263, allocations: 1.126 MB / 0.9325 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006428/0.927, allocations: 63.98 kB / 0.9325 GB, free: 131.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002492/0.9295, allocations: 168.9 kB / 0.9327 GB, free: 131.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.9297, allocations: 185.6 kB / 0.9329 GB, free: 131.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/0.9299, allocations: 123.9 kB / 0.933 GB, free: 131 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004264/0.9342, allocations: 3.843 MB / 0.9367 GB, free: 127.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9342, allocations: 0 / 0.9367 GB, free: 127.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004078/0.9383, allocations: 1.811 MB / 0.9385 GB, free: 125.4 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.007611/0.9459, allocations: 7.205 MB / 0.9455 GB, free: 118 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005332/0.9513, allocations: 4.291 MB / 0.9497 GB, free: 113.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.9513, allocations: 0 / 0.9497 GB, free: 113.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.9535, allocations: 2.042 MB / 0.9517 GB, free: 111.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01248/0.966, allocations: 3.466 MB / 0.9551 GB, free: 108.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04808/1.014, allocations: 47.12 MB / 1.001 GB, free: 59.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/1.017, allocations: 4.315 MB / 1.005 GB, free: 55.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004301/1.021, allocations: 1.847 MB / 1.007 GB, free: 53.31 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002548/1.024, allocations: 2.44 MB / 1.01 GB, free: 50.87 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/1.024, allocations: 0 / 1.01 GB, free: 50.87 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1922/1.216, allocations: 154.1 MB / 1.16 GB, free: 9.805 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/18.97, allocations: 7.75 kB / 1.16 GB, free: 9.801 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)