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: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") 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: 113.6 kB / 16.37 MB, free: 6.012 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.001163/0.001163, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7954/0.7954, allocations: 132.2 MB / 423.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3891, allocations: 80.18 MB / 0.5815 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04071/0.4299, allocations: 49.3 MB / 0.6296 GB, free: 12.99 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.4517, allocations: 13.8 MB / 0.6431 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002976/0.4547, allocations: 71.62 kB / 0.6432 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.4575, allocations: 0.8031 MB / 0.644 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006954/0.4645, allocations: 2.25 MB / 0.6462 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003786/0.4683, allocations: 1.309 MB / 0.6474 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0243/0.4926, allocations: 19.56 MB / 0.6665 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.5055, allocations: 9.937 MB / 0.6762 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/0.5189, allocations: 6.547 MB / 0.6826 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.5294, allocations: 5.762 MB / 0.6883 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00288/0.5323, allocations: 0.8438 MB / 0.6891 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006765/0.5391, allocations: 1.604 MB / 0.6906 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004138/0.5432, allocations: 2.115 MB / 0.6927 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00944/0.5527, allocations: 4.291 MB / 0.6969 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01702/0.5697, allocations: 12.07 MB / 0.7087 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5698, allocations: 0 / 0.7087 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5698, allocations: 4 kB / 0.7087 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005618/0.5704, allocations: 0 / 0.7087 GB, free: 11.75 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.02345/0.5938, allocations: 7.733 MB / 0.7162 GB, free: 3.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5939, allocations: 8.031 kB / 0.7163 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/0.5985, allocations: 0.7852 MB / 0.717 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.6133, allocations: 6.318 MB / 0.7232 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.6137, allocations: 411.1 kB / 0.7236 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/0.6158, allocations: 0.539 MB / 0.7241 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.6321, allocations: 8.068 MB / 0.732 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.6323, allocations: 15.84 kB / 0.732 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006612/0.633, allocations: 244 kB / 0.7322 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.6331, allocations: 163.9 kB / 0.7324 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.6461, allocations: 6.528 MB / 0.7388 GB, free: 12.55 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.3775/1.024, allocations: 31.18 MB / 0.7692 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005606/1.029, allocations: 3.647 MB / 0.7728 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003503/1.033, allocations: 2.801 MB / 0.7755 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000847/1.034, allocations: 0.8266 MB / 0.7763 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.039e-05/1.034, allocations: 74.27 kB / 0.7764 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 5.931e-06/1.034, allocations: 3.984 kB / 0.7764 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01004/1.044, allocations: 5.768 MB / 0.782 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.044, allocations: 80.11 kB / 0.7821 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006807/1.051, allocations: 5.234 MB / 0.7872 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005457/1.051, allocations: 73.58 kB / 0.7873 GB, free: 122.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001741/1.053, allocations: 2.874 MB / 0.7901 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009571/1.054, allocations: 0.9341 MB / 0.791 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008438/1.055, allocations: 0.7176 MB / 0.7917 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/1.055, allocations: 308.9 kB / 0.792 GB, free: 118.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/1.057, allocations: 1.671 MB / 0.7936 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/1.059, allocations: 2.933 MB / 0.7965 GB, free: 114 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004702/1.064, allocations: 4.967 MB / 0.8013 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/1.064, allocations: 13.53 kB / 0.8014 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007464/1.072, allocations: 5.439 MB / 0.8067 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.072, allocations: 24.22 kB / 0.8067 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/1.072, allocations: 47.94 kB / 0.8067 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008231/1.073, allocations: 420.7 kB / 0.8071 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/1.075, allocations: 0.858 MB / 0.808 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/1.079, allocations: 5.681 MB / 0.8135 GB, free: 95.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/1.084, allocations: 0.5194 MB / 0.814 GB, free: 95.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/1.084, allocations: 180 kB / 0.8142 GB, free: 95.07 MB / 0.5762 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.003576/1.088, allocations: 2.296 MB / 0.8164 GB, free: 92.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.089, allocations: 486.1 kB / 0.8169 GB, free: 92.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/1.094, allocations: 4.176 MB / 0.821 GB, free: 88.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/1.094, allocations: 24 kB / 0.821 GB, free: 88.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.095, allocations: 11.92 kB / 0.821 GB, free: 88.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003926/1.098, allocations: 3.637 MB / 0.8246 GB, free: 84.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/1.114, allocations: 10.25 MB / 0.8346 GB, free: 73.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.114, allocations: 10.53 kB / 0.8346 GB, free: 73.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/1.116, allocations: 0.5076 MB / 0.8351 GB, free: 73.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007031/1.117, allocations: 378.8 kB / 0.8355 GB, free: 73.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.117, allocations: 71.97 kB / 0.8355 GB, free: 72.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/1.121, allocations: 5.635 MB / 0.841 GB, free: 67.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.121, allocations: 7.938 kB / 0.841 GB, free: 67.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007431/1.128, allocations: 6.246 MB / 0.8471 GB, free: 60.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002654/1.131, allocations: 1.096 MB / 0.8482 GB, free: 59.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/1.132, allocations: 67.92 kB / 0.8483 GB, free: 59.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.134, allocations: 173.7 kB / 0.8484 GB, free: 59.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/1.134, allocations: 177.6 kB / 0.8486 GB, free: 59.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.134, allocations: 127.9 kB / 0.8487 GB, free: 58.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004207/1.139, allocations: 3.839 MB / 0.8525 GB, free: 55.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.139, allocations: 0 / 0.8525 GB, free: 55.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004047/1.143, allocations: 1.807 MB / 0.8542 GB, free: 53.35 MB / 0.5762 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.0008738/1.144, allocations: 0.4903 MB / 0.8547 GB, free: 52.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004954/1.148, allocations: 4.28 MB / 0.8589 GB, free: 48.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.148, allocations: 4 kB / 0.8589 GB, free: 48.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.151, allocations: 2.039 MB / 0.8609 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/1.161, allocations: 3.451 MB / 0.8643 GB, free: 43.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.177, allocations: 12.48 MB / 0.8765 GB, free: 30.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/1.18, allocations: 4.303 MB / 0.8807 GB, free: 26.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004677/1.185, allocations: 1.851 MB / 0.8825 GB, free: 24.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009604/1.186, allocations: 411.2 kB / 0.8829 GB, free: 24.18 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.186, allocations: 0 / 0.8829 GB, free: 24.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.1584/1.344, allocations: 111.7 MB / 0.992 GB, free: 9.262 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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 & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)