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.001793/0.001794, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002296/0.002296, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.373/2.373, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.262/1.262, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.0005588, allocations: 8 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8924, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05443/0.9469, allocations: 41.2 MB / 0.6232 GB, free: 5.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.9714, allocations: 11.96 MB / 0.6349 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/0.9754, allocations: 59.62 kB / 0.6349 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.9789, allocations: 0.7423 MB / 0.6357 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.9892, allocations: 1.986 MB / 0.6376 GB, free: 8.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006038/0.9953, allocations: 1.425 MB / 0.639 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01629/1.012, allocations: 10.52 MB / 0.6493 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/1.023, allocations: 6.559 MB / 0.6557 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/1.037, allocations: 4.014 MB / 0.6596 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0132/1.05, allocations: 3.438 MB / 0.6629 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003767/1.054, allocations: 304 kB / 0.6632 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009492/1.064, allocations: 0.7961 MB / 0.664 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005245/1.069, allocations: 1.312 MB / 0.6653 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006991/1.076, allocations: 1.475 MB / 0.6667 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02164/1.098, allocations: 9.422 MB / 0.6759 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.098, allocations: 4 kB / 0.6759 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.352e-06/1.098, allocations: 4 kB / 0.6759 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005995/1.099, allocations: 0 / 0.6759 GB, free: 1.129 MB / 0.4981 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.02875/1.127, allocations: 6.287 MB / 0.6821 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/1.128, allocations: 15.97 kB / 0.6821 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005398/1.133, allocations: 0.76 MB / 0.6828 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007264/1.14, allocations: 0.7882 MB / 0.6836 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02345/1.164, allocations: 5.666 MB / 0.6891 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008573/1.165, allocations: 415 kB / 0.6895 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003208/1.168, allocations: 0.539 MB / 0.6901 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/1.198, allocations: 7.975 MB / 0.6979 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003915/1.199, allocations: 23.78 kB / 0.6979 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002482/1.201, allocations: 236 kB / 0.6981 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/1.202, allocations: 167.9 kB / 0.6983 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/1.23, allocations: 6.489 MB / 0.7046 GB, free: 3.379 MB / 0.5294 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.07792/1.308, allocations: 31.4 MB / 0.7353 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006959/1.315, allocations: 3.628 MB / 0.7388 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.316, allocations: 0.8398 MB / 0.7396 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.747e-05/1.316, allocations: 68.67 kB / 0.7397 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 5.981e-06/1.316, allocations: 7.922 kB / 0.7397 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.0139/1.33, allocations: 5.786 MB / 0.7453 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/1.33, allocations: 81.5 kB / 0.7454 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.343, allocations: 5.407 MB / 0.7507 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.344, allocations: 73.7 kB / 0.7508 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003646/1.347, allocations: 2.868 MB / 0.7536 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/1.349, allocations: 0.9437 MB / 0.7545 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/1.35, allocations: 72 kB / 0.7546 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00037/1.35, allocations: 465.9 kB / 0.755 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0054/1.355, allocations: 1.678 MB / 0.7567 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00817/1.364, allocations: 2.932 MB / 0.7595 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008122/1.372, allocations: 2.285 MB / 0.7617 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.758e-05/1.372, allocations: 16 kB / 0.7618 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02241/1.394, allocations: 5.442 MB / 0.7671 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/1.394, allocations: 24 kB / 0.7671 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-05/1.395, allocations: 44.12 kB / 0.7671 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/1.396, allocations: 423.4 kB / 0.7675 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006126/1.402, allocations: 0.8541 MB / 0.7684 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008075/1.41, allocations: 5.334 MB / 0.7736 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007243/1.418, allocations: 0.682 MB / 0.7743 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.419, allocations: 176 kB / 0.7744 GB, free: 8.785 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006604/1.426, allocations: 2.288 MB / 0.7767 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002065/1.428, allocations: 486.1 kB / 0.7771 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009513/1.437, allocations: 4.215 MB / 0.7812 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/1.437, allocations: 24 kB / 0.7813 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.437, allocations: 4 kB / 0.7813 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007091/1.444, allocations: 3.663 MB / 0.7848 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03618/1.481, allocations: 10.13 MB / 0.7947 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.481, allocations: 8 kB / 0.7947 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004233/1.485, allocations: 0.4998 MB / 0.7952 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/1.487, allocations: 373.3 kB / 0.7956 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007697/1.488, allocations: 79.94 kB / 0.7957 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009/1.497, allocations: 5.262 MB / 0.8008 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/1.497, allocations: 7.938 kB / 0.8008 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02287/1.52, allocations: 6.907 MB / 0.8075 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006692/1.526, allocations: 1.248 MB / 0.8088 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00263/1.529, allocations: 65.06 kB / 0.8088 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009155/1.538, allocations: 349.4 kB / 0.8092 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009385/1.539, allocations: 173.6 kB / 0.8093 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007169/1.54, allocations: 131.9 kB / 0.8095 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01515/1.555, allocations: 3.98 MB / 0.8133 GB, free: 4 kB / 0.6387 GB Notification: Performance of sort global known variables: time 6.41e-07/1.555, allocations: 0 / 0.8133 GB, free: 4 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.6736/2.229, allocations: 1.79 MB / 0.8151 GB, free: 198.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02819/2.257, allocations: 8.666 MB / 0.8236 GB, free: 195 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01477/2.272, allocations: 4.276 MB / 0.8277 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.498e-05/2.272, allocations: 2.844 kB / 0.8277 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006849/2.279, allocations: 2.058 MB / 0.8297 GB, free: 192.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02406/2.303, allocations: 3.234 MB / 0.8329 GB, free: 192 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1782/2.481, allocations: 73.37 MB / 0.9045 GB, free: 126.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004541/2.486, allocations: 4.419 MB / 0.9089 GB, free: 121.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01003/2.496, allocations: 1.885 MB / 0.9107 GB, free: 120 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006184/2.502, allocations: 2.44 MB / 0.9131 GB, free: 117.6 MB / 0.6387 GB Notification: Performance of SimCode: time 4.097e-06/2.502, allocations: 3.375 kB / 0.9131 GB, free: 117.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2868/2.789, allocations: 161.3 MB / 1.071 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/2.789, allocations: 235.4 kB / 1.071 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.787/12.58, allocations: 0 / 1.071 GB, free: 5.289 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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) Environment - environmentSimulation: