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.007673/0.007673, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001556/0.001556, allocations: 194.2 kB / 16.67 MB, free: 5.949 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.385/1.385, 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.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 59.77 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1985, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05338/0.2519, allocations: 49.29 MB / 0.7073 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02202/0.274, allocations: 13.79 MB / 0.7208 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.277, allocations: 67.62 kB / 0.7208 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.2799, allocations: 0.7992 MB / 0.7216 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007/0.2869, allocations: 2.254 MB / 0.7238 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.2908, allocations: 1.317 MB / 0.7251 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02466/0.3155, allocations: 19.56 MB / 0.7442 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01655/0.3321, allocations: 9.93 MB / 0.7539 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01554/0.3477, allocations: 6.6 MB / 0.7604 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/0.3579, allocations: 5.766 MB / 0.766 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002987/0.361, allocations: 0.8438 MB / 0.7668 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006669/0.3677, allocations: 1.604 MB / 0.7684 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004066/0.3718, allocations: 2.115 MB / 0.7704 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009882/0.3817, allocations: 4.291 MB / 0.7746 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/0.3996, allocations: 12.08 MB / 0.7864 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3997, allocations: 0 / 0.7864 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3997, allocations: 0 / 0.7864 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004893/0.4002, allocations: 0 / 0.7864 GB, free: 11.29 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.02456/0.4248, allocations: 7.741 MB / 0.794 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4248, allocations: 8.031 kB / 0.794 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003066/0.4279, allocations: 0.768 MB / 0.7947 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/0.4326, allocations: 0.7891 MB / 0.7955 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.447, allocations: 6.306 MB / 0.8017 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004834/0.4475, allocations: 415 kB / 0.8021 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002465/0.45, allocations: 0.5351 MB / 0.8026 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02121/0.4712, allocations: 8.068 MB / 0.8105 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002817/0.4716, allocations: 19.88 kB / 0.8105 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.4735, allocations: 240 kB / 0.8107 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/0.4737, allocations: 160 kB / 0.8109 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3925/0.8663, allocations: 6.521 MB / 0.8172 GB, free: 138.5 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.04179/0.9081, allocations: 31.19 MB / 0.8477 GB, free: 115.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/0.9131, allocations: 3.649 MB / 0.8513 GB, free: 113.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/0.9164, allocations: 2.798 MB / 0.854 GB, free: 112.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007675/0.9172, allocations: 0.8268 MB / 0.8548 GB, free: 111.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/0.9173, allocations: 69.11 kB / 0.8549 GB, free: 111.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.438e-06/0.9173, allocations: 3.062 kB / 0.8549 GB, free: 111.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.009566/0.9269, allocations: 5.768 MB / 0.8605 GB, free: 106.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.927, allocations: 85.5 kB / 0.8606 GB, free: 106.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008581/0.9356, allocations: 5.227 MB / 0.8657 GB, free: 101 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005579/0.9361, allocations: 84.95 kB / 0.8658 GB, free: 100.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002183/0.9383, allocations: 2.863 MB / 0.8686 GB, free: 98.05 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.9396, allocations: 0.9347 MB / 0.8695 GB, free: 97.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.9408, allocations: 0.7152 MB / 0.8702 GB, free: 96.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.9409, allocations: 302.8 kB / 0.8705 GB, free: 96.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.943, allocations: 1.678 MB / 0.8721 GB, free: 94.42 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.9454, allocations: 2.931 MB / 0.875 GB, free: 90.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004655/0.9501, allocations: 4.961 MB / 0.8798 GB, free: 85.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/0.9501, allocations: 12 kB / 0.8798 GB, free: 85.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007492/0.9576, allocations: 5.441 MB / 0.8851 GB, free: 79.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.9577, allocations: 24.94 kB / 0.8852 GB, free: 79.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.674e-05/0.9577, allocations: 41.17 kB / 0.8852 GB, free: 79.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008192/0.9586, allocations: 417.3 kB / 0.8856 GB, free: 79.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/0.9611, allocations: 0.858 MB / 0.8864 GB, free: 78.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.9653, allocations: 5.706 MB / 0.892 GB, free: 72.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004007/0.9693, allocations: 0.5184 MB / 0.8925 GB, free: 72.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.9697, allocations: 180.9 kB / 0.8927 GB, free: 71.94 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.003548/0.9733, allocations: 2.288 MB / 0.8949 GB, free: 69.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/0.9746, allocations: 487.2 kB / 0.8954 GB, free: 69.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/0.9801, allocations: 4.178 MB / 0.8995 GB, free: 64.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.9801, allocations: 27.98 kB / 0.8995 GB, free: 64.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.9802, allocations: 7.938 kB / 0.8995 GB, free: 64.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003832/0.984, allocations: 3.634 MB / 0.9031 GB, free: 61.15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.9995, allocations: 10.26 MB / 0.9131 GB, free: 50.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.9995, allocations: 8 kB / 0.9131 GB, free: 50.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.001, allocations: 0.4954 MB / 0.9136 GB, free: 50.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006853/1.002, allocations: 376.1 kB / 0.9139 GB, free: 49.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/1.002, allocations: 79.97 kB / 0.914 GB, free: 49.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/1.006, allocations: 5.65 MB / 0.9195 GB, free: 43.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.006, allocations: 4 kB / 0.9195 GB, free: 43.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007411/1.014, allocations: 6.25 MB / 0.9256 GB, free: 37.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002899/1.017, allocations: 1.092 MB / 0.9267 GB, free: 36.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008544/1.018, allocations: 63.92 kB / 0.9268 GB, free: 36.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.02, allocations: 169.8 kB / 0.9269 GB, free: 36.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/1.02, allocations: 181.6 kB / 0.9271 GB, free: 35.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.021, allocations: 127.9 kB / 0.9272 GB, free: 35.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004581/1.025, allocations: 3.839 MB / 0.931 GB, free: 32.01 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.025, allocations: 3.938 kB / 0.931 GB, free: 32.01 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004928/1.03, allocations: 1.804 MB / 0.9327 GB, free: 30.22 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.008435/1.038, allocations: 7.184 MB / 0.9397 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005379/1.044, allocations: 4.286 MB / 0.9439 GB, free: 18.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.044, allocations: 0 / 0.9439 GB, free: 18.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/1.046, allocations: 2.044 MB / 0.9459 GB, free: 16.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01477/1.061, allocations: 3.461 MB / 0.9493 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07914/1.14, allocations: 46.92 MB / 0.9951 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006077/1.146, allocations: 4.303 MB / 0.9993 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.006456/1.153, allocations: 1.847 MB / 1.001 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00489/1.158, allocations: 2.452 MB / 1.004 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of SimCode: time 1.283e-06/1.158, allocations: 4 kB / 1.004 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6023/1.76, allocations: 156.5 MB / 1.156 GB, free: 271.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.39/22.15, allocations: 2.516 kB / 1.156 GB, free: 271.2 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)