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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 104.4 kB / 16.92 MB, free: 5.738 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.001208/0.001208, allocations: 191.4 kB / 17.85 MB, free: 5.168 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.246/1.246, allocations: 205.1 MB / 223.7 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.2407/0.2407, allocations: 48.84 MB / 319.9 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.00144/0.00144, allocations: 69.44 kB / 390.2 MB, free: 48.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07564/0.07709, allocations: 59.18 MB / 449.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01539/0.09251, allocations: 15.64 MB / 465 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.1064, allocations: 13.8 MB / 478.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.1065, allocations: 4 kB / 478.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1069, allocations: 127.2 kB / 478.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.1074, allocations: 258.5 kB / 479.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.1182, allocations: 5.499 MB / 484.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009406/0.1191, allocations: 1.03 MB / 485.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.1192, allocations: 32.69 kB / 485.7 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005986/0.1198, allocations: 0.4909 MB / 486.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.1204, allocations: 450.9 kB / 486.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1205, allocations: 43.98 kB / 486.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009055/0.1296, allocations: 6.216 MB / 492.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1298, allocations: 191.5 kB / 493.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.1301, allocations: 247.1 kB / 493.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00457/0.1346, allocations: 3.93 MB / 497.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1346, allocations: 0 / 497.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1347, allocations: 0 / 497.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1347, allocations: 0 / 497.3 MB, free: 9.562 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.004504/0.1392, allocations: 1.502 MB / 498.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1392, allocations: 15.89 kB / 498.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.1393, allocations: 82.66 kB / 498.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1407, allocations: 160.5 kB / 499.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.1412, allocations: 343.8 kB / 499.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.1415, allocations: 126.8 kB / 499.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.1416, allocations: 31.94 kB / 499.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/0.1465, allocations: 1.883 MB / 0.4897 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1465, allocations: 0 / 0.4897 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.1466, allocations: 12 kB / 0.4897 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.1466, allocations: 12.56 kB / 0.4897 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007178/0.1538, allocations: 2.648 MB / 0.4923 GB, free: 2.617 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.00407/0.1579, allocations: 4.843 MB / 0.497 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/0.1618, allocations: 1.358 MB / 0.4983 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/0.1644, allocations: 0.9888 MB / 0.4993 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2991/0.4634, allocations: 75.95 MB / 0.5735 GB, free: 45.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4635, allocations: 46.31 kB / 0.5735 GB, free: 45.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.4635, allocations: 0 / 0.5735 GB, free: 45.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.02203/0.4856, allocations: 5.847 MB / 0.5792 GB, free: 39.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4856, allocations: 59.19 kB / 0.5793 GB, free: 39.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4857, allocations: 145.8 kB / 0.5794 GB, free: 39.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.4859, allocations: 37.69 kB / 0.5795 GB, free: 39.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.4859, allocations: 148.6 kB / 0.5796 GB, free: 39.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.4861, allocations: 154.4 kB / 0.5798 GB, free: 38.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.4865, allocations: 225.8 kB / 0.58 GB, free: 38.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.4865, allocations: 336.7 kB / 0.5803 GB, free: 38.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/0.4901, allocations: 1.124 MB / 0.5814 GB, free: 37.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.4937, allocations: 1.2 MB / 0.5826 GB, free: 35.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/0.5005, allocations: 1.97 MB / 0.5845 GB, free: 33.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5005, allocations: 4 kB / 0.5845 GB, free: 33.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007672/0.5082, allocations: 2.333 MB / 0.5868 GB, free: 31.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5082, allocations: 11.94 kB / 0.5868 GB, free: 31.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5082, allocations: 0 / 0.5868 GB, free: 31.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5082, allocations: 4 kB / 0.5868 GB, free: 31.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/0.5108, allocations: 0.4909 MB / 0.5873 GB, free: 31.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5108, allocations: 7.562 kB / 0.5873 GB, free: 31.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.5127, allocations: 251.6 kB / 0.5875 GB, free: 30.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.5128, allocations: 82.23 kB / 0.5876 GB, free: 30.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.0003237/0.5132, allocations: 172.8 kB / 0.5877 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.5134, allocations: 27.66 kB / 0.5878 GB, free: 30.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009742/0.5232, allocations: 7.123 MB / 0.5947 GB, free: 23.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008755/0.5319, allocations: 6.565 MB / 0.6011 GB, free: 16.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.532, allocations: 0 / 0.6011 GB, free: 16.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.532, allocations: 3.984 kB / 0.6011 GB, free: 16.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.5435, allocations: 10.44 MB / 0.6113 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5436, allocations: 0 / 0.6113 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/0.546, allocations: 499.7 kB / 0.6118 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.546, allocations: 8 kB / 0.6118 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.5461, allocations: 47.91 kB / 0.6119 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.5462, allocations: 4 kB / 0.6119 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5462, allocations: 0 / 0.6119 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.5563, allocations: 4.501 MB / 0.6163 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.5567, allocations: 276 kB / 0.6165 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.5569, allocations: 16 kB / 0.6165 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.5585, allocations: 255.7 kB / 0.6168 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.5587, allocations: 74.28 kB / 0.6169 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.5588, allocations: 55.91 kB / 0.6169 GB, free: 452 kB / 414.1 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.5589, allocations: 123.1 kB / 0.617 GB, free: 332 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5589, allocations: 0 / 0.617 GB, free: 332 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002379/0.5613, allocations: 0.9629 MB / 0.618 GB, free: 15.42 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.01509/0.5764, allocations: 5.938 MB / 0.6238 GB, free: 9.629 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008882/0.5853, allocations: 2.846 MB / 0.6266 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5853, allocations: 0 / 0.6266 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003778/0.5891, allocations: 1.543 MB / 0.6281 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.5898, allocations: 102.7 kB / 0.6282 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/0.617, allocations: 9.715 MB / 0.6376 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.6174, allocations: 0.9299 MB / 0.6386 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00212/0.6196, allocations: 1.291 MB / 0.6398 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008502/0.6204, allocations: 316.8 kB / 0.6401 GB, free: 8.773 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6204, allocations: 3.938 kB / 0.6401 GB, free: 8.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/2.701, allocations: 49.04 MB / 0.688 GB, free: 7.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/15.49, allocations: 12.91 kB / 0.688 GB, free: 7.633 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance_fmu --startTime=0 --stopTime=19 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)