Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001241/0.001241, allocations: 186.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2539/0.2539, allocations: 48.85 MB / 320.7 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 75.89 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2416/0.3438, allocations: 32.45 MB / 0.5301 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009279/0.3531, allocations: 8.114 MB / 0.538 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.3534, allocations: 11.22 kB / 0.538 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.3539, allocations: 133.9 kB / 0.5382 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.3544, allocations: 207.3 kB / 0.5384 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.3658, allocations: 4.423 MB / 0.5427 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.3665, allocations: 0.5862 MB / 0.5433 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.3668, allocations: 219 kB / 0.5435 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.3671, allocations: 220 kB / 0.5437 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.3674, allocations: 226 kB / 0.5439 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.3674, allocations: 26.56 kB / 0.5439 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.3789, allocations: 6.009 MB / 0.5498 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3791, allocations: 68.61 kB / 0.5498 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.3794, allocations: 190.2 kB / 0.55 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008023/0.3874, allocations: 3.503 MB / 0.5535 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3875, allocations: 0 / 0.5535 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3875, allocations: 3.938 kB / 0.5535 GB, free: 5.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3875, allocations: 1.406 kB / 0.5535 GB, free: 5.203 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002536/0.39, allocations: 1.05 MB / 0.5545 GB, free: 4.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3901, allocations: 12.11 kB / 0.5545 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3902, allocations: 51.67 kB / 0.5545 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3906, allocations: 310 kB / 0.5548 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3906, allocations: 19.06 kB / 0.5549 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.3907, allocations: 25.38 kB / 0.5549 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.3912, allocations: 322 kB / 0.5552 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3913, allocations: 7.938 kB / 0.5552 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.3913, allocations: 11.5 kB / 0.5552 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3913, allocations: 7.438 kB / 0.5552 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.3918, allocations: 236.5 kB / 0.5554 GB, free: 3.742 MB / 414.1 MB 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.00114/0.393, allocations: 1.317 MB / 0.5567 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.3935, allocations: 232 kB / 0.5569 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.3937, allocations: 124 kB / 0.5571 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06391/0.4576, allocations: 32.11 MB / 0.5884 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.4577, allocations: 34.56 kB / 0.5885 GB, free: 7.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 3.166e-06/0.4577, allocations: 4 kB / 0.5885 GB, free: 7.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.00294/0.4607, allocations: 1.041 MB / 0.5895 GB, free: 6.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.4607, allocations: 59.41 kB / 0.5895 GB, free: 6.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.4611, allocations: 309.7 kB / 0.5898 GB, free: 5.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.4611, allocations: 33.7 kB / 0.5899 GB, free: 5.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.4613, allocations: 184.6 kB / 0.59 GB, free: 5.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.4614, allocations: 100.4 kB / 0.5901 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4615, allocations: 45.7 kB / 0.5902 GB, free: 5.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4616, allocations: 346.8 kB / 0.5905 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.4619, allocations: 112.8 kB / 0.5906 GB, free: 4.898 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.4621, allocations: 129.6 kB / 0.5907 GB, free: 4.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.4628, allocations: 246.1 kB / 0.591 GB, free: 4.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4628, allocations: 0 / 0.591 GB, free: 4.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001293/0.4641, allocations: 493.5 kB / 0.5914 GB, free: 4.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4641, allocations: 4 kB / 0.5914 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4641, allocations: 0 / 0.5914 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.4653, allocations: 256.5 kB / 0.5917 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.4655, allocations: 36.86 kB / 0.5917 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.4665, allocations: 0.8019 MB / 0.5925 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.4668, allocations: 16.05 kB / 0.5925 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.4668, allocations: 16 kB / 0.5925 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003185/0.4671, allocations: 208.1 kB / 0.5927 GB, free: 2.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002437/0.4674, allocations: 129.6 kB / 0.5929 GB, free: 2.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004872/0.4679, allocations: 238.4 kB / 0.5931 GB, free: 2.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.123e-06/0.4679, allocations: 0 / 0.5931 GB, free: 2.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001175/0.4691, allocations: 477.6 kB / 0.5935 GB, free: 1.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.4691, allocations: 4 kB / 0.5935 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.4691, allocations: 2.812 kB / 0.5935 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.4701, allocations: 241.4 kB / 0.5938 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4703, allocations: 39.97 kB / 0.5938 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/0.4712, allocations: 0.7794 MB / 0.5946 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4714, allocations: 23.92 kB / 0.5946 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.4714, allocations: 11.94 kB / 0.5946 GB, free: 0.6992 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.4716, allocations: 196.2 kB / 0.5948 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.4717, allocations: 39.53 kB / 0.5948 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.4727, allocations: 0.5512 MB / 0.5954 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4727, allocations: 12.67 kB / 0.5954 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4727, allocations: 0 / 0.5954 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.4729, allocations: 128.6 kB / 0.5955 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.473, allocations: 4 kB / 0.5955 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.4732, allocations: 15.98 kB / 0.5955 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.4733, allocations: 27.95 kB / 0.5956 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001232/0.4745, allocations: 0.5238 MB / 0.5961 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001158/0.4757, allocations: 0.7233 MB / 0.5968 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002951/0.476, allocations: 180.5 kB / 0.5969 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.4762, allocations: 223.2 kB / 0.5972 GB, free: 14.04 MB / 462.1 MB Notification: Performance of Backend: time 2.885e-06/0.4762, allocations: 0 / 0.5972 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009106/0.4853, allocations: 1.515 MB / 0.5986 GB, free: 12.62 MB / 462.1 MB Notification: Performance of SimCode: time 0.0021/0.4875, allocations: 1.43 MB / 0.6 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Templates: time 0.05321/0.5407, allocations: 36.87 MB / 0.636 GB, free: 6.258 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)