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.001222/0.001222, allocations: 108 kB / 15.61 MB, free: 152 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.001201/0.001201, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.226/1.226, 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.6924/0.6924, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 60 kB / 0.5019 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04355/0.3659, allocations: 49.29 MB / 0.6283 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.3822, allocations: 13.8 MB / 0.6418 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.3839, allocations: 67.62 kB / 0.6419 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.3855, allocations: 0.8031 MB / 0.6426 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.3896, allocations: 2.254 MB / 0.6448 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.3919, allocations: 1.299 MB / 0.6461 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01487/0.4068, allocations: 19.54 MB / 0.6652 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009403/0.4163, allocations: 9.941 MB / 0.6749 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009495/0.4258, allocations: 6.514 MB / 0.6813 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006712/0.4325, allocations: 5.766 MB / 0.6869 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.4337, allocations: 0.8438 MB / 0.6877 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.4376, allocations: 1.596 MB / 0.6893 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.4396, allocations: 2.119 MB / 0.6914 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005285/0.4449, allocations: 4.291 MB / 0.6955 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009421/0.4544, allocations: 11.94 MB / 0.7072 GB, free: 15.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4544, allocations: 0 / 0.7072 GB, free: 15.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.71e-07/0.4544, allocations: 0 / 0.7072 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001498/0.4545, allocations: 0 / 0.7072 GB, free: 15.09 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.01222/0.4668, allocations: 7.737 MB / 0.7148 GB, free: 7.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4668, allocations: 8.031 kB / 0.7148 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008628/0.4677, allocations: 0.7642 MB / 0.7155 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.4696, allocations: 0.7852 MB / 0.7163 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008034/0.4777, allocations: 6.056 MB / 0.7222 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.4779, allocations: 419 kB / 0.7226 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006708/0.4786, allocations: 0.5428 MB / 0.7231 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.489, allocations: 8.069 MB / 0.731 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.84e-05/0.4891, allocations: 19.78 kB / 0.731 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.4896, allocations: 236 kB / 0.7313 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.4897, allocations: 163.9 kB / 0.7314 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008733/0.4985, allocations: 6.528 MB / 0.7378 GB, free: 15.38 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.03029/0.5288, allocations: 31.43 MB / 0.7685 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004699/0.5335, allocations: 3.648 MB / 0.772 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.5367, allocations: 2.808 MB / 0.7748 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008056/0.5375, allocations: 0.8241 MB / 0.7756 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.5376, allocations: 76.66 kB / 0.7757 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 4.107e-06/0.5376, allocations: 3.938 kB / 0.7757 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.00884/0.5465, allocations: 5.755 MB / 0.7813 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.5465, allocations: 85.52 kB / 0.7814 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005584/0.5521, allocations: 5.235 MB / 0.7865 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.5523, allocations: 77.7 kB / 0.7866 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.5542, allocations: 2.864 MB / 0.7893 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00075/0.555, allocations: 0.9359 MB / 0.7903 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008334/0.5558, allocations: 0.7152 MB / 0.791 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.5559, allocations: 301.1 kB / 0.7912 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.5581, allocations: 1.678 MB / 0.7929 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.5609, allocations: 2.936 MB / 0.7958 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005307/0.5662, allocations: 4.966 MB / 0.8006 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.5663, allocations: 12 kB / 0.8006 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007123/0.5734, allocations: 5.43 MB / 0.8059 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.5734, allocations: 27.94 kB / 0.8059 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/0.5735, allocations: 40 kB / 0.806 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.5743, allocations: 429.4 kB / 0.8064 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.5769, allocations: 0.858 MB / 0.8072 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2406/0.8175, allocations: 5.685 MB / 0.8128 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/0.8212, allocations: 0.5191 MB / 0.8133 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/0.8215, allocations: 180.3 kB / 0.8135 GB, free: 197.8 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.00294/0.8244, allocations: 2.284 MB / 0.8157 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/0.8252, allocations: 492 kB / 0.8162 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/0.8309, allocations: 4.182 MB / 0.8202 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.8309, allocations: 27.48 kB / 0.8203 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.8309, allocations: 3.531 kB / 0.8203 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004181/0.8351, allocations: 3.631 MB / 0.8238 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.8467, allocations: 10.29 MB / 0.8339 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.8468, allocations: 3.5 kB / 0.8339 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.8486, allocations: 0.4999 MB / 0.8344 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006473/0.8493, allocations: 374.9 kB / 0.8347 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.8494, allocations: 78.73 kB / 0.8348 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.8534, allocations: 5.652 MB / 0.8403 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.8535, allocations: 5.625 kB / 0.8403 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/0.86, allocations: 6.247 MB / 0.8464 GB, free: 183.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.8614, allocations: 1.095 MB / 0.8475 GB, free: 182.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005473/0.8619, allocations: 62.14 kB / 0.8476 GB, free: 182.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/0.8641, allocations: 174.5 kB / 0.8477 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.8644, allocations: 175 kB / 0.8479 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/0.8646, allocations: 138.7 kB / 0.848 GB, free: 182.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003618/0.8682, allocations: 3.836 MB / 0.8518 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8682, allocations: 1 kB / 0.8518 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003595/0.8718, allocations: 1.8 MB / 0.8535 GB, free: 180 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.007083/0.8789, allocations: 7.173 MB / 0.8605 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01097/0.8899, allocations: 8.068 MB / 0.8684 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.8899, allocations: 7.938 kB / 0.8684 GB, free: 165.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.892, allocations: 2.037 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.01252/0.9045, allocations: 3.474 MB / 0.8738 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0456/0.9501, allocations: 57.86 MB / 0.9303 GB, free: 97.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/0.9526, allocations: 4.303 MB / 0.9345 GB, free: 92.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004274/0.9569, allocations: 1.849 MB / 0.9363 GB, free: 90.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/0.9591, allocations: 2.454 MB / 0.9387 GB, free: 88.42 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.9591, allocations: 0 / 0.9387 GB, free: 88.42 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.32/2.279, allocations: 158.1 MB / 1.093 GB, free: 237.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/15.02, allocations: 7.672 kB / 1.093 GB, free: 237.9 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/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)