Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",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.001164/0.001164, allocations: 97.77 kB / 16.5 MB, free: 6.641 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.001219/0.001219, 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.126/1.126, allocations: 205.1 MB / 223.3 MB, free: 12.38 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2198/0.2198, allocations: 48.84 MB / 319.5 MB, free: 11.3 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 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.001261/0.001261, allocations: 67.16 kB / 389.5 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07032/0.0716, allocations: 59.16 MB / 448.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01529/0.08691, allocations: 16.91 MB / 465.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1003, allocations: 14.56 MB / 480.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1005, allocations: 0 / 480.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1009, allocations: 111.4 kB / 480.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1011, allocations: 210.9 kB / 480.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008867/0.11, allocations: 4.206 MB / 484.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.1115, allocations: 2.165 MB / 486.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1117, allocations: 105.2 kB / 486.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.1121, allocations: 0.5458 MB / 487.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.1129, allocations: 0.795 MB / 488.2 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.1131, allocations: 76 kB / 488.3 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008893/0.122, allocations: 6.649 MB / 494.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.1223, allocations: 414.9 kB / 495.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005046/0.1228, allocations: 0.5254 MB / 495.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.1281, allocations: 4.989 MB / 0.4891 GB, free: 5.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1281, allocations: 0 / 0.4891 GB, free: 5.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1281, allocations: 3.938 kB / 0.4891 GB, free: 5.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1281, allocations: 0 / 0.4891 GB, free: 5.77 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.007814/0.1359, allocations: 2.59 MB / 0.4917 GB, free: 3.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.136, allocations: 8.031 kB / 0.4917 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.1362, allocations: 147.2 kB / 0.4918 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.1377, allocations: 295.9 kB / 0.4921 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.1385, allocations: 0.5847 MB / 0.4927 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007794/0.1393, allocations: 458.2 kB / 0.4931 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.1395, allocations: 68 kB / 0.4932 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007621/0.1471, allocations: 3.371 MB / 0.4964 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1472, allocations: 7.938 kB / 0.4965 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.1474, allocations: 31.94 kB / 0.4965 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/0.1474, allocations: 57.95 kB / 0.4965 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.1598, allocations: 5.397 MB / 0.5018 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.1732, allocations: 10.08 MB / 0.5117 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006488/0.1797, allocations: 2.735 MB / 0.5143 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/0.1849, allocations: 2.279 MB / 0.5165 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2295/0.4144, allocations: 53.42 MB / 0.5687 GB, free: 50.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.4145, allocations: 50.36 kB / 0.5688 GB, free: 50.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.254e-06/0.4145, allocations: 0 / 0.5688 GB, free: 50.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01578/0.4303, allocations: 6.63 MB / 0.5752 GB, free: 44.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.4303, allocations: 60.41 kB / 0.5753 GB, free: 44.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.4305, allocations: 253 kB / 0.5755 GB, free: 44.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.4307, allocations: 41.7 kB / 0.5756 GB, free: 44.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.4308, allocations: 248.6 kB / 0.5758 GB, free: 44.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.4311, allocations: 307 kB / 0.5761 GB, free: 43.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/0.4316, allocations: 282.2 kB / 0.5764 GB, free: 43.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.4316, allocations: 354.8 kB / 0.5767 GB, free: 43.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004568/0.4362, allocations: 2.144 MB / 0.5788 GB, free: 40.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004659/0.4409, allocations: 2.26 MB / 0.581 GB, free: 38.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008142/0.449, allocations: 3.4 MB / 0.5843 GB, free: 35.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4491, allocations: 0.875 kB / 0.5843 GB, free: 35.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.009451/0.4585, allocations: 4.135 MB / 0.5884 GB, free: 31.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4586, allocations: 8 kB / 0.5884 GB, free: 31.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4586, allocations: 3.75 kB / 0.5884 GB, free: 31.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4586, allocations: 11.56 kB / 0.5884 GB, free: 31.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.4614, allocations: 0.8148 MB / 0.5892 GB, free: 30.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4614, allocations: 8.75 kB / 0.5892 GB, free: 30.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.4637, allocations: 0.6261 MB / 0.5898 GB, free: 29.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.4639, allocations: 97.11 kB / 0.5899 GB, free: 29.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004987/0.4644, allocations: 273.5 kB / 0.5902 GB, free: 29.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.4647, allocations: 48.12 kB / 0.5902 GB, free: 29.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.4756, allocations: 6.534 MB / 0.5966 GB, free: 22.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01002/0.4856, allocations: 5.933 MB / 0.6024 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4856, allocations: 4 kB / 0.6024 GB, free: 16.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4856, allocations: 3.984 kB / 0.6024 GB, free: 16.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.5, allocations: 9.1 MB / 0.6113 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5, allocations: 5.438 kB / 0.6113 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/0.5029, allocations: 0.802 MB / 0.6121 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.5029, allocations: 4 kB / 0.6121 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.5031, allocations: 79.81 kB / 0.6122 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.5031, allocations: 4 kB / 0.6122 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5031, allocations: 2.062 kB / 0.6122 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009879/0.513, allocations: 4.838 MB / 0.6169 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.5132, allocations: 191.4 kB / 0.6171 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.5134, allocations: 24.62 kB / 0.6171 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/0.5157, allocations: 0.5927 MB / 0.6177 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.516, allocations: 144.6 kB / 0.6178 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/0.5162, allocations: 87.81 kB / 0.6179 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.5163, allocations: 194 kB / 0.6181 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5163, allocations: 0 / 0.6181 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002778/0.5191, allocations: 1.27 MB / 0.6193 GB, free: 15.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01564/0.5348, allocations: 6.447 MB / 0.6256 GB, free: 9.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01143/0.5462, allocations: 4.885 MB / 0.6304 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5462, allocations: 4 kB / 0.6304 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00586/0.5521, allocations: 2.715 MB / 0.633 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.5539, allocations: 336.5 kB / 0.6334 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/0.5945, allocations: 19.08 MB / 0.652 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.5951, allocations: 1.122 MB / 0.6531 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001967/0.5971, allocations: 0.7145 MB / 0.6538 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.5984, allocations: 486.9 kB / 0.6543 GB, free: 11.77 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5984, allocations: 0 / 0.6543 GB, free: 11.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.214/0.8124, allocations: 64.82 MB / 0.7176 GB, free: 172.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000115/0.8125, allocations: 224.4 kB / 0.7178 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.988/4.8, allocations: 0 / 0.7178 GB, free: 172.6 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)