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.001133/0.001133, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001112/0.001112, allocations: 190 kB / 17.54 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.129/1.129, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2253/0.2253, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001309/0.001309, allocations: 69.8 kB / 389.7 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07163/0.07295, allocations: 59.16 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01594/0.08891, allocations: 15.75 MB / 464.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.1023, allocations: 13.9 MB / 478.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.1025, allocations: 0 / 478.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.1028, allocations: 119.4 kB / 478.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.1034, allocations: 242.7 kB / 478.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.1136, allocations: 4.841 MB / 483.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009467/0.1145, allocations: 1.034 MB / 484.7 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.1146, allocations: 32.75 kB / 484.7 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.1152, allocations: 490.7 kB / 485.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005065/0.1157, allocations: 466.8 kB / 485.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.1158, allocations: 44 kB / 485.7 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008074/0.1239, allocations: 6.274 MB / 492 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.124, allocations: 183.5 kB / 492.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.1243, allocations: 251.1 kB / 492.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.1286, allocations: 3.941 MB / 496.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1286, allocations: 0 / 496.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1286, allocations: 8 kB / 496.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1286, allocations: 0 / 496.3 MB, free: 10.38 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.004395/0.133, allocations: 1.495 MB / 497.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.133, allocations: 15.88 kB / 497.9 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.781e-05/0.1331, allocations: 74.73 kB / 497.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.1345, allocations: 160.5 kB / 498.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.1349, allocations: 351.8 kB / 498.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.1352, allocations: 130.8 kB / 498.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1353, allocations: 39.88 kB / 498.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/0.1398, allocations: 1.872 MB / 0.4887 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1398, allocations: 4 kB / 0.4887 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1399, allocations: 16 kB / 0.4888 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.1399, allocations: 12.56 kB / 0.4888 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006449/0.1464, allocations: 2.652 MB / 0.4914 GB, free: 3.426 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.003835/0.1502, allocations: 4.827 MB / 0.4961 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.1539, allocations: 1.358 MB / 0.4974 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.1561, allocations: 0.9849 MB / 0.4984 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2673/0.4234, allocations: 75.96 MB / 0.5725 GB, free: 46.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.4235, allocations: 38.89 kB / 0.5726 GB, free: 46.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.4235, allocations: 0 / 0.5726 GB, free: 46.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.01898/0.4425, allocations: 5.856 MB / 0.5783 GB, free: 40.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.4425, allocations: 55.41 kB / 0.5784 GB, free: 40.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.4426, allocations: 145.8 kB / 0.5785 GB, free: 40.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.4427, allocations: 33.7 kB / 0.5785 GB, free: 40.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.4428, allocations: 152.1 kB / 0.5787 GB, free: 40.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.443, allocations: 144.8 kB / 0.5788 GB, free: 40.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.4434, allocations: 229.8 kB / 0.579 GB, free: 39.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.4434, allocations: 332.9 kB / 0.5793 GB, free: 39.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/0.4464, allocations: 1.113 MB / 0.5804 GB, free: 38.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.4495, allocations: 1.211 MB / 0.5816 GB, free: 37.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005672/0.4552, allocations: 1.975 MB / 0.5835 GB, free: 35.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4552, allocations: 0 / 0.5835 GB, free: 35.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006514/0.4617, allocations: 2.335 MB / 0.5858 GB, free: 32.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4618, allocations: 11.94 kB / 0.5858 GB, free: 32.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4618, allocations: 7.766 kB / 0.5858 GB, free: 32.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4618, allocations: 4 kB / 0.5858 GB, free: 32.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.4641, allocations: 492.3 kB / 0.5863 GB, free: 32.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4641, allocations: 8.922 kB / 0.5863 GB, free: 32.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.4657, allocations: 263.5 kB / 0.5866 GB, free: 32.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.4659, allocations: 83.42 kB / 0.5867 GB, free: 31.99 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.0002942/0.4662, allocations: 178.8 kB / 0.5868 GB, free: 31.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.4664, allocations: 23.75 kB / 0.5868 GB, free: 31.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008399/0.4748, allocations: 7.118 MB / 0.5938 GB, free: 24.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007388/0.4822, allocations: 6.577 MB / 0.6002 GB, free: 18.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4822, allocations: 0 / 0.6002 GB, free: 18.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4823, allocations: 3.984 kB / 0.6002 GB, free: 18.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.4923, allocations: 10.44 MB / 0.6104 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4923, allocations: 6.312 kB / 0.6104 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/0.4944, allocations: 496.9 kB / 0.6109 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4945, allocations: 4 kB / 0.6109 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.4946, allocations: 47.91 kB / 0.6109 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4946, allocations: 4 kB / 0.6109 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4946, allocations: 0 / 0.6109 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008772/0.5034, allocations: 4.496 MB / 0.6153 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.5037, allocations: 279.9 kB / 0.6156 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.5039, allocations: 12.06 kB / 0.6156 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.5054, allocations: 283.3 kB / 0.6159 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.5055, allocations: 72.84 kB / 0.616 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.5056, allocations: 55.89 kB / 0.616 GB, free: 1.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.5057, allocations: 110.4 kB / 0.6161 GB, free: 1.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5057, allocations: 0 / 0.6161 GB, free: 1.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002071/0.5078, allocations: 0.9731 MB / 0.6171 GB, free: 0.5469 MB / 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 (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.01376/0.5215, allocations: 5.939 MB / 0.6229 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007561/0.5291, allocations: 2.851 MB / 0.6257 GB, free: 7.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5291, allocations: 0 / 0.6257 GB, free: 7.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003321/0.5325, allocations: 1.54 MB / 0.6272 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.5332, allocations: 108.4 kB / 0.6273 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/0.5571, allocations: 10.01 MB / 0.637 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.5575, allocations: 0.9282 MB / 0.6379 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002104/0.5596, allocations: 1.295 MB / 0.6392 GB, free: 9.871 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008474/0.5605, allocations: 309 kB / 0.6395 GB, free: 9.57 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5605, allocations: 0 / 0.6395 GB, free: 9.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06598/0.6265, allocations: 49 MB / 0.6874 GB, free: 8.527 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.6267, allocations: 226.6 kB / 0.6876 GB, free: 8.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.771/4.398, allocations: 0 / 0.6876 GB, free: 8.273 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)