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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 106.6 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.001012/0.001012, 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.236/1.236, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2485/0.2485, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001408/0.001408, allocations: 67.84 kB / 390.1 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0759/0.07732, allocations: 59.17 MB / 449.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01739/0.09473, allocations: 16.1 MB / 465.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.109, allocations: 13.55 MB / 478.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1091, allocations: 4 kB / 478.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.1096, allocations: 135.2 kB / 479 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1099, allocations: 194.9 kB / 479.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01147/0.1214, allocations: 5.349 MB / 484.6 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.123, allocations: 1.947 MB / 486.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1232, allocations: 117.6 kB / 486.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.1238, allocations: 0.6161 MB / 487.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009578/0.1247, allocations: 0.7872 MB / 488 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.125, allocations: 140 kB / 488.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.1354, allocations: 6.618 MB / 494.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004037/0.1358, allocations: 483 kB / 495.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.1364, allocations: 0.5683 MB / 495.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.1428, allocations: 5.029 MB / 0.4891 GB, free: 6.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1428, allocations: 3.938 kB / 0.4891 GB, free: 6.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1428, allocations: 0 / 0.4891 GB, free: 6.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.1428, allocations: 0 / 0.4891 GB, free: 6.004 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.008654/0.1515, allocations: 2.59 MB / 0.4916 GB, free: 3.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1515, allocations: 15.89 kB / 0.4917 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.1532, allocations: 291.9 kB / 0.4919 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.154, allocations: 0.5772 MB / 0.4925 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009127/0.155, allocations: 466.1 kB / 0.4929 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.1552, allocations: 68 kB / 0.493 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00877/0.164, allocations: 3.374 MB / 0.4963 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.164, allocations: 3.984 kB / 0.4963 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.1642, allocations: 35.94 kB / 0.4963 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.1643, allocations: 49.98 kB / 0.4964 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.1793, allocations: 5.389 MB / 0.5017 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.1942, allocations: 10.1 MB / 0.5115 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007785/0.202, allocations: 2.746 MB / 0.5142 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006407/0.2084, allocations: 2.275 MB / 0.5164 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2467/0.4551, allocations: 53.43 MB / 0.5686 GB, free: 51.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4552, allocations: 46.31 kB / 0.5686 GB, free: 51.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/0.4552, allocations: 0 / 0.5686 GB, free: 51.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01961/0.4748, allocations: 6.637 MB / 0.5751 GB, free: 45.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.4749, allocations: 64.41 kB / 0.5752 GB, free: 45.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4751, allocations: 246.1 kB / 0.5754 GB, free: 44.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.4753, allocations: 37.7 kB / 0.5755 GB, free: 44.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.4754, allocations: 245.3 kB / 0.5757 GB, free: 44.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.4756, allocations: 307 kB / 0.576 GB, free: 44.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005671/0.4762, allocations: 286.8 kB / 0.5763 GB, free: 44.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.4763, allocations: 350.8 kB / 0.5766 GB, free: 43.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005771/0.4821, allocations: 2.148 MB / 0.5787 GB, free: 41.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005935/0.488, allocations: 2.256 MB / 0.5809 GB, free: 39.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.4985, allocations: 3.402 MB / 0.5842 GB, free: 35.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4985, allocations: 2.938 kB / 0.5842 GB, free: 35.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01202/0.5106, allocations: 4.127 MB / 0.5882 GB, free: 31.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5106, allocations: 7.656 kB / 0.5883 GB, free: 31.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5106, allocations: 4 kB / 0.5883 GB, free: 31.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.5106, allocations: 7.844 kB / 0.5883 GB, free: 31.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003457/0.5141, allocations: 0.8272 MB / 0.5891 GB, free: 30.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.5141, allocations: 8 kB / 0.5891 GB, free: 30.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.5169, allocations: 0.6069 MB / 0.5897 GB, free: 30.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.5171, allocations: 91.81 kB / 0.5898 GB, free: 30.16 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.0005142/0.5176, allocations: 267.8 kB / 0.59 GB, free: 29.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.518, allocations: 48.31 kB / 0.5901 GB, free: 29.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/0.5314, allocations: 6.532 MB / 0.5964 GB, free: 23.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01248/0.5439, allocations: 5.935 MB / 0.6022 GB, free: 17.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.544, allocations: 6.047 kB / 0.6022 GB, free: 17.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.544, allocations: 7.969 kB / 0.6022 GB, free: 17.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.5613, allocations: 9.095 MB / 0.6111 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5613, allocations: 4 kB / 0.6111 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/0.5647, allocations: 0.8038 MB / 0.6119 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.5647, allocations: 6.344 kB / 0.6119 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/0.5649, allocations: 79.81 kB / 0.612 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.5649, allocations: 6.438 kB / 0.612 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5649, allocations: 4 kB / 0.612 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.5772, allocations: 4.842 MB / 0.6167 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.5773, allocations: 195.4 kB / 0.6169 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.5776, allocations: 20 kB / 0.6169 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/0.5804, allocations: 0.5617 MB / 0.6175 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.5807, allocations: 140.6 kB / 0.6176 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.5808, allocations: 83.81 kB / 0.6177 GB, free: 1.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.581, allocations: 194 kB / 0.6179 GB, free: 1.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.581, allocations: 0 / 0.6179 GB, free: 1.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002689/0.5837, allocations: 1.282 MB / 0.6191 GB, free: 88 kB / 414.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.004242/0.5879, allocations: 1.148 MB / 0.6203 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01541/0.6034, allocations: 5.352 MB / 0.6255 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6034, allocations: 0 / 0.6255 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007096/0.6105, allocations: 2.713 MB / 0.6281 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.6124, allocations: 345.9 kB / 0.6285 GB, free: 6.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.6238, allocations: 4.538 MB / 0.6329 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.6245, allocations: 1.117 MB / 0.634 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002041/0.6265, allocations: 0.7177 MB / 0.6347 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.6277, allocations: 219 kB / 0.6349 GB, free: 88 kB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6277, allocations: 0 / 0.6349 GB, free: 88 kB / 430.1 MB Notification: Performance of Templates: time 0.07746/0.7051, allocations: 58.14 MB / 0.6917 GB, free: 5.836 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)