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.001318/0.001318, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001603/0.001603, allocations: 181.3 kB / 17.19 MB, free: 5.906 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.904/1.904, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4574/0.4574, allocations: 48.78 MB / 320.4 MB, free: 3.836 MB / 254.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.0007844/0.0007845, allocations: 20 kB / 391.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1568, allocations: 60.24 MB / 451.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.3051/0.4619, allocations: 13.35 MB / 464.8 MB, free: 43.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.4802, allocations: 11.74 MB / 476.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.4805, allocations: 0 / 476.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.4811, allocations: 125.1 kB / 476.7 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008611/0.482, allocations: 202.4 kB / 476.9 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02253/0.5046, allocations: 4.291 MB / 481.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.5061, allocations: 0.6012 MB / 481.8 MB, free: 33.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.5063, allocations: 42.28 kB / 481.8 MB, free: 33.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.5076, allocations: 479.8 kB / 482.3 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009281/0.5085, allocations: 396.6 kB / 482.7 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.5087, allocations: 37.78 kB / 482.7 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02064/0.5293, allocations: 6.26 MB / 489 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005469/0.5299, allocations: 160.8 kB / 489.1 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.5303, allocations: 87.23 kB / 489.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008655/0.5389, allocations: 2.627 MB / 491.9 MB, free: 29.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.539, allocations: 4 kB / 491.9 MB, free: 29.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.539, allocations: 0 / 491.9 MB, free: 29.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.539, allocations: 0 / 491.9 MB, free: 29.9 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.008297/0.5473, allocations: 1.467 MB / 493.3 MB, free: 29.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.5474, allocations: 13.61 kB / 493.3 MB, free: 29.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/0.5477, allocations: 80.28 kB / 493.4 MB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/0.5505, allocations: 155.7 kB / 493.6 MB, free: 28.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/0.5514, allocations: 350.7 kB / 493.9 MB, free: 28.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/0.552, allocations: 143.9 kB / 494 MB, free: 28.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.5522, allocations: 29.5 kB / 494.1 MB, free: 28.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008076/0.5603, allocations: 2.049 MB / 496.1 MB, free: 27.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5604, allocations: 3.938 kB / 496.1 MB, free: 27.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.5605, allocations: 12.25 kB / 496.1 MB, free: 27.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.5606, allocations: 11.81 kB / 496.2 MB, free: 27.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01262/0.5732, allocations: 2.992 MB / 499.1 MB, free: 25.97 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.005982/0.5793, allocations: 4.826 MB / 0.4922 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.5862, allocations: 1.521 MB / 0.4936 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2482/0.8344, allocations: 76.74 MB / 0.5686 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.8346, allocations: 38.89 kB / 0.5686 GB, free: 1.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 9.148e-06/0.8346, allocations: 0 / 0.5686 GB, free: 1.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.03858/0.8732, allocations: 6.766 MB / 0.5752 GB, free: 10.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.8733, allocations: 59.41 kB / 0.5753 GB, free: 10.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.8735, allocations: 149.7 kB / 0.5754 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.8737, allocations: 45.62 kB / 0.5755 GB, free: 10.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.8739, allocations: 140.6 kB / 0.5756 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.8742, allocations: 153.8 kB / 0.5758 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.8744, allocations: 4 kB / 0.5758 GB, free: 9.988 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.8746, allocations: 334.8 kB / 0.5761 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006583/0.8812, allocations: 1.285 MB / 0.5773 GB, free: 8.367 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006538/0.8877, allocations: 1.376 MB / 0.5787 GB, free: 6.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006196/0.894, allocations: 1.136 MB / 0.5798 GB, free: 5.824 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.894, allocations: 3.938 kB / 0.5798 GB, free: 5.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.01408/0.9081, allocations: 2.667 MB / 0.5824 GB, free: 3.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.9082, allocations: 4.312 kB / 0.5824 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.9082, allocations: 8 kB / 0.5824 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.9083, allocations: 5.75 kB / 0.5824 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/0.9128, allocations: 0.589 MB / 0.583 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.9128, allocations: 4 kB / 0.583 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.9158, allocations: 351.5 kB / 0.5833 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.9161, allocations: 79.86 kB / 0.5834 GB, free: 2.113 MB / 462.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.000577/0.9167, allocations: 174.5 kB / 0.5836 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.9169, allocations: 19.81 kB / 0.5836 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/0.936, allocations: 7.463 MB / 0.5909 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01768/0.9537, allocations: 6.896 MB / 0.5976 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.9538, allocations: 0 / 0.5976 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.9538, allocations: 11.97 kB / 0.5976 GB, free: 3.527 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/0.9783, allocations: 10.77 MB / 0.6081 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.9783, allocations: 0 / 0.6081 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003952/0.9823, allocations: 0.5851 MB / 0.6087 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.561e-05/0.9824, allocations: 7.953 kB / 0.6087 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/0.9826, allocations: 44.98 kB / 0.6088 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.9826, allocations: 7.984 kB / 0.6088 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.9827, allocations: 0 / 0.6088 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/1.002, allocations: 4.974 MB / 0.6136 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009299/1.003, allocations: 283.9 kB / 0.6139 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/1.003, allocations: 23.95 kB / 0.6139 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/1.006, allocations: 351.6 kB / 0.6143 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/1.007, allocations: 84.83 kB / 0.6143 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/1.007, allocations: 54.09 kB / 0.6144 GB, free: 1.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001587/1.007, allocations: 111.2 kB / 0.6145 GB, free: 1.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.007, allocations: 0 / 0.6145 GB, free: 1.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006259/1.013, allocations: 0.9723 MB / 0.6154 GB, free: 0.8867 MB / 494.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.02858/1.042, allocations: 6.406 MB / 0.6217 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.056, allocations: 2.972 MB / 0.6246 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.056, allocations: 4 kB / 0.6246 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006028/1.062, allocations: 1.705 MB / 0.6263 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.063, allocations: 100.3 kB / 0.6264 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3361/1.399, allocations: 8.976 MB / 0.6351 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/1.4, allocations: 0.9385 MB / 0.636 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003831/1.403, allocations: 1.291 MB / 0.6373 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.405, allocations: 315.1 kB / 0.6376 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/1.405, allocations: 0 / 0.6376 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.522, allocations: 48.24 MB / 0.6847 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.523, allocations: 211.8 kB / 0.6849 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.817/7.34, allocations: 0 / 0.6849 GB, free: 128.9 MB / 0.4981 GB (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: