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.001247/0.001247, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001354/0.001354, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.81 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1195, allocations: 80.94 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2357/0.3552, allocations: 48.96 MB / 0.6316 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.3674, allocations: 13.79 MB / 0.6451 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.369, allocations: 60.47 kB / 0.6452 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3704, allocations: 0.6598 MB / 0.6458 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.3737, allocations: 2.086 MB / 0.6478 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.3757, allocations: 1.195 MB / 0.649 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01662/0.3923, allocations: 25.59 MB / 0.674 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008207/0.4005, allocations: 8.119 MB / 0.6819 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007845/0.4084, allocations: 5.015 MB / 0.6868 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00815/0.4166, allocations: 5.604 MB / 0.6923 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.4177, allocations: 421.3 kB / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.4217, allocations: 1.101 MB / 0.6938 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.4232, allocations: 1.621 MB / 0.6953 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004553/0.4277, allocations: 3.756 MB / 0.699 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008721/0.4365, allocations: 11.58 MB / 0.7103 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4365, allocations: 0 / 0.7103 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4365, allocations: 0 / 0.7103 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001476/0.4366, allocations: 0 / 0.7103 GB, free: 11.92 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.01076/0.4474, allocations: 7.715 MB / 0.7179 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4475, allocations: 15.97 kB / 0.7179 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008499/0.4483, allocations: 0.7641 MB / 0.7186 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.4502, allocations: 0.793 MB / 0.7194 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008141/0.4584, allocations: 6.238 MB / 0.7255 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.4586, allocations: 415 kB / 0.7259 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006481/0.4593, allocations: 0.5428 MB / 0.7264 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.4698, allocations: 8.065 MB / 0.7343 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.634e-05/0.4699, allocations: 15.94 kB / 0.7343 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004687/0.4704, allocations: 236 kB / 0.7345 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.4705, allocations: 167.9 kB / 0.7347 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008835/0.4794, allocations: 6.532 MB / 0.7411 GB, free: 12.04 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.02889/0.5083, allocations: 31.11 MB / 0.7714 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/0.5128, allocations: 3.652 MB / 0.775 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.5161, allocations: 2.811 MB / 0.7778 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.5169, allocations: 0.8241 MB / 0.7786 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.5169, allocations: 68.67 kB / 0.7786 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.368e-06/0.5169, allocations: 0 / 0.7786 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.009045/0.526, allocations: 5.77 MB / 0.7843 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.526, allocations: 77.52 kB / 0.7843 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/0.5323, allocations: 5.032 MB / 0.7892 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.5325, allocations: 77.7 kB / 0.7893 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.5344, allocations: 2.868 MB / 0.7921 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007794/0.5352, allocations: 0.9359 MB / 0.793 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008338/0.536, allocations: 0.7151 MB / 0.7937 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.5361, allocations: 305.1 kB / 0.794 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.5383, allocations: 1.674 MB / 0.7957 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.5411, allocations: 2.936 MB / 0.7985 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005224/0.5463, allocations: 4.962 MB / 0.8034 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.5464, allocations: 12 kB / 0.8034 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00725/0.5536, allocations: 5.441 MB / 0.8087 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.5537, allocations: 20 kB / 0.8087 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/0.5537, allocations: 40 kB / 0.8088 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/0.5545, allocations: 428.5 kB / 0.8092 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.5572, allocations: 0.8541 MB / 0.81 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.5619, allocations: 5.268 MB / 0.8151 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/0.5652, allocations: 0.6432 MB / 0.8158 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.5655, allocations: 180 kB / 0.8159 GB, free: 11.7 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.002927/0.5684, allocations: 2.284 MB / 0.8182 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007558/0.5692, allocations: 490.1 kB / 0.8186 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/0.5749, allocations: 4.178 MB / 0.8227 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.5749, allocations: 35.98 kB / 0.8228 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.5749, allocations: 11.98 kB / 0.8228 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004499/0.5795, allocations: 3.633 MB / 0.8263 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.5934, allocations: 10.2 MB / 0.8363 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5934, allocations: 4 kB / 0.8363 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/0.5954, allocations: 0.4998 MB / 0.8368 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007251/0.5961, allocations: 369.3 kB / 0.8371 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.5963, allocations: 79.95 kB / 0.8372 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004562/0.6009, allocations: 5.211 MB / 0.8423 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6009, allocations: 11.94 kB / 0.8423 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/0.6086, allocations: 6.235 MB / 0.8484 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.6104, allocations: 1.08 MB / 0.8494 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006733/0.6111, allocations: 63.98 kB / 0.8495 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/0.6138, allocations: 327.1 kB / 0.8498 GB, free: 8.18 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.6141, allocations: 181.6 kB / 0.85 GB, free: 8.004 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/0.6144, allocations: 123.9 kB / 0.8501 GB, free: 7.883 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004467/0.6188, allocations: 3.687 MB / 0.8537 GB, free: 4.211 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6188, allocations: 0 / 0.8537 GB, free: 4.211 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003756/0.6226, allocations: 1.781 MB / 0.8554 GB, free: 2.426 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.2214/0.8441, allocations: 7.174 MB / 0.8625 GB, free: 200 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004679/0.8488, allocations: 4.251 MB / 0.8666 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.8488, allocations: 7.031 kB / 0.8666 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.8508, allocations: 2.037 MB / 0.8686 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/0.8619, allocations: 3.271 MB / 0.8718 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/0.9713, allocations: 58.52 MB / 0.9289 GB, free: 160.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004386/0.9758, allocations: 4.306 MB / 0.9332 GB, free: 159.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005285/0.9811, allocations: 1.839 MB / 0.9349 GB, free: 158.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/0.9839, allocations: 2.441 MB / 0.9373 GB, free: 157 MB / 0.67 GB Notification: Performance of SimCode: time 7.22e-07/0.9839, allocations: 0 / 0.9373 GB, free: 157 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8975/1.881, allocations: 151.7 MB / 1.085 GB, free: 16.24 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/1.882, allocations: 270.7 kB / 1.086 GB, free: 15.88 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.27/7.152, allocations: 0 / 1.086 GB, free: 15.88 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)