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.001312/0.001312, allocations: 115.4 kB / 17.69 MB, free: 5.312 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.001343/0.001343, allocations: 191 kB / 18.63 MB, free: 4.379 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.276/1.276, allocations: 205.1 MB / 224.5 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.2551/0.2551, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001451/0.001451, allocations: 71.97 kB / 391.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07714/0.0786, allocations: 59.17 MB / 450.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01704/0.09567, allocations: 15.65 MB / 466.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.1105, allocations: 13.8 MB / 480.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1107, allocations: 0 / 480.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.1111, allocations: 131.2 kB / 480.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005367/0.1117, allocations: 250.6 kB / 480.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.1235, allocations: 5.523 MB / 486 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1246, allocations: 1.026 MB / 487.1 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.1247, allocations: 32.73 kB / 487.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006242/0.1253, allocations: 490.6 kB / 487.6 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/0.1259, allocations: 462.8 kB / 488 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.126, allocations: 40 kB / 488.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/0.1362, allocations: 6.352 MB / 494.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.1365, allocations: 183.5 kB / 494.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.1368, allocations: 243.1 kB / 494.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005553/0.1424, allocations: 3.93 MB / 498.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1424, allocations: 3.938 kB / 498.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1424, allocations: 0 / 498.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1424, allocations: 4 kB / 498.8 MB, free: 8.801 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.004597/0.147, allocations: 1.498 MB / 0.4886 GB, free: 7.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1471, allocations: 8.031 kB / 0.4886 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.1485, allocations: 164.4 kB / 0.4887 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.1491, allocations: 343.8 kB / 0.489 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/0.1494, allocations: 130.8 kB / 0.4892 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.1496, allocations: 32.12 kB / 0.4892 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/0.1541, allocations: 1.891 MB / 0.491 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1541, allocations: 0 / 0.491 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.1542, allocations: 12 kB / 0.4911 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.1543, allocations: 16.56 kB / 0.4911 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006755/0.161, allocations: 2.648 MB / 0.4937 GB, free: 1.938 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.004363/0.1654, allocations: 4.827 MB / 0.4984 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/0.1692, allocations: 1.354 MB / 0.4997 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.1715, allocations: 0.9888 MB / 0.5007 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2898/0.4613, allocations: 76.31 MB / 0.5752 GB, free: 44.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4614, allocations: 38.89 kB / 0.5752 GB, free: 44.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.215e-06/0.4614, allocations: 4 kB / 0.5752 GB, free: 44.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.01932/0.4807, allocations: 5.847 MB / 0.5809 GB, free: 38.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.4807, allocations: 61.34 kB / 0.581 GB, free: 38.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.4809, allocations: 153.7 kB / 0.5811 GB, free: 38.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.481, allocations: 29.7 kB / 0.5812 GB, free: 38.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.481, allocations: 151.1 kB / 0.5813 GB, free: 38.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.4812, allocations: 150.3 kB / 0.5815 GB, free: 37.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/0.4816, allocations: 225.8 kB / 0.5817 GB, free: 37.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.4817, allocations: 336.5 kB / 0.582 GB, free: 37.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/0.4848, allocations: 1.113 MB / 0.5831 GB, free: 36.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/0.4879, allocations: 1.206 MB / 0.5843 GB, free: 34.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005739/0.4936, allocations: 1.973 MB / 0.5862 GB, free: 32.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4937, allocations: 4 kB / 0.5862 GB, free: 32.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007037/0.5007, allocations: 2.33 MB / 0.5885 GB, free: 30.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5007, allocations: 12.25 kB / 0.5885 GB, free: 30.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5008, allocations: 9.031 kB / 0.5885 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.5008, allocations: 4 kB / 0.5885 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/0.5032, allocations: 498.6 kB / 0.589 GB, free: 30.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5032, allocations: 4 kB / 0.589 GB, free: 30.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.5049, allocations: 251.6 kB / 0.5892 GB, free: 29.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.505, allocations: 79.86 kB / 0.5893 GB, free: 29.83 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.0003567/0.5054, allocations: 174.8 kB / 0.5894 GB, free: 29.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.5057, allocations: 27.66 kB / 0.5895 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008829/0.5145, allocations: 7.117 MB / 0.5964 GB, free: 22.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007816/0.5223, allocations: 6.559 MB / 0.6028 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5223, allocations: 3.984 kB / 0.6028 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.5224, allocations: 3.984 kB / 0.6028 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.5333, allocations: 10.44 MB / 0.613 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5333, allocations: 0 / 0.613 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.5356, allocations: 0.491 MB / 0.6135 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.5356, allocations: 4 kB / 0.6135 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.5357, allocations: 49.55 kB / 0.6136 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.5357, allocations: 0 / 0.6136 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5358, allocations: 10.62 kB / 0.6136 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009097/0.5449, allocations: 4.495 MB / 0.618 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.5455, allocations: 276 kB / 0.6182 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.5456, allocations: 16 kB / 0.6182 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.5473, allocations: 257 kB / 0.6185 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.5475, allocations: 76.83 kB / 0.6186 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.5477, allocations: 55.91 kB / 0.6186 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.5478, allocations: 118.6 kB / 0.6187 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5478, allocations: 1.203 kB / 0.6187 GB, free: 15.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002583/0.5504, allocations: 0.9655 MB / 0.6197 GB, free: 14.44 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.003832/0.5542, allocations: 0.9876 MB / 0.6206 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00708/0.5613, allocations: 2.656 MB / 0.6232 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5613, allocations: 8 kB / 0.6232 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003497/0.5648, allocations: 1.529 MB / 0.6247 GB, free: 9.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.5656, allocations: 105 kB / 0.6248 GB, free: 9.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.5703, allocations: 2.154 MB / 0.6269 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.5707, allocations: 0.9281 MB / 0.6278 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001984/0.5727, allocations: 1.299 MB / 0.6291 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.5735, allocations: 155.2 kB / 0.6293 GB, free: 4.773 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5735, allocations: 0 / 0.6293 GB, free: 4.773 MB / 430.1 MB Notification: Performance of Templates: time 0.05294/0.6265, allocations: 43.68 MB / 0.6719 GB, free: 9.156 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)