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.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 132 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.001105/0.001105, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.768/0.768, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 60.56 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04886/0.4489, allocations: 49.29 MB / 0.6283 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.467, allocations: 13.8 MB / 0.6418 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.4691, allocations: 67.62 kB / 0.6419 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.471, allocations: 0.8031 MB / 0.6426 GB, free: 1.379 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004917/0.476, allocations: 2.26 MB / 0.6449 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.4789, allocations: 1.296 MB / 0.6461 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01737/0.4963, allocations: 19.54 MB / 0.6652 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.5087, allocations: 9.933 MB / 0.6749 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.5198, allocations: 6.52 MB / 0.6813 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008684/0.5285, allocations: 5.766 MB / 0.6869 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002696/0.5312, allocations: 0.8438 MB / 0.6877 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006533/0.5377, allocations: 1.604 MB / 0.6893 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003329/0.5411, allocations: 2.111 MB / 0.6914 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008529/0.5496, allocations: 4.287 MB / 0.6955 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.5635, allocations: 11.94 MB / 0.7072 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5636, allocations: 7.938 kB / 0.7072 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5636, allocations: 0 / 0.7072 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000338/0.5639, allocations: 7.984 kB / 0.7072 GB, free: 15.03 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.01652/0.5805, allocations: 7.725 MB / 0.7148 GB, free: 7.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5805, allocations: 12.03 kB / 0.7148 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/0.5817, allocations: 0.7681 MB / 0.7155 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.5843, allocations: 0.7891 MB / 0.7163 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/0.5957, allocations: 6.049 MB / 0.7222 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.596, allocations: 419 kB / 0.7226 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.5972, allocations: 0.539 MB / 0.7231 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.6096, allocations: 8.065 MB / 0.731 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.84e-05/0.6097, allocations: 19.78 kB / 0.731 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000551/0.6102, allocations: 240 kB / 0.7313 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.6104, allocations: 167.9 kB / 0.7314 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009927/0.6203, allocations: 6.524 MB / 0.7378 GB, free: 15.32 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.03886/0.6592, allocations: 31.43 MB / 0.7685 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005268/0.6645, allocations: 3.648 MB / 0.772 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003756/0.6683, allocations: 2.808 MB / 0.7748 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009066/0.6692, allocations: 0.828 MB / 0.7756 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.6693, allocations: 72.67 kB / 0.7757 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 4.689e-06/0.6693, allocations: 0 / 0.7757 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01051/0.6798, allocations: 5.763 MB / 0.7813 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.6799, allocations: 81.5 kB / 0.7814 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007688/0.6876, allocations: 5.239 MB / 0.7865 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003807/0.688, allocations: 77.7 kB / 0.7866 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002451/0.6904, allocations: 2.86 MB / 0.7893 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.6916, allocations: 0.9436 MB / 0.7903 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.6926, allocations: 0.7152 MB / 0.791 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6927, allocations: 309.1 kB / 0.7913 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.6952, allocations: 1.678 MB / 0.7929 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/0.6985, allocations: 2.928 MB / 0.7958 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006119/0.7046, allocations: 4.966 MB / 0.8006 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/0.7046, allocations: 12 kB / 0.8006 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008656/0.7133, allocations: 5.434 MB / 0.8059 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.7134, allocations: 27.94 kB / 0.806 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-05/0.7134, allocations: 40 kB / 0.806 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.7144, allocations: 428.1 kB / 0.8064 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/0.7174, allocations: 0.8619 MB / 0.8072 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2368/0.9541, allocations: 5.68 MB / 0.8128 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/0.9585, allocations: 0.5167 MB / 0.8133 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/0.9589, allocations: 180 kB / 0.8135 GB, free: 197.7 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.004091/0.963, allocations: 2.286 MB / 0.8157 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/0.9645, allocations: 496.4 kB / 0.8162 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/0.9716, allocations: 4.174 MB / 0.8202 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/0.9716, allocations: 26.72 kB / 0.8203 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.9716, allocations: 4.938 kB / 0.8203 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00499/0.9766, allocations: 3.633 MB / 0.8238 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.9917, allocations: 10.29 MB / 0.8339 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.9917, allocations: 7.562 kB / 0.8339 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/0.9939, allocations: 0.4978 MB / 0.8344 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008366/0.9948, allocations: 376.1 kB / 0.8347 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.9949, allocations: 77.7 kB / 0.8348 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005107/1, allocations: 5.644 MB / 0.8403 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1, allocations: 4.969 kB / 0.8403 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007962/1.008, allocations: 6.248 MB / 0.8464 GB, free: 183.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.01, allocations: 1.101 MB / 0.8475 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006728/1.011, allocations: 58.8 kB / 0.8475 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.013, allocations: 180.4 kB / 0.8477 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/1.014, allocations: 170.4 kB / 0.8479 GB, free: 182.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/1.014, allocations: 142.7 kB / 0.848 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004642/1.018, allocations: 3.835 MB / 0.8518 GB, free: 180.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3e-07/1.018, allocations: 0 / 0.8518 GB, free: 180.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004819/1.023, allocations: 1.795 MB / 0.8535 GB, free: 179.9 MB / 0.6387 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.008325/1.032, allocations: 7.184 MB / 0.8605 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.044, allocations: 8.075 MB / 0.8684 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.044, allocations: 4 kB / 0.8684 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/1.046, allocations: 2.04 MB / 0.8704 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/1.06, allocations: 3.467 MB / 0.8738 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05909/1.119, allocations: 57.86 MB / 0.9303 GB, free: 96.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/1.122, allocations: 4.305 MB / 0.9345 GB, free: 92.65 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00514/1.127, allocations: 1.855 MB / 0.9363 GB, free: 90.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002602/1.13, allocations: 2.444 MB / 0.9387 GB, free: 88.38 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/1.13, allocations: 4 kB / 0.9387 GB, free: 88.37 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4516/1.581, allocations: 158.1 MB / 1.093 GB, free: 238.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.85, allocations: 4.828 kB / 1.093 GB, free: 238.1 MB / 0.6856 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)