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.001265/0.001265, allocations: 103 kB / 16.35 MB, free: 5.824 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.00125/0.00125, allocations: 193.9 kB / 17.3 MB, free: 5.48 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7962/0.7962, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4323, allocations: 80.19 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04021/0.4726, allocations: 49.29 MB / 0.6296 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01903/0.4916, allocations: 13.79 MB / 0.6431 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.4945, allocations: 71.62 kB / 0.6432 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.4969, allocations: 0.8108 MB / 0.644 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007437/0.5044, allocations: 2.25 MB / 0.6461 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.5083, allocations: 1.307 MB / 0.6474 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02064/0.529, allocations: 19.56 MB / 0.6665 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01391/0.5429, allocations: 9.937 MB / 0.6762 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01614/0.5591, allocations: 6.533 MB / 0.6826 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.571, allocations: 5.766 MB / 0.6882 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003158/0.5742, allocations: 0.8438 MB / 0.6891 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/0.5811, allocations: 1.604 MB / 0.6906 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004118/0.5853, allocations: 2.119 MB / 0.6927 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.009705/0.595, allocations: 4.291 MB / 0.6969 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.6108, allocations: 12.07 MB / 0.7087 GB, free: 11.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.251e-05/0.6108, allocations: 3.938 kB / 0.7087 GB, free: 11.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6108, allocations: 0 / 0.7087 GB, free: 11.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003918/0.6112, allocations: 3.938 kB / 0.7087 GB, free: 11.59 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.02249/0.6337, allocations: 7.725 MB / 0.7162 GB, free: 3.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6338, allocations: 8.031 kB / 0.7162 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.6386, allocations: 0.7852 MB / 0.717 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/0.6608, allocations: 6.322 MB / 0.7232 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/0.6614, allocations: 415.1 kB / 0.7236 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/0.6641, allocations: 0.539 MB / 0.7241 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02716/0.6912, allocations: 8.065 MB / 0.732 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003199/0.6916, allocations: 23.77 kB / 0.732 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002777/0.6944, allocations: 236 kB / 0.7322 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002672/0.6947, allocations: 168 kB / 0.7324 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.7152, allocations: 6.528 MB / 0.7388 GB, free: 12.4 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.4445/1.16, allocations: 31.18 MB / 0.7692 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005821/1.166, allocations: 3.644 MB / 0.7728 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/1.169, allocations: 2.807 MB / 0.7755 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/1.17, allocations: 0.8293 MB / 0.7763 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/1.17, allocations: 66.2 kB / 0.7764 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.699e-06/1.17, allocations: 0.9375 kB / 0.7764 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01065/1.181, allocations: 5.776 MB / 0.782 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/1.181, allocations: 81.48 kB / 0.7821 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008274/1.189, allocations: 5.22 MB / 0.7872 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000802/1.19, allocations: 83.58 kB / 0.7873 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.192, allocations: 2.868 MB / 0.7901 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.194, allocations: 0.9352 MB / 0.791 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009389/1.195, allocations: 0.7119 MB / 0.7917 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.228e-05/1.195, allocations: 303.6 kB / 0.792 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/1.197, allocations: 1.678 MB / 0.7936 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/1.199, allocations: 2.938 MB / 0.7965 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00519/1.205, allocations: 4.957 MB / 0.8013 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/1.205, allocations: 12 kB / 0.8013 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008809/1.213, allocations: 5.443 MB / 0.8067 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/1.214, allocations: 24 kB / 0.8067 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.195e-05/1.214, allocations: 38.16 kB / 0.8067 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008919/1.215, allocations: 426.8 kB / 0.8071 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.217, allocations: 0.8541 MB / 0.808 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004509/1.222, allocations: 5.7 MB / 0.8135 GB, free: 95.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004673/1.227, allocations: 0.5244 MB / 0.814 GB, free: 94.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006182/1.227, allocations: 184 kB / 0.8142 GB, free: 94.69 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.003809/1.231, allocations: 2.284 MB / 0.8164 GB, free: 92.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/1.233, allocations: 490.1 kB / 0.8169 GB, free: 91.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/1.239, allocations: 4.177 MB / 0.821 GB, free: 87.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/1.239, allocations: 28 kB / 0.821 GB, free: 87.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.239, allocations: 7.938 kB / 0.821 GB, free: 87.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004002/1.243, allocations: 3.637 MB / 0.8246 GB, free: 83.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/1.261, allocations: 10.25 MB / 0.8346 GB, free: 73.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.261, allocations: 7.984 kB / 0.8346 GB, free: 73.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.263, allocations: 0.5075 MB / 0.8351 GB, free: 73.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007322/1.264, allocations: 369.3 kB / 0.8354 GB, free: 72.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/1.264, allocations: 75.97 kB / 0.8355 GB, free: 72.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/1.268, allocations: 5.652 MB / 0.841 GB, free: 66.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.268, allocations: 4 kB / 0.841 GB, free: 66.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008483/1.276, allocations: 6.246 MB / 0.8471 GB, free: 60.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003394/1.28, allocations: 1.092 MB / 0.8482 GB, free: 59.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.281, allocations: 63.98 kB / 0.8483 GB, free: 59.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003345/1.285, allocations: 179.6 kB / 0.8484 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/1.285, allocations: 174.5 kB / 0.8486 GB, free: 58.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003822/1.285, allocations: 131.9 kB / 0.8487 GB, free: 58.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006759/1.292, allocations: 3.835 MB / 0.8525 GB, free: 54.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/1.292, allocations: 0 / 0.8525 GB, free: 54.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006679/1.299, allocations: 1.799 MB / 0.8542 GB, free: 52.98 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.001502/1.3, allocations: 0.4884 MB / 0.8547 GB, free: 52.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00612/1.307, allocations: 4.282 MB / 0.8589 GB, free: 48.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.307, allocations: 4 kB / 0.8589 GB, free: 48.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.309, allocations: 2.035 MB / 0.8609 GB, free: 46.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01442/1.324, allocations: 3.458 MB / 0.8643 GB, free: 42.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.342, allocations: 12.47 MB / 0.8764 GB, free: 30.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.345, allocations: 4.315 MB / 0.8806 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005017/1.35, allocations: 1.857 MB / 0.8825 GB, free: 24.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.351, allocations: 423.2 kB / 0.8829 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.351, allocations: 0 / 0.8829 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.1599/1.511, allocations: 111.7 MB / 0.992 GB, free: 8.898 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)