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.001096/0.001096, allocations: 89.86 kB / 16.31 MB, free: 5.676 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: 181.7 kB / 17.21 MB, free: 5.598 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.333/1.333, allocations: 205.4 MB / 223.4 MB, free: 13.03 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2519/0.2519, allocations: 48.78 MB / 320.4 MB, free: 11.21 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.0007234/0.0007234, allocations: 21.66 kB / 391.3 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.0888, allocations: 60.27 MB / 451.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01472/0.1036, allocations: 14.5 MB / 466 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.1168, allocations: 12.81 MB / 478.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.117, allocations: 0 / 478.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.1174, allocations: 119.3 kB / 479 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.1179, allocations: 234.8 kB / 479.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.1285, allocations: 4.235 MB / 483.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.1296, allocations: 1.022 MB / 484.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.1297, allocations: 32.73 kB / 484.5 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.1303, allocations: 470.7 kB / 484.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.1309, allocations: 451 kB / 485.4 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.131, allocations: 40 kB / 485.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009658/0.1406, allocations: 6.102 MB / 491.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.1409, allocations: 167.6 kB / 491.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.141, allocations: 89.58 kB / 491.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.1448, allocations: 2.623 MB / 494.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1448, allocations: 7.938 kB / 494.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1448, allocations: 0 / 494.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1448, allocations: 0 / 494.4 MB, free: 14.43 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.004714/0.1495, allocations: 1.471 MB / 495.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.1496, allocations: 12.02 kB / 495.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.1497, allocations: 78.53 kB / 496 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.151, allocations: 159.5 kB / 496.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.1515, allocations: 342.5 kB / 496.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.1519, allocations: 142.3 kB / 496.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.152, allocations: 28 kB / 496.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004647/0.1567, allocations: 2.051 MB / 498.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1567, allocations: 0 / 498.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/0.1568, allocations: 16 kB / 498.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.1568, allocations: 12.56 kB / 498.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006969/0.1638, allocations: 2.991 MB / 0.4899 GB, free: 7 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.004279/0.1681, allocations: 4.839 MB / 0.4947 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.1719, allocations: 1.518 MB / 0.4961 GB, free: 0 / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/0.1744, allocations: 1.165 MB / 0.4973 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.311/0.4854, allocations: 76.73 MB / 0.5722 GB, free: 48.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4855, allocations: 38.27 kB / 0.5722 GB, free: 47.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.125e-06/0.4855, allocations: 0 / 0.5722 GB, free: 47.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.01955/0.505, allocations: 6.684 MB / 0.5788 GB, free: 41.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.5051, allocations: 60.22 kB / 0.5788 GB, free: 41.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.5052, allocations: 149.7 kB / 0.579 GB, free: 41.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.5053, allocations: 33.7 kB / 0.579 GB, free: 41.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.5054, allocations: 150.3 kB / 0.5792 GB, free: 41.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.5056, allocations: 148.3 kB / 0.5793 GB, free: 41.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5057, allocations: 8 kB / 0.5793 GB, free: 41.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.5058, allocations: 342.6 kB / 0.5796 GB, free: 40.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/0.509, allocations: 1.281 MB / 0.5809 GB, free: 39.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.5121, allocations: 1.38 MB / 0.5822 GB, free: 38.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/0.5151, allocations: 1.132 MB / 0.5833 GB, free: 37.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5151, allocations: 4 kB / 0.5833 GB, free: 37.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006558/0.5216, allocations: 2.667 MB / 0.5859 GB, free: 34.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5217, allocations: 4 kB / 0.5859 GB, free: 34.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5217, allocations: 4 kB / 0.5859 GB, free: 34.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5217, allocations: 4 kB / 0.586 GB, free: 34.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.524, allocations: 0.5854 MB / 0.5865 GB, free: 33.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.524, allocations: 4 kB / 0.5865 GB, free: 33.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.5257, allocations: 351.6 kB / 0.5869 GB, free: 33.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.5259, allocations: 83.86 kB / 0.5869 GB, free: 33.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.5262, allocations: 174.5 kB / 0.5871 GB, free: 33.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.5263, allocations: 27.67 kB / 0.5871 GB, free: 33.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009118/0.5354, allocations: 7.457 MB / 0.5944 GB, free: 25.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008013/0.5435, allocations: 6.9 MB / 0.6012 GB, free: 18.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.5435, allocations: 0 / 0.6012 GB, free: 18.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.5435, allocations: 5.625 kB / 0.6012 GB, free: 18.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.5546, allocations: 10.78 MB / 0.6117 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.5546, allocations: 3.719 kB / 0.6117 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/0.5569, allocations: 0.5851 MB / 0.6123 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.5569, allocations: 4 kB / 0.6123 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.557, allocations: 51.91 kB / 0.6123 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.557, allocations: 7.953 kB / 0.6123 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.557, allocations: 0 / 0.6123 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009227/0.5663, allocations: 4.975 MB / 0.6172 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.5667, allocations: 276 kB / 0.6174 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.5669, allocations: 16 kB / 0.6175 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.5684, allocations: 363.5 kB / 0.6178 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.5685, allocations: 76.78 kB / 0.6179 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.5686, allocations: 55.91 kB / 0.6179 GB, free: 1.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.225e-05/0.5687, allocations: 114.5 kB / 0.618 GB, free: 1.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5687, allocations: 0 / 0.618 GB, free: 1.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0024/0.5711, allocations: 0.974 MB / 0.619 GB, free: 208 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/0.5857, allocations: 6.408 MB / 0.6252 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007378/0.5931, allocations: 2.978 MB / 0.6282 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5932, allocations: 0 / 0.6282 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.5968, allocations: 1.701 MB / 0.6298 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.5976, allocations: 107.9 kB / 0.6299 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/0.6152, allocations: 7.472 MB / 0.6372 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.6157, allocations: 0.9246 MB / 0.6381 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002337/0.618, allocations: 1.306 MB / 0.6394 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/0.6189, allocations: 315.1 kB / 0.6397 GB, free: 10.99 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6189, allocations: 0 / 0.6397 GB, free: 10.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0717/0.6906, allocations: 48.28 MB / 0.6868 GB, free: 10.66 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.6908, allocations: 213.7 kB / 0.687 GB, free: 10.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.305/4.996, allocations: 8 kB / 0.6871 GB, free: 10.41 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/linux/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) Environment - environmentSimulation: