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.001466/0.001466, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001901/0.001901, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.522/1.522, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2956/0.2956, allocations: 48.85 MB / 320.7 MB, free: 11.02 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.001436/0.001436, allocations: 71.89 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1311, allocations: 59.17 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2754/0.4066, allocations: 32.44 MB / 0.5301 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009509/0.4162, allocations: 8.114 MB / 0.538 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.4165, allocations: 6 kB / 0.538 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.4171, allocations: 132.5 kB / 0.5382 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.4176, allocations: 211.5 kB / 0.5384 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0134/0.431, allocations: 4.415 MB / 0.5427 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.432, allocations: 0.5834 MB / 0.5432 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.4324, allocations: 223.8 kB / 0.5434 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.4327, allocations: 218 kB / 0.5437 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.433, allocations: 227 kB / 0.5439 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.4331, allocations: 25.94 kB / 0.5439 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/0.4463, allocations: 6.003 MB / 0.5498 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.4465, allocations: 76.88 kB / 0.5498 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.4468, allocations: 190.5 kB / 0.55 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009777/0.4566, allocations: 3.502 MB / 0.5534 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4566, allocations: 0 / 0.5534 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4566, allocations: 3.938 kB / 0.5534 GB, free: 5.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.4567, allocations: 0 / 0.5534 GB, free: 5.195 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.00362/0.4603, allocations: 1.05 MB / 0.5545 GB, free: 4.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4603, allocations: 14.2 kB / 0.5545 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.4605, allocations: 51.03 kB / 0.5545 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.4609, allocations: 305.1 kB / 0.5548 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.461, allocations: 19.03 kB / 0.5548 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.461, allocations: 34.73 kB / 0.5549 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.4616, allocations: 320.8 kB / 0.5552 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4616, allocations: 0 / 0.5552 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.4616, allocations: 10.25 kB / 0.5552 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4617, allocations: 10.47 kB / 0.5552 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.4622, allocations: 243.2 kB / 0.5554 GB, free: 3.734 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.001186/0.4634, allocations: 1.32 MB / 0.5567 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.4639, allocations: 223.5 kB / 0.5569 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.4641, allocations: 119.9 kB / 0.557 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06727/0.5314, allocations: 32.11 MB / 0.5884 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.5315, allocations: 42.5 kB / 0.5884 GB, free: 7.176 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 5.21e-06/0.5315, allocations: 0.6094 kB / 0.5884 GB, free: 7.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002821/0.5343, allocations: 1.041 MB / 0.5895 GB, free: 6.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.5344, allocations: 51.41 kB / 0.5895 GB, free: 6.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.5347, allocations: 309.7 kB / 0.5898 GB, free: 5.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.5347, allocations: 33.64 kB / 0.5898 GB, free: 5.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.5349, allocations: 192.6 kB / 0.59 GB, free: 5.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.5349, allocations: 97.22 kB / 0.5901 GB, free: 5.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.535, allocations: 49.7 kB / 0.5902 GB, free: 5.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5352, allocations: 350.8 kB / 0.5905 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.5354, allocations: 109.7 kB / 0.5906 GB, free: 4.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.5357, allocations: 129.6 kB / 0.5907 GB, free: 4.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.5362, allocations: 246.2 kB / 0.591 GB, free: 4.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5362, allocations: 0 / 0.591 GB, free: 4.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001233/0.5374, allocations: 489.5 kB / 0.5914 GB, free: 4.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5375, allocations: 8 kB / 0.5914 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5375, allocations: 0 / 0.5914 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.5387, allocations: 256.5 kB / 0.5917 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.5388, allocations: 32.47 kB / 0.5917 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.5399, allocations: 0.8097 MB / 0.5925 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.5401, allocations: 20.05 kB / 0.5925 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.5401, allocations: 12.08 kB / 0.5925 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000329/0.5405, allocations: 208.1 kB / 0.5927 GB, free: 2.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002417/0.5407, allocations: 129.6 kB / 0.5928 GB, free: 2.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004615/0.5412, allocations: 242.4 kB / 0.5931 GB, free: 2.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.5412, allocations: 0 / 0.5931 GB, free: 2.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001187/0.5424, allocations: 480.3 kB / 0.5935 GB, free: 1.789 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5424, allocations: 4 kB / 0.5935 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.5424, allocations: 4 kB / 0.5935 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.5435, allocations: 240.7 kB / 0.5938 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.5436, allocations: 39.97 kB / 0.5938 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008867/0.5445, allocations: 0.7786 MB / 0.5946 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.5447, allocations: 27.92 kB / 0.5946 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.5448, allocations: 8 kB / 0.5946 GB, free: 0.6641 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.0001405/0.5449, allocations: 188.3 kB / 0.5948 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.545, allocations: 35.53 kB / 0.5948 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.5461, allocations: 0.5603 MB / 0.5954 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5461, allocations: 8.594 kB / 0.5954 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5461, allocations: 0 / 0.5954 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.5461, allocations: 0 / 0.5954 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.5477, allocations: 1.049 MB / 0.5964 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5477, allocations: 0 / 0.5964 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.5481, allocations: 67.89 kB / 0.5965 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.5483, allocations: 53.89 kB / 0.5965 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.5484, allocations: 7.984 kB / 0.5965 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.5496, allocations: 1.443 MB / 0.5979 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5496, allocations: 0 / 0.5979 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5508, allocations: 0.6828 MB / 0.5986 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.551, allocations: 136.5 kB / 0.5987 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.551, allocations: 8 kB / 0.5987 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5513, allocations: 11.98 kB / 0.5987 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.5513, allocations: 27.95 kB / 0.5988 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.5514, allocations: 11.92 kB / 0.5988 GB, free: 12.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.5516, allocations: 227.2 kB / 0.599 GB, free: 11.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5516, allocations: 0 / 0.599 GB, free: 11.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003697/0.5553, allocations: 0.8668 MB / 0.5998 GB, free: 11.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.Mg,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005685/0.561, allocations: 0.9415 MB / 0.6008 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.5629, allocations: 0.59 MB / 0.6013 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5629, allocations: 0 / 0.6013 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.5634, allocations: 318.5 kB / 0.6016 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.5644, allocations: 149.1 kB / 0.6018 GB, free: 9.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.5661, allocations: 1.023 MB / 0.6028 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.5665, allocations: 0.7963 MB / 0.6036 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.5666, allocations: 27.44 kB / 0.6036 GB, free: 7.234 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5666, allocations: 0 / 0.6036 GB, free: 7.234 MB / 462.1 MB Notification: Performance of Templates: time 0.03033/0.597, allocations: 19.74 MB / 0.6229 GB, free: 3.461 MB / 478.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)