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.001427/0.001427, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001629/0.001629, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.191/1.191, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2391/0.2391, allocations: 48.83 MB / 319.9 MB, free: 11.08 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.00157/0.00157, allocations: 69.8 kB / 390.2 MB, free: 48.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07828, allocations: 59.17 MB / 449.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01641/0.09473, allocations: 16.1 MB / 465.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.1076, allocations: 13.55 MB / 479 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.1078, allocations: 0 / 479 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1082, allocations: 135.2 kB / 479.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1084, allocations: 194.9 kB / 479.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.1196, allocations: 5.341 MB / 484.7 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.121, allocations: 1.95 MB / 486.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1212, allocations: 117.6 kB / 486.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.1217, allocations: 0.6161 MB / 487.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008607/0.1226, allocations: 0.7911 MB / 488.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.1228, allocations: 136 kB / 488.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.1328, allocations: 6.618 MB / 494.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.1332, allocations: 482.9 kB / 495.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006185/0.1339, allocations: 0.5683 MB / 495.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007049/0.1409, allocations: 5.029 MB / 0.4892 GB, free: 5.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.141, allocations: 7.922 kB / 0.4892 GB, free: 5.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.141, allocations: 0 / 0.4892 GB, free: 5.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.141, allocations: 0 / 0.4892 GB, free: 5.875 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.008305/0.1493, allocations: 2.583 MB / 0.4917 GB, free: 3.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1493, allocations: 11.89 kB / 0.4918 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.1495, allocations: 151.2 kB / 0.4919 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.1511, allocations: 291.9 kB / 0.4922 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.1519, allocations: 0.5858 MB / 0.4927 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008331/0.1527, allocations: 458.2 kB / 0.4932 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.153, allocations: 75.98 kB / 0.4933 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008165/0.1611, allocations: 3.371 MB / 0.4966 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.1612, allocations: 7.938 kB / 0.4966 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.1614, allocations: 28 kB / 0.4966 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/0.1614, allocations: 53.97 kB / 0.4966 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.1752, allocations: 5.397 MB / 0.5019 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.1886, allocations: 10.1 MB / 0.5118 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007066/0.1957, allocations: 2.742 MB / 0.5144 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005855/0.2016, allocations: 2.279 MB / 0.5167 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2314/0.433, allocations: 53.43 MB / 0.5688 GB, free: 51.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.4331, allocations: 39.5 kB / 0.5689 GB, free: 51.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.535e-06/0.4331, allocations: 4 kB / 0.5689 GB, free: 51.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01855/0.4516, allocations: 6.634 MB / 0.5754 GB, free: 44.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.4517, allocations: 60.41 kB / 0.5754 GB, free: 44.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.4519, allocations: 253 kB / 0.5757 GB, free: 44.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.452, allocations: 37.7 kB / 0.5757 GB, free: 44.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.4521, allocations: 248 kB / 0.5759 GB, free: 44.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.4524, allocations: 306.7 kB / 0.5762 GB, free: 44.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000512/0.4529, allocations: 282.2 kB / 0.5765 GB, free: 43.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.4529, allocations: 354.8 kB / 0.5768 GB, free: 43.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005349/0.4583, allocations: 2.148 MB / 0.5789 GB, free: 41.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005424/0.4637, allocations: 2.26 MB / 0.5811 GB, free: 38.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009748/0.4735, allocations: 3.397 MB / 0.5845 GB, free: 35.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4735, allocations: 0 / 0.5845 GB, free: 35.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01097/0.4845, allocations: 4.131 MB / 0.5885 GB, free: 31.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4845, allocations: 4 kB / 0.5885 GB, free: 31.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4845, allocations: 7.75 kB / 0.5885 GB, free: 31.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4845, allocations: 4 kB / 0.5885 GB, free: 31.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/0.4877, allocations: 0.8266 MB / 0.5893 GB, free: 30.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4877, allocations: 7.984 kB / 0.5893 GB, free: 30.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.4903, allocations: 0.6064 MB / 0.5899 GB, free: 29.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.4905, allocations: 91.81 kB / 0.59 GB, free: 29.85 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.0005178/0.491, allocations: 268.6 kB / 0.5903 GB, free: 29.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.4913, allocations: 44.28 kB / 0.5903 GB, free: 29.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.5037, allocations: 6.536 MB / 0.5967 GB, free: 23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01203/0.5157, allocations: 5.941 MB / 0.6025 GB, free: 17.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5158, allocations: 0 / 0.6025 GB, free: 17.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5158, allocations: 6.516 kB / 0.6025 GB, free: 17.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/0.54, allocations: 9.099 MB / 0.6114 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.54, allocations: 3.938 kB / 0.6114 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/0.5432, allocations: 0.8043 MB / 0.6122 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.5432, allocations: 5.125 kB / 0.6122 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.5435, allocations: 79.81 kB / 0.6122 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.5435, allocations: 4 kB / 0.6123 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5435, allocations: 2.531 kB / 0.6123 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/0.5553, allocations: 4.835 MB / 0.617 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.5554, allocations: 195.4 kB / 0.6172 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.5557, allocations: 26.66 kB / 0.6172 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/0.5583, allocations: 0.5617 MB / 0.6177 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.5586, allocations: 140.6 kB / 0.6179 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.5587, allocations: 90.48 kB / 0.618 GB, free: 1.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.5589, allocations: 190 kB / 0.6181 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5589, allocations: 4 kB / 0.6181 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002716/0.5616, allocations: 1.282 MB / 0.6194 GB, free: 15.77 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.01708/0.5787, allocations: 6.432 MB / 0.6257 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0148/0.5935, allocations: 5.358 MB / 0.6309 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5935, allocations: 0 / 0.6309 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006936/0.6005, allocations: 2.715 MB / 0.6336 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.6025, allocations: 340.1 kB / 0.6339 GB, free: 1.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04755/0.6501, allocations: 18.6 MB / 0.652 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.6509, allocations: 1.121 MB / 0.6531 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00238/0.6533, allocations: 0.7162 MB / 0.6538 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/0.6547, allocations: 490.9 kB / 0.6543 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6547, allocations: 0 / 0.6543 GB, free: 12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.337/4.992, allocations: 66.6 MB / 0.7194 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.26/24.25, allocations: 1.203 kB / 0.7194 GB, free: 175.4 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)