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.001109/0.001109, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.001165/0.001165, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.107/1.107, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2268/0.2268, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001321/0.001321, allocations: 72.12 kB / 389.5 MB, free: 48.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07215/0.07348, allocations: 59.16 MB / 448.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01601/0.08953, allocations: 16.46 MB / 465.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1037, allocations: 14.82 MB / 479.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1039, allocations: 0 / 479.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.1043, allocations: 131.4 kB / 480 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.1048, allocations: 246.7 kB / 480.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009412/0.1142, allocations: 4.365 MB / 484.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1153, allocations: 1.279 MB / 485.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.082e-05/0.1154, allocations: 32.75 kB / 485.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.1161, allocations: 462.8 kB / 486.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.1166, allocations: 466.8 kB / 486.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1168, allocations: 40 kB / 486.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008681/0.1255, allocations: 6.301 MB / 493.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.1257, allocations: 171.5 kB / 493.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.126, allocations: 235.2 kB / 493.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005546/0.1316, allocations: 3.949 MB / 497.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1316, allocations: 0 / 497.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1316, allocations: 0 / 497.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.1316, allocations: 0 / 497.5 MB, free: 9.086 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.004689/0.1363, allocations: 1.498 MB / 499 MB, free: 7.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1363, allocations: 12.03 kB / 499.1 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.1365, allocations: 78.72 kB / 499.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.1378, allocations: 160.5 kB / 499.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.1382, allocations: 339.8 kB / 499.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.1385, allocations: 134.8 kB / 499.7 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.1386, allocations: 35.92 kB / 499.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004312/0.1429, allocations: 1.883 MB / 0.4899 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.143, allocations: 0 / 0.4899 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.1431, allocations: 12 kB / 0.4899 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.1431, allocations: 12.56 kB / 0.4899 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/0.1493, allocations: 2.652 MB / 0.4925 GB, free: 2.145 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.003799/0.1532, allocations: 4.831 MB / 0.4972 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.1566, allocations: 1.357 MB / 0.4986 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.1588, allocations: 0.9849 MB / 0.4995 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2665/0.4254, allocations: 75.97 MB / 0.5737 GB, free: 45.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4254, allocations: 42.88 kB / 0.5738 GB, free: 45.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.4254, allocations: 0 / 0.5738 GB, free: 45.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.01804/0.4435, allocations: 5.841 MB / 0.5795 GB, free: 39.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.4435, allocations: 55.41 kB / 0.5795 GB, free: 39.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.4436, allocations: 159.4 kB / 0.5797 GB, free: 38.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.4437, allocations: 37.69 kB / 0.5797 GB, free: 38.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.4438, allocations: 146.3 kB / 0.5798 GB, free: 38.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.4439, allocations: 149.8 kB / 0.58 GB, free: 38.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.4443, allocations: 221.8 kB / 0.5802 GB, free: 38.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.4444, allocations: 332.7 kB / 0.5805 GB, free: 38.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/0.4472, allocations: 1.121 MB / 0.5816 GB, free: 36.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.4502, allocations: 1.204 MB / 0.5828 GB, free: 35.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005376/0.4555, allocations: 1.974 MB / 0.5847 GB, free: 33.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4556, allocations: 0 / 0.5847 GB, free: 33.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006445/0.462, allocations: 2.331 MB / 0.587 GB, free: 31.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.462, allocations: 11.94 kB / 0.587 GB, free: 31.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4621, allocations: 0 / 0.587 GB, free: 31.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4621, allocations: 8 kB / 0.587 GB, free: 31.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.4643, allocations: 495.4 kB / 0.5875 GB, free: 30.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.4644, allocations: 5.5 kB / 0.5875 GB, free: 30.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4661, allocations: 271.5 kB / 0.5877 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4663, allocations: 89.08 kB / 0.5878 GB, free: 30.56 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.0004158/0.4667, allocations: 178.1 kB / 0.588 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.467, allocations: 24.92 kB / 0.588 GB, free: 30.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008348/0.4753, allocations: 7.114 MB / 0.595 GB, free: 23.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007322/0.4827, allocations: 6.564 MB / 0.6014 GB, free: 16.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4827, allocations: 4 kB / 0.6014 GB, free: 16.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.4827, allocations: 3.984 kB / 0.6014 GB, free: 16.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00982/0.4925, allocations: 10.45 MB / 0.6116 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4926, allocations: 2.625 kB / 0.6116 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.4947, allocations: 493.1 kB / 0.6121 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4947, allocations: 4 kB / 0.6121 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4948, allocations: 47.91 kB / 0.6121 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4948, allocations: 4.688 kB / 0.6121 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4948, allocations: 0 / 0.6121 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008481/0.5033, allocations: 4.504 MB / 0.6165 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.5037, allocations: 275.9 kB / 0.6168 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5038, allocations: 15.98 kB / 0.6168 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.5053, allocations: 268.2 kB / 0.6171 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5055, allocations: 80.83 kB / 0.6171 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.5056, allocations: 53 kB / 0.6172 GB, free: 164 kB / 414.1 MB Notification: Performance of sorting global known variables: time 5.217e-05/0.5057, allocations: 122.3 kB / 0.6173 GB, free: 44 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5057, allocations: 0 / 0.6173 GB, free: 44 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002471/0.5082, allocations: 0.9691 MB / 0.6182 GB, free: 15.14 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.01329/0.5215, allocations: 5.935 MB / 0.624 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006498/0.528, allocations: 2.647 MB / 0.6266 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.528, allocations: 0 / 0.6266 GB, free: 6.672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.5312, allocations: 1.538 MB / 0.6281 GB, free: 5.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.5319, allocations: 112.6 kB / 0.6282 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/0.5545, allocations: 10.02 MB / 0.638 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.5549, allocations: 0.9282 MB / 0.6389 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002051/0.5569, allocations: 1.299 MB / 0.6402 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008513/0.5578, allocations: 307.1 kB / 0.6405 GB, free: 8.359 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5578, allocations: 0 / 0.6405 GB, free: 8.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07345/0.6313, allocations: 48.25 MB / 0.6876 GB, free: 8.051 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.6315, allocations: 238.2 kB / 0.6878 GB, free: 7.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/4.2, allocations: 4 kB / 0.6878 GB, free: 7.781 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)