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.001042/0.001042, allocations: 99.8 kB / 16.62 MB, free: 6.812 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.0009956/0.0009956, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.266/1.266, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2511/0.2511, allocations: 48.83 MB / 319.6 MB, free: 11.26 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.001298/0.001298, allocations: 63.11 kB / 389.6 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.08079, allocations: 59.16 MB / 448.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01675/0.09759, allocations: 15.75 MB / 464.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.1121, allocations: 13.9 MB / 478.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1123, allocations: 0 / 478.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.1128, allocations: 115.4 kB / 478.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.1134, allocations: 242.7 kB / 478.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.1257, allocations: 4.841 MB / 483.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1268, allocations: 1.034 MB / 484.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.1269, allocations: 32.69 kB / 484.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.1276, allocations: 498.7 kB / 485.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.1282, allocations: 466.8 kB / 485.6 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.448e-05/0.1283, allocations: 44 kB / 485.6 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009745/0.138, allocations: 6.27 MB / 491.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.1382, allocations: 175.5 kB / 492.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.1386, allocations: 259.1 kB / 492.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006717/0.1453, allocations: 3.945 MB / 496.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1454, allocations: 0 / 496.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1454, allocations: 0 / 496.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1454, allocations: 4 kB / 496.3 MB, free: 10.44 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.005023/0.1504, allocations: 1.498 MB / 497.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1505, allocations: 8.031 kB / 497.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.1519, allocations: 164.4 kB / 497.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.1524, allocations: 347.8 kB / 498.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.1527, allocations: 126.8 kB / 498.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.1528, allocations: 32.12 kB / 498.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.1577, allocations: 1.883 MB / 0.4886 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1577, allocations: 3.984 kB / 0.4886 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.1578, allocations: 12 kB / 0.4886 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.1579, allocations: 12.56 kB / 0.4886 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007141/0.165, allocations: 2.648 MB / 0.4912 GB, free: 3.586 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.00434/0.1694, allocations: 4.823 MB / 0.4959 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/0.1733, allocations: 1.357 MB / 0.4972 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.1758, allocations: 0.9888 MB / 0.4982 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2934/0.4692, allocations: 75.97 MB / 0.5724 GB, free: 46.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.4693, allocations: 35.52 kB / 0.5724 GB, free: 46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.265e-06/0.4693, allocations: 0 / 0.5724 GB, free: 46 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.02035/0.4896, allocations: 5.844 MB / 0.5781 GB, free: 40.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.4897, allocations: 59.41 kB / 0.5782 GB, free: 40.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.4898, allocations: 154.7 kB / 0.5783 GB, free: 40.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.4899, allocations: 33.7 kB / 0.5784 GB, free: 40.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.49, allocations: 151.6 kB / 0.5785 GB, free: 40 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.4901, allocations: 141.4 kB / 0.5786 GB, free: 39.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.4905, allocations: 230.7 kB / 0.5789 GB, free: 39.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.4906, allocations: 328.7 kB / 0.5792 GB, free: 39.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.4938, allocations: 1.124 MB / 0.5803 GB, free: 38.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.4971, allocations: 1.203 MB / 0.5814 GB, free: 36.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006049/0.5032, allocations: 1.984 MB / 0.5834 GB, free: 34.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5032, allocations: 0 / 0.5834 GB, free: 34.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006984/0.5102, allocations: 2.326 MB / 0.5856 GB, free: 32.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5102, allocations: 19.11 kB / 0.5857 GB, free: 32.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5102, allocations: 4 kB / 0.5857 GB, free: 32.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5102, allocations: 4.312 kB / 0.5857 GB, free: 32.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/0.5127, allocations: 498.5 kB / 0.5862 GB, free: 32.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5127, allocations: 6.438 kB / 0.5862 GB, free: 32.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.5145, allocations: 267.5 kB / 0.5864 GB, free: 31.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.5147, allocations: 83.86 kB / 0.5865 GB, free: 31.77 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.0003421/0.515, allocations: 171 kB / 0.5867 GB, free: 31.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.5153, allocations: 23.75 kB / 0.5867 GB, free: 31.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008977/0.5242, allocations: 7.116 MB / 0.5936 GB, free: 24.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007968/0.5322, allocations: 6.572 MB / 0.6 GB, free: 17.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5322, allocations: 0.8125 kB / 0.6 GB, free: 17.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.5323, allocations: 3.984 kB / 0.6 GB, free: 17.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.5432, allocations: 10.44 MB / 0.6102 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5432, allocations: 1.406 kB / 0.6102 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/0.5456, allocations: 490 kB / 0.6107 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.5457, allocations: 10.91 kB / 0.6107 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.5458, allocations: 49.16 kB / 0.6108 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.5458, allocations: 4 kB / 0.6108 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5458, allocations: 0 / 0.6108 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009523/0.5553, allocations: 4.498 MB / 0.6152 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.5557, allocations: 283.8 kB / 0.6154 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.5559, allocations: 12 kB / 0.6155 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.5575, allocations: 279.2 kB / 0.6157 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.5577, allocations: 74.02 kB / 0.6158 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.5578, allocations: 54.72 kB / 0.6158 GB, free: 1.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.58e-05/0.5579, allocations: 114.4 kB / 0.616 GB, free: 1.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5579, allocations: 0 / 0.616 GB, free: 1.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002308/0.5602, allocations: 0.9773 MB / 0.6169 GB, free: 344 kB / 414.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.0032/0.5634, allocations: 0.9978 MB / 0.6179 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008233/0.5717, allocations: 2.844 MB / 0.6207 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5717, allocations: 0 / 0.6207 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003635/0.5753, allocations: 1.537 MB / 0.6222 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.5761, allocations: 109 kB / 0.6223 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.5811, allocations: 2.462 MB / 0.6247 GB, free: 8.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.5816, allocations: 0.9281 MB / 0.6256 GB, free: 7.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00224/0.5838, allocations: 1.294 MB / 0.6268 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007561/0.5846, allocations: 159.2 kB / 0.627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5846, allocations: 0 / 0.627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of Templates: time 0.05146/0.6361, allocations: 43.83 MB / 0.6698 GB, free: 10.35 MB / 478.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)