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.008042/0.008042, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001783/0.001784, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 422.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.38 kB / 0.5813 GB, free: 1.031 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1864, allocations: 80.21 MB / 0.6597 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05652/0.2429, allocations: 56 MB / 0.7143 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.2684, allocations: 17.92 MB / 0.7318 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003594/0.272, allocations: 79.56 kB / 0.7319 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.2751, allocations: 0.9158 MB / 0.7328 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007938/0.2831, allocations: 2.616 MB / 0.7354 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.2877, allocations: 1.534 MB / 0.7369 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02259/0.3103, allocations: 21.26 MB / 0.7576 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01444/0.3248, allocations: 10.71 MB / 0.7681 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01833/0.3432, allocations: 7.244 MB / 0.7752 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/0.3565, allocations: 6.374 MB / 0.7814 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003959/0.3605, allocations: 0.9375 MB / 0.7823 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008415/0.3689, allocations: 1.698 MB / 0.784 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005216/0.3742, allocations: 2.341 MB / 0.7862 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01693/0.3911, allocations: 4.7 MB / 0.7908 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0237/0.4149, allocations: 13.2 MB / 0.8037 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.415, allocations: 4 kB / 0.8037 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.316e-06/0.415, allocations: 0 / 0.8037 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006012/0.4156, allocations: 0 / 0.8037 GB, free: 9.594 MB / 0.6387 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.02663/0.4422, allocations: 8.518 MB / 0.812 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4423, allocations: 8.031 kB / 0.8121 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.4471, allocations: 0.8586 MB / 0.8129 GB, free: 108 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4774/0.9246, allocations: 6.691 MB / 0.8194 GB, free: 137.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/0.9252, allocations: 460.9 kB / 0.8199 GB, free: 137.6 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/0.9274, allocations: 0.5937 MB / 0.8204 GB, free: 137.4 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.9462, allocations: 9.027 MB / 0.8293 GB, free: 133.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.9464, allocations: 19.75 kB / 0.8293 GB, free: 133.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000708/0.9471, allocations: 263.2 kB / 0.8295 GB, free: 133.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.9474, allocations: 186.6 kB / 0.8297 GB, free: 133.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.9596, allocations: 7.448 MB / 0.837 GB, free: 129.6 MB / 0.6387 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.03635/0.996, allocations: 35.99 MB / 0.8721 GB, free: 93.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/1.001, allocations: 4.287 MB / 0.8763 GB, free: 88.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/1.004, allocations: 3.301 MB / 0.8795 GB, free: 85.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009641/1.005, allocations: 0.9534 MB / 0.8805 GB, free: 84.42 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002819/1.008, allocations: 2.384 MB / 0.8828 GB, free: 82.01 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001926/1.01, allocations: 363.8 kB / 0.8831 GB, free: 81.65 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 5.741e-06/1.01, allocations: 0 / 0.8831 GB, free: 81.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01011/1.02, allocations: 7.137 MB / 0.8901 GB, free: 74.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.02, allocations: 89.91 kB / 0.8902 GB, free: 74.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006485/1.026, allocations: 5.67 MB / 0.8957 GB, free: 68.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004995/1.027, allocations: 85.7 kB / 0.8958 GB, free: 68.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002208/1.029, allocations: 3.187 MB / 0.8989 GB, free: 65.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.03, allocations: 1.117 MB / 0.9 GB, free: 64.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009833/1.031, allocations: 0.8619 MB / 0.9009 GB, free: 63.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/1.031, allocations: 301.1 kB / 0.9011 GB, free: 63.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/1.034, allocations: 2.163 MB / 0.9033 GB, free: 60.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/1.037, allocations: 3.697 MB / 0.9069 GB, free: 56.53 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005791/1.042, allocations: 6.319 MB / 0.913 GB, free: 49.49 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/1.043, allocations: 12.66 kB / 0.9131 GB, free: 49.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008957/1.051, allocations: 6.791 MB / 0.9197 GB, free: 42.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/1.052, allocations: 49.7 kB / 0.9197 GB, free: 42.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/1.052, allocations: 52 kB / 0.9198 GB, free: 42.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000814/1.052, allocations: 430 kB / 0.9202 GB, free: 42.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/1.055, allocations: 1.014 MB / 0.9212 GB, free: 41.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/1.06, allocations: 5.701 MB / 0.9267 GB, free: 35.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/1.064, allocations: 287.4 kB / 0.927 GB, free: 34.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/1.064, allocations: 216.8 kB / 0.9272 GB, free: 34.63 MB / 0.6387 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.003373/1.067, allocations: 2.483 MB / 0.9297 GB, free: 32.13 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.068, allocations: 0.521 MB / 0.9302 GB, free: 31.61 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006957/1.075, allocations: 5.272 MB / 0.9353 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.076, allocations: 32 kB / 0.9353 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.076, allocations: 7.938 kB / 0.9354 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005202/1.081, allocations: 4.524 MB / 0.9398 GB, free: 21.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/1.099, allocations: 11.98 MB / 0.9515 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.099, allocations: 3.938 kB / 0.9515 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.102, allocations: 0.649 MB / 0.9521 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007016/1.103, allocations: 377.2 kB / 0.9525 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/1.103, allocations: 79.95 kB / 0.9525 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/1.107, allocations: 5.618 MB / 0.958 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.107, allocations: 0 / 0.958 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/1.118, allocations: 7.769 MB / 0.9656 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003492/1.122, allocations: 1.154 MB / 0.9667 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.123, allocations: 64 kB / 0.9668 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/1.126, allocations: 197.1 kB / 0.967 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/1.126, allocations: 202.1 kB / 0.9672 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000305/1.127, allocations: 139.9 kB / 0.9673 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006036/1.133, allocations: 3.959 MB / 0.9712 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/1.133, allocations: 96 / 0.9712 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006219/1.139, allocations: 2.012 MB / 0.9731 GB, free: 2.938 MB / 0.6544 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.001214/1.14, allocations: 496.3 kB / 0.9736 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008534/1.149, allocations: 5.444 MB / 0.9789 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.149, allocations: 0 / 0.9789 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00362/1.152, allocations: 2.552 MB / 0.9814 GB, free: 10.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/1.165, allocations: 3.384 MB / 0.9847 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.189, allocations: 13.88 MB / 0.9983 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004567/1.193, allocations: 4.632 MB / 1.003 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.006483/1.2, allocations: 2.078 MB / 1.005 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.201, allocations: 467.2 kB / 1.005 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of SimCode: time 8.81e-07/1.201, allocations: 0 / 1.005 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of Templates: time 0.5785/1.78, allocations: 116.5 MB / 1.119 GB, free: 276 MB / 0.795 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)