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.001248/0.001248, allocations: 112.7 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.001191/0.001191, allocations: 187 kB / 18.68 MB, free: 4.406 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.241/1.241, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2925/0.2925, allocations: 48.84 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.001515/0.001515, allocations: 68.47 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2653/0.3705, allocations: 32.45 MB / 0.5301 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3806, allocations: 8.112 MB / 0.538 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.381, allocations: 7.125 kB / 0.538 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.3817, allocations: 143.5 kB / 0.5382 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.3824, allocations: 203.1 kB / 0.5384 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01308/0.3955, allocations: 4.415 MB / 0.5427 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008817/0.3964, allocations: 0.5839 MB / 0.5432 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.3968, allocations: 220.7 kB / 0.5435 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.3971, allocations: 216.6 kB / 0.5437 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.3974, allocations: 231 kB / 0.5439 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.3974, allocations: 26.72 kB / 0.5439 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0126/0.41, allocations: 6 MB / 0.5498 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.4102, allocations: 73.12 kB / 0.5498 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.4106, allocations: 192.5 kB / 0.55 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008737/0.4193, allocations: 3.507 MB / 0.5534 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4194, allocations: 0 / 0.5534 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4194, allocations: 7.938 kB / 0.5534 GB, free: 5.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4194, allocations: 0 / 0.5534 GB, free: 5.18 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.002973/0.4224, allocations: 1.042 MB / 0.5545 GB, free: 4.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4224, allocations: 15.23 kB / 0.5545 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.4226, allocations: 53.23 kB / 0.5545 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.423, allocations: 310.1 kB / 0.5548 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.423, allocations: 19.34 kB / 0.5548 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.4231, allocations: 26.22 kB / 0.5549 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.4236, allocations: 321.5 kB / 0.5552 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4236, allocations: 5.422 kB / 0.5552 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.4237, allocations: 9.406 kB / 0.5552 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4237, allocations: 9.891 kB / 0.5552 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.4242, allocations: 235.8 kB / 0.5554 GB, free: 3.73 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.001097/0.4253, allocations: 1.321 MB / 0.5567 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.4258, allocations: 222.6 kB / 0.5569 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.4261, allocations: 127.9 kB / 0.5571 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06132/0.4874, allocations: 32.11 MB / 0.5884 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4875, allocations: 34.56 kB / 0.5884 GB, free: 7.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/0.4875, allocations: 0 / 0.5884 GB, free: 7.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002745/0.4902, allocations: 1.047 MB / 0.5895 GB, free: 6.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.4903, allocations: 51.41 kB / 0.5895 GB, free: 6.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4906, allocations: 313.7 kB / 0.5898 GB, free: 5.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.4906, allocations: 29.7 kB / 0.5898 GB, free: 5.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4908, allocations: 190.7 kB / 0.59 GB, free: 5.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.4908, allocations: 96.2 kB / 0.5901 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.4909, allocations: 49.7 kB / 0.5902 GB, free: 5.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4911, allocations: 350.8 kB / 0.5905 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4913, allocations: 104.8 kB / 0.5906 GB, free: 4.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.4916, allocations: 137.6 kB / 0.5907 GB, free: 4.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.4921, allocations: 243 kB / 0.591 GB, free: 4.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4921, allocations: 0 / 0.591 GB, free: 4.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001274/0.4934, allocations: 493.5 kB / 0.5914 GB, free: 4.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4934, allocations: 11.91 kB / 0.5914 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4934, allocations: 0 / 0.5914 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.4946, allocations: 253.6 kB / 0.5917 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4948, allocations: 31.92 kB / 0.5917 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009929/0.4958, allocations: 0.8029 MB / 0.5925 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.496, allocations: 19.98 kB / 0.5925 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.496, allocations: 11.98 kB / 0.5925 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003011/0.4963, allocations: 208.1 kB / 0.5927 GB, free: 2.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002232/0.4966, allocations: 133.6 kB / 0.5929 GB, free: 2.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000483/0.4971, allocations: 246.4 kB / 0.5931 GB, free: 2.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.4971, allocations: 0 / 0.5931 GB, free: 2.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001242/0.4983, allocations: 469.7 kB / 0.5935 GB, free: 1.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.4983, allocations: 7.984 kB / 0.5935 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4984, allocations: 4 kB / 0.5935 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4994, allocations: 236.7 kB / 0.5938 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.4995, allocations: 46.55 kB / 0.5938 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008594/0.5004, allocations: 0.7794 MB / 0.5946 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.5007, allocations: 20.05 kB / 0.5946 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.5007, allocations: 15.88 kB / 0.5946 GB, free: 0.668 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.0001328/0.5008, allocations: 192.2 kB / 0.5948 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.5009, allocations: 35.53 kB / 0.5948 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.502, allocations: 0.5538 MB / 0.5954 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.502, allocations: 3.938 kB / 0.5954 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.502, allocations: 3.938 kB / 0.5954 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5022, allocations: 128.6 kB / 0.5955 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.5022, allocations: 11.98 kB / 0.5955 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.5025, allocations: 15.98 kB / 0.5955 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.5026, allocations: 19.97 kB / 0.5955 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001249/0.5038, allocations: 0.5285 MB / 0.5961 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001011/0.5048, allocations: 0.7232 MB / 0.5968 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002943/0.5051, allocations: 180 kB / 0.5969 GB, free: 14.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.5054, allocations: 219.2 kB / 0.5971 GB, free: 14.02 MB / 462.1 MB Notification: Performance of Backend: time 4.51e-07/0.5054, allocations: 0 / 0.5971 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008475/0.5138, allocations: 1.514 MB / 0.5986 GB, free: 12.61 MB / 462.1 MB Notification: Performance of SimCode: time 0.002224/0.5161, allocations: 1.432 MB / 0.6 GB, free: 11.15 MB / 462.1 MB Notification: Performance of Templates: time 0.0519/0.568, allocations: 36.88 MB / 0.636 GB, free: 6.242 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)