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.004646/0.004646, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.00109/0.00109, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7201/0.7201, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.89 kB / 0.5809 GB, free: 8.09 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3372, allocations: 80.21 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04156/0.3788, allocations: 49.3 MB / 0.7073 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.3959, allocations: 13.79 MB / 0.7208 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.3979, allocations: 67.62 kB / 0.7209 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.3998, allocations: 0.8266 MB / 0.7217 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.4049, allocations: 2.344 MB / 0.7239 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.4076, allocations: 1.312 MB / 0.7252 GB, free: 2.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01672/0.4243, allocations: 19.59 MB / 0.7444 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.4346, allocations: 9.933 MB / 0.7541 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.445, allocations: 6.609 MB / 0.7605 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007501/0.4525, allocations: 5.766 MB / 0.7661 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.4537, allocations: 0.8438 MB / 0.767 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/0.4572, allocations: 1.6 MB / 0.7685 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001813/0.4591, allocations: 2.119 MB / 0.7706 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004961/0.464, allocations: 4.291 MB / 0.7748 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.4751, allocations: 12.13 MB / 0.7866 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4751, allocations: 0 / 0.7866 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4751, allocations: 0 / 0.7866 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001785/0.4753, allocations: 0 / 0.7866 GB, free: 3.277 MB / 0.6075 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.01239/0.4877, allocations: 7.923 MB / 0.7944 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4877, allocations: 12.03 kB / 0.7944 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009292/0.4887, allocations: 0.7603 MB / 0.7951 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.4908, allocations: 0.8204 MB / 0.7959 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.5009, allocations: 6.352 MB / 0.8021 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.5012, allocations: 411.1 kB / 0.8025 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007623/0.502, allocations: 0.539 MB / 0.8031 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.5134, allocations: 8.069 MB / 0.8109 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.5135, allocations: 19.83 kB / 0.8109 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005221/0.5141, allocations: 232 kB / 0.8112 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.5142, allocations: 167.9 kB / 0.8113 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009304/0.5235, allocations: 6.528 MB / 0.8177 GB, free: 3.055 MB / 0.6387 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.03347/0.557, allocations: 31.26 MB / 0.8482 GB, free: 1.957 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/0.5619, allocations: 3.649 MB / 0.8518 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/0.5654, allocations: 2.794 MB / 0.8545 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008721/0.5663, allocations: 0.828 MB / 0.8553 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.5663, allocations: 72.67 kB / 0.8554 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 5.36e-06/0.5663, allocations: 0 / 0.8554 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.009765/0.5761, allocations: 5.789 MB / 0.8611 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.5762, allocations: 77.52 kB / 0.8611 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2655/0.8417, allocations: 5.231 MB / 0.8662 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000553/0.8423, allocations: 78.45 kB / 0.8663 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.8443, allocations: 2.938 MB / 0.8692 GB, free: 175.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008883/0.8452, allocations: 0.9774 MB / 0.8701 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009831/0.8461, allocations: 0.717 MB / 0.8708 GB, free: 175 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.8462, allocations: 306.4 kB / 0.8711 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.8488, allocations: 1.681 MB / 0.8728 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.8519, allocations: 2.928 MB / 0.8756 GB, free: 172 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005882/0.8578, allocations: 4.968 MB / 0.8805 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/0.8578, allocations: 14.62 kB / 0.8805 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007682/0.8655, allocations: 5.469 MB / 0.8858 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.8656, allocations: 25.75 kB / 0.8859 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.524e-05/0.8656, allocations: 39.88 kB / 0.8859 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008416/0.8665, allocations: 415.9 kB / 0.8863 GB, free: 166.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/0.8693, allocations: 0.8598 MB / 0.8871 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.8737, allocations: 5.697 MB / 0.8927 GB, free: 162.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.8771, allocations: 0.5265 MB / 0.8932 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/0.8774, allocations: 187.4 kB / 0.8934 GB, free: 162.2 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.00284/0.8803, allocations: 2.283 MB / 0.8956 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008135/0.8811, allocations: 0.4996 MB / 0.8961 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.8865, allocations: 4.175 MB / 0.9002 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.8865, allocations: 26.03 kB / 0.9002 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.8865, allocations: 7.562 kB / 0.9002 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004151/0.8907, allocations: 3.642 MB / 0.9038 GB, free: 156.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.9034, allocations: 10.27 MB / 0.9138 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.9034, allocations: 7.625 kB / 0.9138 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.9053, allocations: 0.5 MB / 0.9143 GB, free: 150.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/0.9059, allocations: 376.1 kB / 0.9147 GB, free: 150.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.9061, allocations: 81.58 kB / 0.9147 GB, free: 150 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003816/0.9099, allocations: 5.636 MB / 0.9202 GB, free: 145.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9099, allocations: 11.69 kB / 0.9203 GB, free: 145.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006482/0.9164, allocations: 6.274 MB / 0.9264 GB, free: 140.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/0.9184, allocations: 1.125 MB / 0.9275 GB, free: 139.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/0.919, allocations: 59.98 kB / 0.9275 GB, free: 139.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/0.9214, allocations: 173.6 kB / 0.9277 GB, free: 139.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.9217, allocations: 177.6 kB / 0.9279 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.9219, allocations: 131.9 kB / 0.928 GB, free: 139.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003827/0.9257, allocations: 3.839 MB / 0.9317 GB, free: 135.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9257, allocations: 0 / 0.9317 GB, free: 135.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003698/0.9294, allocations: 1.807 MB / 0.9335 GB, free: 133.5 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.007206/0.9366, allocations: 7.213 MB / 0.9406 GB, free: 126.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004817/0.9415, allocations: 4.298 MB / 0.9448 GB, free: 121.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9415, allocations: 6.516 kB / 0.9448 GB, free: 121.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.9435, allocations: 2.04 MB / 0.9468 GB, free: 119.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01158/0.9551, allocations: 3.453 MB / 0.9501 GB, free: 116.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04751/1.003, allocations: 47.13 MB / 0.9961 GB, free: 67.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/1.005, allocations: 4.303 MB / 1 GB, free: 63.46 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004164/1.01, allocations: 1.846 MB / 1.002 GB, free: 61.64 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002506/1.012, allocations: 2.452 MB / 1.005 GB, free: 59.18 MB / 0.6856 GB Notification: Performance of SimCode: time 8.42e-07/1.012, allocations: 0 / 1.005 GB, free: 59.18 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1952/1.207, allocations: 154.1 MB / 1.155 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/20.31, allocations: 11.66 kB / 1.155 GB, free: 2.078 MB / 0.7794 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)