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.001717/0.001717, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001939/0.001939, allocations: 195.4 kB / 18.52 MB, free: 4.637 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.377/1.377, allocations: 205.1 MB / 224.4 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.3055/0.3055, allocations: 48.84 MB / 320.6 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.002211/0.002212, allocations: 68.84 kB / 390.7 MB, free: 48.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1122, allocations: 59.16 MB / 449.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02039/0.1326, allocations: 16.1 MB / 466 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.1496, allocations: 13.54 MB / 479.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.1499, allocations: 7.938 kB / 479.6 MB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1504, allocations: 131.2 kB / 479.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.1508, allocations: 194.9 kB / 479.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0151/0.1659, allocations: 5.349 MB / 485.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.168, allocations: 1.947 MB / 487.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1682, allocations: 113.6 kB / 487.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008735/0.1691, allocations: 0.62 MB / 487.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.1703, allocations: 0.7872 MB / 488.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.1705, allocations: 139.9 kB / 488.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.1836, allocations: 6.618 MB / 495.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006664/0.1843, allocations: 471 kB / 495.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008558/0.1851, allocations: 0.58 MB / 496.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.1962, allocations: 5.033 MB / 0.4898 GB, free: 5.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1963, allocations: 0 / 0.4898 GB, free: 5.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1963, allocations: 3.938 kB / 0.4898 GB, free: 5.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.1963, allocations: 0 / 0.4898 GB, free: 5.988 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.01016/0.2065, allocations: 2.59 MB / 0.4923 GB, free: 3.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2065, allocations: 11.89 kB / 0.4923 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.2083, allocations: 295.9 kB / 0.4926 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2094, allocations: 0.5772 MB / 0.4932 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/0.2104, allocations: 462.1 kB / 0.4936 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.2107, allocations: 67.98 kB / 0.4937 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009636/0.2203, allocations: 3.374 MB / 0.497 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2204, allocations: 0 / 0.497 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.2206, allocations: 24 kB / 0.497 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.548e-05/0.2206, allocations: 61.91 kB / 0.497 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/0.2366, allocations: 5.393 MB / 0.5023 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/0.2539, allocations: 10.1 MB / 0.5122 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008283/0.2622, allocations: 2.742 MB / 0.5149 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007067/0.2693, allocations: 2.275 MB / 0.5171 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2782/0.5476, allocations: 53.43 MB / 0.5692 GB, free: 51.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.5477, allocations: 47.92 kB / 0.5693 GB, free: 51.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 3.928e-06/0.5477, allocations: 4 kB / 0.5693 GB, free: 51.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.0202/0.5679, allocations: 6.624 MB / 0.5758 GB, free: 44.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.568, allocations: 60.41 kB / 0.5758 GB, free: 44.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.5683, allocations: 254.1 kB / 0.5761 GB, free: 44.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002877/0.5686, allocations: 41.7 kB / 0.5761 GB, free: 44.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5687, allocations: 249.2 kB / 0.5763 GB, free: 44.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.5691, allocations: 302 kB / 0.5766 GB, free: 44.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006166/0.5697, allocations: 282.2 kB / 0.5769 GB, free: 43.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.5698, allocations: 359.4 kB / 0.5772 GB, free: 43.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005569/0.5754, allocations: 2.145 MB / 0.5793 GB, free: 41.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/0.5812, allocations: 2.259 MB / 0.5815 GB, free: 39.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.5917, allocations: 3.398 MB / 0.5849 GB, free: 35.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.5917, allocations: 0 / 0.5849 GB, free: 35.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01196/0.6037, allocations: 4.134 MB / 0.5889 GB, free: 31.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6037, allocations: 5.031 kB / 0.5889 GB, free: 31.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6038, allocations: 5.5 kB / 0.5889 GB, free: 31.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6038, allocations: 8.969 kB / 0.5889 GB, free: 31.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/0.6074, allocations: 0.8212 MB / 0.5897 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.613e-05/0.6074, allocations: 7 kB / 0.5897 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.6103, allocations: 0.6085 MB / 0.5903 GB, free: 30.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/0.6107, allocations: 95.8 kB / 0.5904 GB, free: 29.94 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.0007623/0.6114, allocations: 271.1 kB / 0.5907 GB, free: 29.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/0.6118, allocations: 44.28 kB / 0.5907 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/0.626, allocations: 6.539 MB / 0.5971 GB, free: 23.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01323/0.6392, allocations: 5.938 MB / 0.6029 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.6393, allocations: 0 / 0.6029 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.6393, allocations: 3.984 kB / 0.6029 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.6572, allocations: 9.101 MB / 0.6118 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.6573, allocations: 3.938 kB / 0.6118 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/0.6607, allocations: 0.8033 MB / 0.6126 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.786e-05/0.6607, allocations: 4 kB / 0.6126 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.6609, allocations: 81.08 kB / 0.6127 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.661, allocations: 4 kB / 0.6127 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.661, allocations: 0 / 0.6127 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.6734, allocations: 4.842 MB / 0.6174 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.6736, allocations: 195.4 kB / 0.6176 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.674, allocations: 20 kB / 0.6176 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/0.6769, allocations: 0.5617 MB / 0.6181 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003687/0.6773, allocations: 140.6 kB / 0.6183 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.6775, allocations: 88.69 kB / 0.6184 GB, free: 1.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.6777, allocations: 193.9 kB / 0.6185 GB, free: 1.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6777, allocations: 0 / 0.6185 GB, free: 1.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003528/0.6812, allocations: 1.281 MB / 0.6198 GB, free: 15.86 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.005245/0.6865, allocations: 1.151 MB / 0.6209 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01661/0.7031, allocations: 5.349 MB / 0.6261 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7032, allocations: 0 / 0.6261 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007776/0.7109, allocations: 2.716 MB / 0.6288 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.7133, allocations: 355.8 kB / 0.6291 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.726, allocations: 4.575 MB / 0.6336 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.7269, allocations: 1.126 MB / 0.6347 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/0.7286, allocations: 258.9 kB / 0.635 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7286, allocations: 0 / 0.635 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of Templates: time 0.06206/0.7907, allocations: 37.25 MB / 0.6713 GB, free: 11.18 MB / 478.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)