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.000785/0.0007852, allocations: 91.86 kB / 16.65 MB, free: 6.59 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.0007847/0.0007848, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.348/1.348, allocations: 205.4 MB / 223.8 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2652/0.2652, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.000486/0.000486, allocations: 15.73 kB / 391.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09482, allocations: 60.26 MB / 452.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01919/0.1141, allocations: 15.93 MB / 468 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.1315, allocations: 14.58 MB / 482.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.1318, allocations: 0 / 482.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.1323, allocations: 127.4 kB / 482.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007166/0.133, allocations: 242.7 kB / 483 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01283/0.1459, allocations: 4.373 MB / 487.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1473, allocations: 1.276 MB / 488.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.1474, allocations: 36.62 kB / 488.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.1481, allocations: 462.8 kB / 489.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.1487, allocations: 462.8 kB / 489.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.1488, allocations: 36 kB / 489.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.1597, allocations: 6.301 MB / 495.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.1601, allocations: 175.5 kB / 496 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.1605, allocations: 268.9 kB / 496.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007457/0.168, allocations: 3.91 MB / 0.4885 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.168, allocations: 7.922 kB / 0.4885 GB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.168, allocations: 0 / 0.4885 GB, free: 8.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.168, allocations: 0 / 0.4885 GB, free: 8.875 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.005249/0.1733, allocations: 1.463 MB / 0.4899 GB, free: 7.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1733, allocations: 12.03 kB / 0.4899 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.1747, allocations: 160.4 kB / 0.4901 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.1752, allocations: 347.8 kB / 0.4904 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.1756, allocations: 138.8 kB / 0.4906 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.1758, allocations: 36.12 kB / 0.4906 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00519/0.181, allocations: 2.048 MB / 0.4926 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.181, allocations: 7.922 kB / 0.4926 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1811, allocations: 16 kB / 0.4926 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.1811, allocations: 12.56 kB / 0.4926 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007801/0.1889, allocations: 2.988 MB / 0.4955 GB, free: 1.531 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.004423/0.1934, allocations: 4.831 MB / 0.5003 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.1976, allocations: 1.533 MB / 0.5018 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/0.2004, allocations: 1.157 MB / 0.5029 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3254/0.5258, allocations: 76.72 MB / 0.5778 GB, free: 42.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.5259, allocations: 38.14 kB / 0.5779 GB, free: 42.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.824e-06/0.5259, allocations: 0 / 0.5779 GB, free: 42.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.02275/0.5486, allocations: 6.691 MB / 0.5844 GB, free: 36.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.5487, allocations: 59.19 kB / 0.5844 GB, free: 36.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.5488, allocations: 154.4 kB / 0.5846 GB, free: 36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.5489, allocations: 29.7 kB / 0.5846 GB, free: 35.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.549, allocations: 151.9 kB / 0.5848 GB, free: 35.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.5492, allocations: 149.7 kB / 0.5849 GB, free: 35.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.5493, allocations: 49.69 kB / 0.585 GB, free: 35.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.5494, allocations: 328.5 kB / 0.5853 GB, free: 35.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/0.5531, allocations: 1.285 MB / 0.5865 GB, free: 34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.5569, allocations: 1.378 MB / 0.5879 GB, free: 32.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007057/0.5639, allocations: 2.323 MB / 0.5901 GB, free: 30.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.564, allocations: 0 / 0.5901 GB, free: 30.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007981/0.5719, allocations: 2.671 MB / 0.5927 GB, free: 27.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.572, allocations: 15.22 kB / 0.5928 GB, free: 27.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.572, allocations: 0 / 0.5928 GB, free: 27.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.572, allocations: 9.203 kB / 0.5928 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.5747, allocations: 0.5777 MB / 0.5933 GB, free: 26.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.5747, allocations: 5.172 kB / 0.5933 GB, free: 26.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.5768, allocations: 351.6 kB / 0.5937 GB, free: 26.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.5769, allocations: 83.8 kB / 0.5938 GB, free: 26.54 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.0003488/0.5773, allocations: 173.7 kB / 0.5939 GB, free: 26.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.5775, allocations: 27.66 kB / 0.5939 GB, free: 26.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/0.5879, allocations: 7.459 MB / 0.6012 GB, free: 18.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009244/0.5972, allocations: 6.9 MB / 0.608 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5972, allocations: 0 / 0.608 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5972, allocations: 11.97 kB / 0.608 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.6102, allocations: 10.79 MB / 0.6185 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.6102, allocations: 0 / 0.6185 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/0.6128, allocations: 0.5812 MB / 0.6191 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/0.6129, allocations: 4 kB / 0.6191 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.613, allocations: 43.92 kB / 0.6191 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.613, allocations: 11.98 kB / 0.6191 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.613, allocations: 0 / 0.6191 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.6257, allocations: 4.994 MB / 0.624 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.6262, allocations: 283.8 kB / 0.6243 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.6264, allocations: 16 kB / 0.6243 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.6283, allocations: 351.7 kB / 0.6246 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.6286, allocations: 72.84 kB / 0.6247 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.6287, allocations: 55.91 kB / 0.6248 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.573e-05/0.6288, allocations: 107.2 kB / 0.6249 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6288, allocations: 0 / 0.6249 GB, free: 10.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002865/0.6317, allocations: 0.9691 MB / 0.6258 GB, free: 9.395 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.004274/0.636, allocations: 1.004 MB / 0.6268 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008724/0.6447, allocations: 2.987 MB / 0.6297 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6448, allocations: 0 / 0.6297 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004256/0.649, allocations: 1.705 MB / 0.6314 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.65, allocations: 99.5 kB / 0.6315 GB, free: 3.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.6558, allocations: 2.688 MB / 0.6341 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6564, allocations: 0.9321 MB / 0.635 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002396/0.6588, allocations: 1.3 MB / 0.6363 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007986/0.6596, allocations: 155.2 kB / 0.6364 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6596, allocations: 4 kB / 0.6364 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Templates: time 0.06124/0.7209, allocations: 42.96 MB / 0.6784 GB, free: 3.621 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: