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.001241/0.001241, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001217/0.001217, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.785/0.785, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.378, allocations: 80.17 MB / 0.5815 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04795/0.426, allocations: 55.98 MB / 0.6362 GB, free: 6.262 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02272/0.4488, allocations: 17.93 MB / 0.6537 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.4521, allocations: 79.56 kB / 0.6538 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.455, allocations: 0.8924 MB / 0.6546 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.4654, allocations: 2.503 MB / 0.6571 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004505/0.4699, allocations: 1.523 MB / 0.6586 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02148/0.4914, allocations: 21.24 MB / 0.6793 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.5049, allocations: 10.7 MB / 0.6897 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/0.5194, allocations: 7.18 MB / 0.6968 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.5305, allocations: 6.37 MB / 0.703 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003065/0.5336, allocations: 0.9375 MB / 0.7039 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007597/0.5413, allocations: 1.706 MB / 0.7056 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004363/0.5457, allocations: 2.337 MB / 0.7078 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01169/0.5574, allocations: 4.703 MB / 0.7124 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01915/0.5765, allocations: 13.19 MB / 0.7253 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5766, allocations: 0 / 0.7253 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5766, allocations: 0 / 0.7253 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005099/0.5771, allocations: 0 / 0.7253 GB, free: 10.66 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.02281/0.5999, allocations: 8.518 MB / 0.7336 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6, allocations: 12.03 kB / 0.7336 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.6042, allocations: 0.8548 MB / 0.7345 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.6184, allocations: 6.706 MB / 0.741 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/0.6188, allocations: 460.2 kB / 0.7415 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/0.621, allocations: 0.5975 MB / 0.742 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.6401, allocations: 9.017 MB / 0.7509 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.3273/0.9674, allocations: 22.2 kB / 0.7509 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002307/0.9698, allocations: 260.1 kB / 0.7511 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003657/0.9702, allocations: 183.2 kB / 0.7513 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01828/0.9885, allocations: 7.447 MB / 0.7586 GB, free: 147.5 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.04522/1.034, allocations: 35.99 MB / 0.7937 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/1.039, allocations: 4.286 MB / 0.7979 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00354/1.042, allocations: 3.308 MB / 0.8011 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/1.043, allocations: 0.9589 MB / 0.8021 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002982/1.046, allocations: 2.382 MB / 0.8044 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002082/1.048, allocations: 371.8 kB / 0.8047 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 6.793e-06/1.048, allocations: 3.969 kB / 0.8048 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01042/1.059, allocations: 7.13 MB / 0.8117 GB, free: 98.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.059, allocations: 85.91 kB / 0.8118 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006797/1.066, allocations: 5.67 MB / 0.8173 GB, free: 92.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004881/1.066, allocations: 91.7 kB / 0.8174 GB, free: 92.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.069, allocations: 3.191 MB / 0.8205 GB, free: 89.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.07, allocations: 1.113 MB / 0.8216 GB, free: 88.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009953/1.071, allocations: 0.8542 MB / 0.8225 GB, free: 87.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/1.071, allocations: 306.7 kB / 0.8228 GB, free: 87.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/1.073, allocations: 2.16 MB / 0.8249 GB, free: 85.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/1.076, allocations: 3.694 MB / 0.8285 GB, free: 80.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006082/1.083, allocations: 6.326 MB / 0.8346 GB, free: 73.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-05/1.083, allocations: 19.94 kB / 0.8347 GB, free: 73.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009524/1.092, allocations: 6.775 MB / 0.8413 GB, free: 66.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/1.092, allocations: 59.36 kB / 0.8413 GB, free: 66.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.425e-05/1.092, allocations: 48 kB / 0.8414 GB, free: 66.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007598/1.093, allocations: 430.9 kB / 0.8418 GB, free: 66.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/1.096, allocations: 1.01 MB / 0.8428 GB, free: 65.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/1.1, allocations: 5.709 MB / 0.8484 GB, free: 59.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/1.104, allocations: 283.5 kB / 0.8486 GB, free: 59.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/1.105, allocations: 216 kB / 0.8488 GB, free: 58.89 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.003054/1.108, allocations: 2.483 MB / 0.8513 GB, free: 56.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008706/1.108, allocations: 0.5327 MB / 0.8518 GB, free: 55.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/1.115, allocations: 5.261 MB / 0.8569 GB, free: 50.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.115, allocations: 32 kB / 0.8569 GB, free: 50.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.115, allocations: 11.94 kB / 0.857 GB, free: 50.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004861/1.12, allocations: 4.521 MB / 0.8614 GB, free: 45.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.135, allocations: 11.98 MB / 0.8731 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.135, allocations: 4 kB / 0.8731 GB, free: 33.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.138, allocations: 0.6477 MB / 0.8737 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006469/1.138, allocations: 368.2 kB / 0.8741 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.139, allocations: 87.95 kB / 0.8741 GB, free: 32.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003937/1.143, allocations: 5.618 MB / 0.8796 GB, free: 26.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.143, allocations: 4 kB / 0.8796 GB, free: 26.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009537/1.152, allocations: 7.761 MB / 0.8872 GB, free: 18.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003575/1.156, allocations: 1.154 MB / 0.8883 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.157, allocations: 67.98 kB / 0.8884 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.16, allocations: 198.8 kB / 0.8886 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/1.16, allocations: 202.2 kB / 0.8888 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/1.161, allocations: 135.9 kB / 0.8889 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004377/1.165, allocations: 3.959 MB / 0.8928 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.165, allocations: 4 kB / 0.8928 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004462/1.169, allocations: 2.013 MB / 0.8947 GB, free: 11.27 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.0009213/1.17, allocations: 494.3 kB / 0.8952 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006155/1.176, allocations: 5.441 MB / 0.9005 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.176, allocations: 4 kB / 0.9005 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002614/1.179, allocations: 2.537 MB / 0.903 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01233/1.191, allocations: 3.393 MB / 0.9063 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.213, allocations: 13.88 MB / 0.9199 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004507/1.217, allocations: 4.632 MB / 0.9244 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005718/1.223, allocations: 2.08 MB / 0.9264 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.224, allocations: 467.2 kB / 0.9269 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/1.224, allocations: 0 / 0.9269 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Templates: time 0.505/1.729, allocations: 114.8 MB / 1.039 GB, free: 207.9 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)