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.001522/0.001522, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 193 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9252/0.9252, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.09 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3208/0.4721, allocations: 49.28 MB / 0.6326 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.4863, allocations: 13.8 MB / 0.6461 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.4887, allocations: 67.03 kB / 0.6461 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.4904, allocations: 0.8078 MB / 0.6469 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.496, allocations: 2.247 MB / 0.6491 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.4991, allocations: 1.301 MB / 0.6504 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01757/0.5167, allocations: 19.54 MB / 0.6695 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.5286, allocations: 9.936 MB / 0.6792 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/0.544, allocations: 6.513 MB / 0.6855 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.5564, allocations: 5.768 MB / 0.6912 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003128/0.5596, allocations: 0.8462 MB / 0.692 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008078/0.5677, allocations: 1.603 MB / 0.6936 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004496/0.5722, allocations: 2.117 MB / 0.6956 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01024/0.5825, allocations: 4.291 MB / 0.6998 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.5972, allocations: 11.94 MB / 0.7115 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5973, allocations: 0 / 0.7115 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5973, allocations: 0 / 0.7115 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003544/0.5977, allocations: 0 / 0.7115 GB, free: 10.96 MB / 0.5294 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.01766/0.6153, allocations: 7.734 MB / 0.719 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6154, allocations: 8.031 kB / 0.719 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/0.6173, allocations: 0.772 MB / 0.7198 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.6202, allocations: 0.7852 MB / 0.7205 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009801/0.63, allocations: 6.049 MB / 0.7265 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.6303, allocations: 423 kB / 0.7269 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007971/0.6311, allocations: 0.539 MB / 0.7274 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.6436, allocations: 8.068 MB / 0.7353 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.6438, allocations: 19.78 kB / 0.7353 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005587/0.6443, allocations: 240 kB / 0.7355 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.6445, allocations: 160 kB / 0.7357 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.6548, allocations: 6.528 MB / 0.742 GB, free: 11.25 MB / 0.5606 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.03899/0.6938, allocations: 31.42 MB / 0.7727 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005193/0.699, allocations: 3.655 MB / 0.7763 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/0.7027, allocations: 2.811 MB / 0.779 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009014/0.7036, allocations: 0.8241 MB / 0.7798 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/0.7037, allocations: 76.61 kB / 0.7799 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.197e-06/0.7037, allocations: 4 kB / 0.7799 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01013/0.7138, allocations: 5.767 MB / 0.7856 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.7139, allocations: 77.52 kB / 0.7856 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006855/0.7208, allocations: 5.235 MB / 0.7907 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/0.7211, allocations: 77.7 kB / 0.7908 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.7233, allocations: 2.864 MB / 0.7936 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009981/0.7243, allocations: 0.9398 MB / 0.7945 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000937/0.7253, allocations: 0.7191 MB / 0.7952 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.7254, allocations: 305.1 kB / 0.7955 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.7278, allocations: 1.674 MB / 0.7972 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.7309, allocations: 2.932 MB / 0.8 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005852/0.7368, allocations: 4.97 MB / 0.8049 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/0.7368, allocations: 12 kB / 0.8049 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009531/0.7464, allocations: 5.438 MB / 0.8102 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.7464, allocations: 24.06 kB / 0.8102 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/0.7465, allocations: 40 kB / 0.8103 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009502/0.7474, allocations: 421.3 kB / 0.8107 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.7504, allocations: 0.858 MB / 0.8115 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005529/0.7559, allocations: 5.7 MB / 0.8171 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/0.7602, allocations: 0.5223 MB / 0.8176 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003274/0.7605, allocations: 176 kB / 0.8177 GB, free: 10.05 MB / 0.6387 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.003593/0.7641, allocations: 2.28 MB / 0.82 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/0.7656, allocations: 486.1 kB / 0.8204 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006565/0.7721, allocations: 4.193 MB / 0.8245 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.7722, allocations: 24 kB / 0.8245 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.7722, allocations: 8 kB / 0.8246 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004837/0.777, allocations: 3.633 MB / 0.8281 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.7952, allocations: 10.28 MB / 0.8381 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.7952, allocations: 4 kB / 0.8381 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/0.7974, allocations: 0.5078 MB / 0.8386 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008248/0.7982, allocations: 377.3 kB / 0.839 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.7984, allocations: 79.91 kB / 0.8391 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005353/0.8038, allocations: 5.629 MB / 0.8446 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.8038, allocations: 11.88 kB / 0.8446 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009398/0.8132, allocations: 6.243 MB / 0.8507 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/0.8158, allocations: 1.1 MB / 0.8518 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008342/0.8167, allocations: 63.98 kB / 0.8518 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/0.8193, allocations: 175.8 kB / 0.852 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.8197, allocations: 177.6 kB / 0.8522 GB, free: 5.973 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/0.8199, allocations: 131.9 kB / 0.8523 GB, free: 5.844 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005592/0.8255, allocations: 3.843 MB / 0.856 GB, free: 2.016 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8255, allocations: 0 / 0.856 GB, free: 2.016 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005139/0.8307, allocations: 1.8 MB / 0.8578 GB, free: 216 kB / 0.67 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.2889/1.12, allocations: 7.175 MB / 0.8648 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.132, allocations: 8.064 MB / 0.8727 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.132, allocations: 2.812 kB / 0.8727 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002246/1.134, allocations: 2.041 MB / 0.8747 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/1.148, allocations: 3.48 MB / 0.8781 GB, free: 196.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07524/1.224, allocations: 57.85 MB / 0.9346 GB, free: 161.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004041/1.228, allocations: 4.305 MB / 0.9388 GB, free: 159.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00584/1.234, allocations: 1.851 MB / 0.9406 GB, free: 159.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00329/1.237, allocations: 2.451 MB / 0.943 GB, free: 157.3 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/1.237, allocations: 3.938 kB / 0.943 GB, free: 157.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1938/1.431, allocations: 158.1 MB / 1.097 GB, free: 4.316 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.72, allocations: 17.45 kB / 1.097 GB, free: 4.305 MB / 0.67 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)