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.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001067/0.001067, allocations: 193.4 kB / 16.13 MB, free: 6.66 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6639/0.6639, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 59.62 kB / 0.5012 GB, free: 9.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1291, allocations: 80.21 MB / 0.5795 GB, free: 9.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2457/0.3748, allocations: 48.97 MB / 0.6273 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.3893, allocations: 13.8 MB / 0.6408 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.3915, allocations: 61.22 kB / 0.6409 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.3932, allocations: 0.6631 MB / 0.6415 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.3974, allocations: 2.09 MB / 0.6435 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.3996, allocations: 1.179 MB / 0.6447 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01783/0.4175, allocations: 25.61 MB / 0.6697 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009069/0.4266, allocations: 8.112 MB / 0.6776 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008805/0.4354, allocations: 5.004 MB / 0.6825 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009314/0.4448, allocations: 5.607 MB / 0.688 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.4465, allocations: 423.6 kB / 0.6884 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005011/0.4515, allocations: 1.11 MB / 0.6895 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.4533, allocations: 1.61 MB / 0.6911 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005745/0.4591, allocations: 3.763 MB / 0.6947 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009978/0.4691, allocations: 11.57 MB / 0.706 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4691, allocations: 0 / 0.706 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4691, allocations: 0 / 0.706 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002524/0.4694, allocations: 0 / 0.706 GB, free: 1.926 MB / 0.5137 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.01311/0.4825, allocations: 7.716 MB / 0.7136 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4825, allocations: 12.03 kB / 0.7136 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.4836, allocations: 0.7681 MB / 0.7143 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.4858, allocations: 0.7852 MB / 0.7151 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.4963, allocations: 6.238 MB / 0.7212 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/0.4966, allocations: 415 kB / 0.7216 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.4981, allocations: 0.5428 MB / 0.7221 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.5131, allocations: 8.072 MB / 0.73 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.5132, allocations: 23.83 kB / 0.73 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006118/0.5139, allocations: 232 kB / 0.7302 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.514, allocations: 171.8 kB / 0.7304 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.5243, allocations: 6.528 MB / 0.7368 GB, free: 2.039 MB / 0.545 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.03358/0.5579, allocations: 31.1 MB / 0.7671 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/0.5625, allocations: 3.657 MB / 0.7707 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003395/0.566, allocations: 2.811 MB / 0.7735 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00088/0.5669, allocations: 0.828 MB / 0.7743 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.5669, allocations: 64.67 kB / 0.7743 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5.37e-06/0.5669, allocations: 0 / 0.7743 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01014/0.5771, allocations: 5.767 MB / 0.78 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.5772, allocations: 81.52 kB / 0.78 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006618/0.5838, allocations: 5.028 MB / 0.7849 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005367/0.5844, allocations: 73.7 kB / 0.785 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002065/0.5864, allocations: 2.876 MB / 0.7878 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/0.5876, allocations: 0.932 MB / 0.7887 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009113/0.5885, allocations: 0.7113 MB / 0.7894 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.5886, allocations: 309.1 kB / 0.7897 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.5909, allocations: 1.674 MB / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/0.5937, allocations: 2.932 MB / 0.7942 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005756/0.5995, allocations: 4.966 MB / 0.7991 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.5995, allocations: 8 kB / 0.7991 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008793/0.6083, allocations: 5.445 MB / 0.8044 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.6084, allocations: 20 kB / 0.8044 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.905e-05/0.6085, allocations: 43.94 kB / 0.8045 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009498/0.6094, allocations: 418.2 kB / 0.8049 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.6126, allocations: 0.858 MB / 0.8057 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.618, allocations: 5.268 MB / 0.8108 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/0.6224, allocations: 0.6471 MB / 0.8115 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005532/0.623, allocations: 176 kB / 0.8116 GB, free: 1.695 MB / 0.6231 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.003569/0.6266, allocations: 2.288 MB / 0.8139 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/0.6279, allocations: 486.1 kB / 0.8143 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/0.634, allocations: 4.188 MB / 0.8184 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.6341, allocations: 31.94 kB / 0.8185 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6341, allocations: 7.938 kB / 0.8185 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004451/0.6385, allocations: 3.629 MB / 0.822 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/0.6552, allocations: 10.21 MB / 0.832 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.6553, allocations: 4 kB / 0.832 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.6572, allocations: 0.4993 MB / 0.8325 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/0.658, allocations: 369.7 kB / 0.8328 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.6582, allocations: 83.95 kB / 0.8329 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004757/0.663, allocations: 5.212 MB / 0.838 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.663, allocations: 4 kB / 0.838 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008527/0.6715, allocations: 6.247 MB / 0.8441 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/0.674, allocations: 1.084 MB / 0.8452 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009846/0.675, allocations: 63.98 kB / 0.8452 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/0.6781, allocations: 327.2 kB / 0.8455 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.6784, allocations: 177.6 kB / 0.8457 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/0.6787, allocations: 127.9 kB / 0.8458 GB, free: 13.87 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004699/0.6834, allocations: 3.683 MB / 0.8494 GB, free: 10.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6834, allocations: 0 / 0.8494 GB, free: 10.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004116/0.6875, allocations: 1.785 MB / 0.8512 GB, free: 8.41 MB / 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.008743/0.6962, allocations: 7.173 MB / 0.8582 GB, free: 1.066 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2002/0.8964, allocations: 4.245 MB / 0.8623 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.8965, allocations: 8.031 kB / 0.8623 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.8986, allocations: 2.038 MB / 0.8643 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/0.9103, allocations: 3.281 MB / 0.8675 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.11/1.02, allocations: 58.52 MB / 0.9247 GB, free: 170.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/1.025, allocations: 4.3 MB / 0.9289 GB, free: 169.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005538/1.03, allocations: 1.839 MB / 0.9307 GB, free: 169.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/1.033, allocations: 2.442 MB / 0.933 GB, free: 167.2 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/1.033, allocations: 0 / 0.933 GB, free: 167.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.913/3.947, allocations: 151.6 MB / 1.081 GB, free: 27.38 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/3.947, allocations: 271.3 kB / 1.081 GB, free: 27.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.485/9.432, allocations: 0 / 1.081 GB, free: 27.02 MB / 0.67 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)