Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001847/0.001847, allocations: 195.4 kB / 18.52 MB, free: 4.637 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.466/1.466, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3005/0.3005, allocations: 48.84 MB / 320.6 MB, free: 11.08 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 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.002108/0.002108, allocations: 69.75 kB / 390.8 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1048, allocations: 59.16 MB / 449.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.02133/0.1262, allocations: 15.65 MB / 465.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.1437, allocations: 13.8 MB / 479.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.144, allocations: 4 kB / 479.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.1445, allocations: 135.2 kB / 479.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007546/0.1454, allocations: 246.6 kB / 479.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01581/0.1612, allocations: 5.503 MB / 485.2 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.1627, allocations: 1.034 MB / 486.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.436e-05/0.1628, allocations: 32.69 kB / 486.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008039/0.1636, allocations: 494.7 kB / 486.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.1643, allocations: 462.9 kB / 487.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.1644, allocations: 40 kB / 487.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.1774, allocations: 6.22 MB / 493.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.1778, allocations: 191.5 kB / 493.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.1783, allocations: 239.2 kB / 493.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.1884, allocations: 3.93 MB / 497.9 MB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1885, allocations: 0 / 497.9 MB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1885, allocations: 0 / 497.9 MB, free: 9.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1885, allocations: 0 / 497.9 MB, free: 9.664 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.005464/0.194, allocations: 1.502 MB / 499.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.194, allocations: 8.031 kB / 499.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.1954, allocations: 164.4 kB / 499.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.196, allocations: 343.8 kB / 499.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.1963, allocations: 130.8 kB / 500 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.1965, allocations: 36.12 kB / 0.4883 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/0.2017, allocations: 1.883 MB / 0.4901 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2018, allocations: 4 kB / 0.4902 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2019, allocations: 12 kB / 0.4902 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.2019, allocations: 16.56 kB / 0.4902 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007682/0.2096, allocations: 2.644 MB / 0.4928 GB, free: 2.801 MB / 382.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.005415/0.215, allocations: 4.839 MB / 0.4975 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.2193, allocations: 1.361 MB / 0.4988 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.222, allocations: 0.9849 MB / 0.4998 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3436/0.5657, allocations: 75.96 MB / 0.574 GB, free: 45.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.5658, allocations: 36.77 kB / 0.574 GB, free: 45.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.055e-06/0.5658, allocations: 0 / 0.574 GB, free: 45.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.02154/0.5874, allocations: 5.845 MB / 0.5797 GB, free: 39.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.5874, allocations: 63.19 kB / 0.5798 GB, free: 39.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.5876, allocations: 149.7 kB / 0.5799 GB, free: 39.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.5877, allocations: 41.17 kB / 0.5799 GB, free: 39.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.5878, allocations: 148.6 kB / 0.5801 GB, free: 39.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.588, allocations: 146.6 kB / 0.5802 GB, free: 39.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004175/0.5884, allocations: 225.8 kB / 0.5804 GB, free: 39.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.5885, allocations: 332.5 kB / 0.5808 GB, free: 38.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/0.5919, allocations: 1.118 MB / 0.5818 GB, free: 37.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.5953, allocations: 1.204 MB / 0.583 GB, free: 36.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006542/0.6019, allocations: 1.977 MB / 0.585 GB, free: 34.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6019, allocations: 0 / 0.585 GB, free: 34.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007372/0.6093, allocations: 2.334 MB / 0.5872 GB, free: 32.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.6094, allocations: 7.938 kB / 0.5872 GB, free: 32.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6094, allocations: 4 kB / 0.5872 GB, free: 32.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.6094, allocations: 7.469 kB / 0.5873 GB, free: 32.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/0.6119, allocations: 498 kB / 0.5877 GB, free: 31.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.6119, allocations: 4 kB / 0.5877 GB, free: 31.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.6137, allocations: 257.1 kB / 0.588 GB, free: 31.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.6139, allocations: 83.86 kB / 0.5881 GB, free: 31.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004049/0.6143, allocations: 172.5 kB / 0.5882 GB, free: 31.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.6146, allocations: 27.66 kB / 0.5882 GB, free: 31.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009563/0.6241, allocations: 7.12 MB / 0.5952 GB, free: 23.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008374/0.6325, allocations: 6.564 MB / 0.6016 GB, free: 17.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.6326, allocations: 0 / 0.6016 GB, free: 17.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6326, allocations: 7.984 kB / 0.6016 GB, free: 17.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.644, allocations: 10.44 MB / 0.6118 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.644, allocations: 0 / 0.6118 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/0.6463, allocations: 496.9 kB / 0.6123 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/0.6463, allocations: 4 kB / 0.6123 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.6465, allocations: 47.91 kB / 0.6123 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.6465, allocations: 4 kB / 0.6123 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6465, allocations: 1.406 kB / 0.6123 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00993/0.6564, allocations: 4.496 MB / 0.6167 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.6569, allocations: 276 kB / 0.617 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.6571, allocations: 20.06 kB / 0.617 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.6587, allocations: 251.6 kB / 0.6173 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.6589, allocations: 82.05 kB / 0.6173 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.659, allocations: 51.91 kB / 0.6174 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.985e-05/0.6591, allocations: 115.2 kB / 0.6175 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6591, allocations: 0 / 0.6175 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002818/0.6619, allocations: 0.9738 MB / 0.6184 GB, free: 15.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/0.6666, allocations: 0.9942 MB / 0.6194 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009303/0.6759, allocations: 2.854 MB / 0.6222 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.6759, allocations: 0 / 0.6222 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.6801, allocations: 1.538 MB / 0.6237 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.681, allocations: 100 kB / 0.6238 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.6864, allocations: 2.197 MB / 0.6259 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.6871, allocations: 0.9319 MB / 0.6269 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009477/0.688, allocations: 179.1 kB / 0.627 GB, free: 7.215 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6881, allocations: 0 / 0.627 GB, free: 7.215 MB / 430.1 MB Notification: Performance of Templates: time 0.04752/0.7356, allocations: 28.28 MB / 0.6547 GB, free: 10.95 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)