Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 105.4 kB / 16.27 MB, free: 5.957 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.001097/0.001098, allocations: 190.3 kB / 17.2 MB, free: 5.59 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.839/0.839, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 0.5024 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4462, allocations: 80.19 MB / 0.5807 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04786/0.4941, allocations: 55.98 MB / 0.6354 GB, free: 6.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0241/0.5183, allocations: 17.93 MB / 0.6529 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003285/0.5216, allocations: 75.62 kB / 0.653 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003143/0.5248, allocations: 0.8924 MB / 0.6539 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007552/0.5324, allocations: 2.506 MB / 0.6563 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.5367, allocations: 1.514 MB / 0.6578 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02236/0.559, allocations: 21.21 MB / 0.6785 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0151/0.5742, allocations: 10.7 MB / 0.6889 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/0.5892, allocations: 7.161 MB / 0.6959 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.6007, allocations: 6.362 MB / 0.7022 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00361/0.6044, allocations: 0.9375 MB / 0.7031 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007823/0.6123, allocations: 1.702 MB / 0.7047 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005356/0.6177, allocations: 2.341 MB / 0.707 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01248/0.6302, allocations: 4.711 MB / 0.7116 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/0.6502, allocations: 13.04 MB / 0.7244 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.6503, allocations: 4 kB / 0.7244 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6503, allocations: 0 / 0.7244 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0006027/0.6509, allocations: 0 / 0.7244 GB, free: 10.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02844/0.6794, allocations: 8.53 MB / 0.7327 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6795, allocations: 8.031 kB / 0.7327 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005291/0.6848, allocations: 0.847 MB / 0.7335 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.6999, allocations: 6.421 MB / 0.7398 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005626/0.7005, allocations: 460.2 kB / 0.7402 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002805/0.7033, allocations: 0.5975 MB / 0.7408 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.7276, allocations: 9.024 MB / 0.7496 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003655/0.728, allocations: 23.78 kB / 0.7497 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00245/0.7304, allocations: 264 kB / 0.7499 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3413/1.072, allocations: 174.6 kB / 0.7501 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/1.091, allocations: 7.448 MB / 0.7573 GB, free: 147.1 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.04843/1.14, allocations: 36.25 MB / 0.7927 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005269/1.145, allocations: 4.293 MB / 0.7969 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/1.149, allocations: 3.306 MB / 0.8002 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.15, allocations: 0.9619 MB / 0.8011 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003021/1.153, allocations: 2.383 MB / 0.8034 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002524/1.155, allocations: 363.8 kB / 0.8038 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 1.082e-05/1.155, allocations: 2.062 kB / 0.8038 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01102/1.166, allocations: 7.136 MB / 0.8107 GB, free: 98.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/1.166, allocations: 85.91 kB / 0.8108 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007544/1.174, allocations: 5.671 MB / 0.8164 GB, free: 92.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008465/1.175, allocations: 85.7 kB / 0.8165 GB, free: 92.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002478/1.177, allocations: 3.191 MB / 0.8196 GB, free: 89.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/1.179, allocations: 1.118 MB / 0.8207 GB, free: 88.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.18, allocations: 0.8542 MB / 0.8215 GB, free: 87.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/1.18, allocations: 308.8 kB / 0.8218 GB, free: 87.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/1.183, allocations: 2.16 MB / 0.8239 GB, free: 85.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/1.186, allocations: 3.699 MB / 0.8275 GB, free: 80.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/1.192, allocations: 6.319 MB / 0.8337 GB, free: 73.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-05/1.192, allocations: 18.81 kB / 0.8337 GB, free: 73.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009684/1.202, allocations: 6.783 MB / 0.8403 GB, free: 66.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/1.202, allocations: 54.67 kB / 0.8404 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/1.202, allocations: 48 kB / 0.8404 GB, free: 66.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/1.203, allocations: 437.3 kB / 0.8408 GB, free: 66.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/1.206, allocations: 1.006 MB / 0.8418 GB, free: 65.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/1.211, allocations: 5.704 MB / 0.8474 GB, free: 59.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005418/1.216, allocations: 283.5 kB / 0.8477 GB, free: 59.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008971/1.217, allocations: 219.9 kB / 0.8479 GB, free: 58.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.004472/1.221, allocations: 2.479 MB / 0.8503 GB, free: 56.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/1.223, allocations: 0.5289 MB / 0.8508 GB, free: 55.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007362/1.23, allocations: 5.272 MB / 0.856 GB, free: 50.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.23, allocations: 35.94 kB / 0.856 GB, free: 50.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.23, allocations: 4 kB / 0.856 GB, free: 50.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00533/1.236, allocations: 4.534 MB / 0.8604 GB, free: 45.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/1.256, allocations: 12.03 MB / 0.8722 GB, free: 33.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.256, allocations: 4 kB / 0.8722 GB, free: 33.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.259, allocations: 0.6477 MB / 0.8728 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000725/1.26, allocations: 376.4 kB / 0.8732 GB, free: 32.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/1.26, allocations: 83.95 kB / 0.8732 GB, free: 32.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004164/1.264, allocations: 5.618 MB / 0.8787 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.264, allocations: 0 / 0.8787 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.274, allocations: 7.764 MB / 0.8863 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/1.279, allocations: 1.158 MB / 0.8874 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002097/1.281, allocations: 64 kB / 0.8875 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/1.285, allocations: 203.9 kB / 0.8877 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/1.286, allocations: 202.1 kB / 0.8879 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003252/1.286, allocations: 135.9 kB / 0.888 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005972/1.292, allocations: 3.963 MB / 0.8919 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.91e-07/1.292, allocations: 0 / 0.8919 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007271/1.299, allocations: 2.012 MB / 0.8939 GB, free: 11.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001378/1.301, allocations: 0.4896 MB / 0.8943 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.019/1.32, allocations: 11.62 MB / 0.9057 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.32, allocations: 12.06 kB / 0.9057 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004043/1.324, allocations: 2.537 MB / 0.9082 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01732/1.341, allocations: 3.391 MB / 0.9115 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/1.368, allocations: 14.09 MB / 0.9252 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004626/1.373, allocations: 4.553 MB / 0.9297 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/1.375, allocations: 495.2 kB / 0.9302 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of SimCode: time 1.282e-06/1.375, allocations: 0 / 0.9302 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.5774/1.952, allocations: 187.3 MB / 1.113 GB, free: 117.6 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)