Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_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.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 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.001184/0.001185, allocations: 195.6 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.918/0.918, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 56.88 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2896/0.4367, allocations: 49.27 MB / 0.6326 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.4504, allocations: 13.79 MB / 0.6461 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.4524, allocations: 72.25 kB / 0.6461 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.4542, allocations: 0.8027 MB / 0.6469 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.459, allocations: 2.254 MB / 0.6491 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.4615, allocations: 1.297 MB / 0.6504 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01501/0.4765, allocations: 19.54 MB / 0.6695 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.4876, allocations: 9.931 MB / 0.6792 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/0.501, allocations: 6.522 MB / 0.6855 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.512, allocations: 5.765 MB / 0.6912 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002375/0.5144, allocations: 0.8451 MB / 0.692 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006546/0.5209, allocations: 1.601 MB / 0.6935 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.5237, allocations: 2.116 MB / 0.6956 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.008205/0.532, allocations: 4.296 MB / 0.6998 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.5434, allocations: 11.94 MB / 0.7115 GB, free: 11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5434, allocations: 0 / 0.7115 GB, free: 11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.426e-06/0.5435, allocations: 3.984 kB / 0.7115 GB, free: 11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001991/0.5437, allocations: 0 / 0.7115 GB, free: 11 MB / 0.5294 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.01443/0.5581, allocations: 7.734 MB / 0.719 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5581, allocations: 8.031 kB / 0.719 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.5592, allocations: 0.7681 MB / 0.7198 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/0.5615, allocations: 0.7891 MB / 0.7205 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00994/0.5714, allocations: 6.047 MB / 0.7265 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.5718, allocations: 423 kB / 0.7269 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.5729, allocations: 0.539 MB / 0.7274 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/0.5879, allocations: 8.068 MB / 0.7353 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.5881, allocations: 19.84 kB / 0.7353 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006292/0.5887, allocations: 236 kB / 0.7355 GB, free: 1.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.5889, allocations: 163.9 kB / 0.7357 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.6009, allocations: 6.532 MB / 0.742 GB, free: 11.28 MB / 0.5606 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.04091/0.6418, allocations: 31.43 MB / 0.7727 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005607/0.6474, allocations: 3.648 MB / 0.7763 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/0.6513, allocations: 2.808 MB / 0.779 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/0.6523, allocations: 0.828 MB / 0.7798 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/0.6524, allocations: 68.67 kB / 0.7799 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.789e-06/0.6524, allocations: 4 kB / 0.7799 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01088/0.6633, allocations: 5.766 MB / 0.7855 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.6634, allocations: 81.5 kB / 0.7856 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009548/0.6729, allocations: 5.239 MB / 0.7907 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005031/0.6734, allocations: 77.7 kB / 0.7908 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00264/0.6761, allocations: 2.868 MB / 0.7936 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/0.6774, allocations: 0.932 MB / 0.7945 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/0.679, allocations: 0.719 MB / 0.7952 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.6791, allocations: 305.1 kB / 0.7955 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/0.6818, allocations: 1.674 MB / 0.7972 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/0.6853, allocations: 2.928 MB / 0.8 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006426/0.6918, allocations: 4.974 MB / 0.8049 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.6918, allocations: 8 kB / 0.8049 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00961/0.7014, allocations: 5.445 MB / 0.8102 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.7015, allocations: 20.22 kB / 0.8102 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.226e-05/0.7015, allocations: 44 kB / 0.8103 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.7026, allocations: 419.2 kB / 0.8107 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.7056, allocations: 0.8619 MB / 0.8115 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.7114, allocations: 5.691 MB / 0.8171 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/0.7157, allocations: 0.5223 MB / 0.8176 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/0.7163, allocations: 184 kB / 0.8177 GB, free: 10.09 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.004263/0.7206, allocations: 2.276 MB / 0.82 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/0.7224, allocations: 494 kB / 0.8204 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007636/0.73, allocations: 4.181 MB / 0.8245 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/0.7301, allocations: 31.98 kB / 0.8245 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.7301, allocations: 4.188 kB / 0.8246 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005144/0.7353, allocations: 3.629 MB / 0.8281 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.7539, allocations: 10.3 MB / 0.8382 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.754, allocations: 8 kB / 0.8382 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/0.7561, allocations: 0.4998 MB / 0.8386 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008371/0.7569, allocations: 377.2 kB / 0.839 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002177/0.7572, allocations: 75.97 kB / 0.8391 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.7627, allocations: 5.629 MB / 0.8446 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7627, allocations: 11.88 kB / 0.8446 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00948/0.7722, allocations: 6.243 MB / 0.8507 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/0.7748, allocations: 1.1 MB / 0.8518 GB, free: 6.414 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/0.776, allocations: 59.98 kB / 0.8518 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/0.7793, allocations: 179.8 kB / 0.852 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.7796, allocations: 177.6 kB / 0.8522 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003165/0.78, allocations: 135.9 kB / 0.8523 GB, free: 5.875 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006625/0.7866, allocations: 3.835 MB / 0.856 GB, free: 2.055 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7866, allocations: 0 / 0.856 GB, free: 2.055 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005635/0.7923, allocations: 1.8 MB / 0.8578 GB, free: 256 kB / 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.271/1.063, allocations: 7.171 MB / 0.8648 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.075, allocations: 8.063 MB / 0.8727 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/1.075, allocations: 2.75 kB / 0.8727 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/1.077, allocations: 2.046 MB / 0.8747 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01347/1.091, allocations: 3.469 MB / 0.8781 GB, free: 196.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06543/1.156, allocations: 57.87 MB / 0.9346 GB, free: 161.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005208/1.162, allocations: 4.304 MB / 0.9388 GB, free: 159.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005359/1.167, allocations: 1.852 MB / 0.9406 GB, free: 159.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0027/1.17, allocations: 2.453 MB / 0.943 GB, free: 157.4 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/1.17, allocations: 0 / 0.943 GB, free: 157.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.962/6.132, allocations: 158.1 MB / 1.097 GB, free: 4.336 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/22.3, allocations: 3.938 kB / 1.097 GB, free: 4.332 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)