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.0006743/0.0006744, allocations: 91.67 kB / 16.65 MB, free: 6.535 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.0007019/0.0007019, allocations: 177.8 kB / 17.56 MB, free: 6.18 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.123/1.123, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2249/0.2249, allocations: 48.79 MB / 320.8 MB, free: 11.12 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.0004568/0.0004568, allocations: 15.75 kB / 391.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07428/0.07475, allocations: 60.26 MB / 452.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.015/0.08979, allocations: 15.93 MB / 468.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.104, allocations: 14.58 MB / 482.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1042, allocations: 4 kB / 482.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.1046, allocations: 127.3 kB / 482.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004887/0.1051, allocations: 238.8 kB / 483 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009601/0.1147, allocations: 4.376 MB / 487.4 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.1158, allocations: 1.276 MB / 488.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.1159, allocations: 28.75 kB / 488.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.1166, allocations: 470.7 kB / 489.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.1172, allocations: 458.9 kB / 489.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.1173, allocations: 44 kB / 489.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00863/0.126, allocations: 6.297 MB / 496 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.1262, allocations: 171.5 kB / 496.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.1265, allocations: 264.9 kB / 496.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005225/0.1317, allocations: 3.918 MB / 0.4886 GB, free: 8.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1317, allocations: 0 / 0.4886 GB, free: 8.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1317, allocations: 0 / 0.4886 GB, free: 8.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1317, allocations: 0 / 0.4886 GB, free: 8.785 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.00457/0.1363, allocations: 1.468 MB / 0.49 GB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1363, allocations: 8.031 kB / 0.49 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1365, allocations: 78.72 kB / 0.4901 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.1377, allocations: 168.3 kB / 0.4903 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.1381, allocations: 335.9 kB / 0.4906 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.1384, allocations: 146.8 kB / 0.4907 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.1386, allocations: 35.84 kB / 0.4908 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.1431, allocations: 2.055 MB / 0.4928 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1432, allocations: 3.984 kB / 0.4928 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/0.1432, allocations: 16 kB / 0.4928 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.1433, allocations: 12.56 kB / 0.4928 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006998/0.1503, allocations: 2.991 MB / 0.4957 GB, free: 1.344 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.003811/0.1541, allocations: 4.839 MB / 0.5004 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.1579, allocations: 1.526 MB / 0.5019 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.1605, allocations: 1.161 MB / 0.5031 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2782/0.4387, allocations: 76.72 MB / 0.578 GB, free: 42.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4387, allocations: 35.48 kB / 0.578 GB, free: 42.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.4387, allocations: 4 kB / 0.578 GB, free: 42.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.02052/0.4593, allocations: 6.692 MB / 0.5846 GB, free: 36.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.4593, allocations: 63.19 kB / 0.5846 GB, free: 36.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.4594, allocations: 142.4 kB / 0.5848 GB, free: 35.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4595, allocations: 37.7 kB / 0.5848 GB, free: 35.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.4596, allocations: 145.3 kB / 0.5849 GB, free: 35.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.4597, allocations: 152.9 kB / 0.5851 GB, free: 35.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4598, allocations: 45.69 kB / 0.5851 GB, free: 35.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.4599, allocations: 328.7 kB / 0.5854 GB, free: 35.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/0.4633, allocations: 1.289 MB / 0.5867 GB, free: 33.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/0.4667, allocations: 1.381 MB / 0.588 GB, free: 32.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/0.4731, allocations: 2.312 MB / 0.5903 GB, free: 30.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4731, allocations: 0 / 0.5903 GB, free: 30.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00712/0.4802, allocations: 2.675 MB / 0.5929 GB, free: 27.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4803, allocations: 7.938 kB / 0.5929 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4803, allocations: 4 kB / 0.5929 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4803, allocations: 4 kB / 0.5929 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.4827, allocations: 0.5854 MB / 0.5935 GB, free: 26.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4827, allocations: 7.984 kB / 0.5935 GB, free: 26.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.4845, allocations: 343.6 kB / 0.5938 GB, free: 26.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4847, allocations: 83.58 kB / 0.5939 GB, free: 26.42 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.0002821/0.485, allocations: 189.3 kB / 0.5941 GB, free: 26.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4851, allocations: 27.66 kB / 0.5941 GB, free: 26.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009174/0.4943, allocations: 7.448 MB / 0.6014 GB, free: 18.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008206/0.5025, allocations: 6.916 MB / 0.6082 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5025, allocations: 0 / 0.6082 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.5025, allocations: 3.984 kB / 0.6082 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5133, allocations: 10.78 MB / 0.6187 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5133, allocations: 0 / 0.6187 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/0.5156, allocations: 0.5851 MB / 0.6193 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5156, allocations: 6.672 kB / 0.6193 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.232e-05/0.5157, allocations: 47.91 kB / 0.6193 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5157, allocations: 11.2 kB / 0.6193 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5157, allocations: 1.25 kB / 0.6193 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.5268, allocations: 4.99 MB / 0.6242 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.5272, allocations: 283.8 kB / 0.6245 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5274, allocations: 16 kB / 0.6245 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.5291, allocations: 355.6 kB / 0.6248 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.5293, allocations: 76.78 kB / 0.6249 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.5294, allocations: 55.91 kB / 0.6249 GB, free: 10.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.706e-05/0.5295, allocations: 113.9 kB / 0.625 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5295, allocations: 3.938 kB / 0.6251 GB, free: 10.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002349/0.5319, allocations: 0.9654 MB / 0.626 GB, free: 9.262 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.01428/0.5462, allocations: 6.432 MB / 0.6323 GB, free: 2.945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007499/0.5537, allocations: 2.985 MB / 0.6352 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5537, allocations: 0 / 0.6352 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003653/0.5573, allocations: 1.708 MB / 0.6369 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.5581, allocations: 106.1 kB / 0.637 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.584, allocations: 11.06 MB / 0.6478 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.5844, allocations: 0.932 MB / 0.6487 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002001/0.5865, allocations: 1.296 MB / 0.6499 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008021/0.5873, allocations: 315.1 kB / 0.6502 GB, free: 376 kB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5873, allocations: 0 / 0.6502 GB, free: 376 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.6496, allocations: 48.04 MB / 0.6972 GB, free: 280 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.6499, allocations: 225.7 kB / 0.6974 GB, free: 20 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/4.202, allocations: 3.906 kB / 0.6974 GB, free: 16 kB / 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)