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.001438/0.001438, allocations: 114.4 kB / 17.69 MB, free: 5.297 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.001713/0.001713, allocations: 191 kB / 18.63 MB, free: 4.363 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.372/1.372, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.253/0.253, allocations: 48.83 MB / 320.7 MB, free: 11.05 MB / 270.1 MB 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.001394/0.001394, allocations: 71.78 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07676/0.07817, allocations: 59.16 MB / 450.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01704/0.09525, allocations: 16.09 MB / 466.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1095, allocations: 13.55 MB / 480.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1097, allocations: 4 kB / 480.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.1102, allocations: 131.2 kB / 480.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1105, allocations: 202.9 kB / 480.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.1227, allocations: 5.337 MB / 486 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.1244, allocations: 1.947 MB / 488 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1246, allocations: 121.6 kB / 488.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005502/0.1252, allocations: 0.6199 MB / 488.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009911/0.1262, allocations: 0.7873 MB / 489.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.1264, allocations: 136 kB / 489.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.1379, allocations: 6.778 MB / 496.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005304/0.1385, allocations: 474.9 kB / 496.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008455/0.1393, allocations: 0.5723 MB / 497.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008223/0.1476, allocations: 5.025 MB / 0.4907 GB, free: 5.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1476, allocations: 0 / 0.4907 GB, free: 5.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1476, allocations: 0 / 0.4907 GB, free: 5.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.875e-05/0.1476, allocations: 3.938 kB / 0.4907 GB, free: 5.141 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.0094/0.157, allocations: 2.594 MB / 0.4932 GB, free: 2.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1571, allocations: 11.89 kB / 0.4932 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.159, allocations: 287.9 kB / 0.4935 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1603, allocations: 0.5849 MB / 0.4941 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009154/0.1612, allocations: 462.1 kB / 0.4945 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.1615, allocations: 72 kB / 0.4946 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008597/0.1701, allocations: 3.374 MB / 0.4979 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1702, allocations: 8 kB / 0.4979 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.1703, allocations: 24 kB / 0.4979 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.1704, allocations: 53.97 kB / 0.498 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.1846, allocations: 5.401 MB / 0.5032 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.1995, allocations: 10.07 MB / 0.5131 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007203/0.2068, allocations: 2.746 MB / 0.5157 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005784/0.2126, allocations: 2.275 MB / 0.518 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2373/0.4499, allocations: 53.65 MB / 0.5704 GB, free: 50.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.45, allocations: 44.88 kB / 0.5704 GB, free: 50.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.735e-06/0.45, allocations: 0 / 0.5704 GB, free: 50.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.0172/0.4672, allocations: 6.634 MB / 0.5769 GB, free: 44.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.4673, allocations: 60.41 kB / 0.5769 GB, free: 44.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.4675, allocations: 249.2 kB / 0.5772 GB, free: 43.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.4676, allocations: 43.77 kB / 0.5772 GB, free: 43.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.4677, allocations: 245.9 kB / 0.5775 GB, free: 43.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.468, allocations: 304.2 kB / 0.5777 GB, free: 43.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005595/0.4685, allocations: 286.2 kB / 0.578 GB, free: 42.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.4686, allocations: 354.8 kB / 0.5784 GB, free: 42.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/0.4736, allocations: 2.144 MB / 0.5804 GB, free: 40.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.4787, allocations: 2.254 MB / 0.5826 GB, free: 38.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008876/0.4876, allocations: 3.398 MB / 0.586 GB, free: 34.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4876, allocations: 0 / 0.586 GB, free: 34.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01035/0.498, allocations: 4.137 MB / 0.59 GB, free: 30.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.498, allocations: 8 kB / 0.59 GB, free: 30.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.498, allocations: 0 / 0.59 GB, free: 30.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4981, allocations: 14.84 kB / 0.59 GB, free: 30.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.5011, allocations: 0.8171 MB / 0.5908 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5012, allocations: 12.55 kB / 0.5908 GB, free: 29.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.5035, allocations: 0.6101 MB / 0.5914 GB, free: 29.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.5037, allocations: 92.94 kB / 0.5915 GB, free: 29.09 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.0004729/0.5042, allocations: 258.3 kB / 0.5918 GB, free: 28.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.5045, allocations: 44.28 kB / 0.5918 GB, free: 28.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.5164, allocations: 6.524 MB / 0.5982 GB, free: 22.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01097/0.5274, allocations: 5.937 MB / 0.604 GB, free: 16.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5274, allocations: 5.312 kB / 0.604 GB, free: 16.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5274, allocations: 3.984 kB / 0.604 GB, free: 16.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.5432, allocations: 9.108 MB / 0.6129 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5432, allocations: 3.938 kB / 0.6129 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/0.5462, allocations: 0.7976 MB / 0.6137 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5463, allocations: 4 kB / 0.6137 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.5465, allocations: 87.73 kB / 0.6138 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.5465, allocations: 8 kB / 0.6138 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5465, allocations: 0 / 0.6138 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.5572, allocations: 4.832 MB / 0.6185 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.5573, allocations: 199.4 kB / 0.6187 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.5576, allocations: 19.98 kB / 0.6187 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/0.5599, allocations: 0.5617 MB / 0.6192 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/0.5602, allocations: 142.2 kB / 0.6194 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/0.5604, allocations: 85.69 kB / 0.6195 GB, free: 424 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.5606, allocations: 201.9 kB / 0.6196 GB, free: 224 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5606, allocations: 0 / 0.6196 GB, free: 224 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002892/0.5635, allocations: 1.277 MB / 0.6209 GB, free: 15.03 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.003596/0.5671, allocations: 1.138 MB / 0.622 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0125/0.5796, allocations: 4.887 MB / 0.6268 GB, free: 9.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5796, allocations: 0 / 0.6268 GB, free: 9.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006427/0.5861, allocations: 2.72 MB / 0.6294 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.5878, allocations: 350.8 kB / 0.6298 GB, free: 6.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5978, allocations: 4.505 MB / 0.6342 GB, free: 1.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.5985, allocations: 1.125 MB / 0.6353 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001874/0.6004, allocations: 0.7172 MB / 0.636 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.6016, allocations: 219 kB / 0.6362 GB, free: 15.51 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6016, allocations: 0 / 0.6362 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Templates: time 0.07238/0.6739, allocations: 57.99 MB / 0.6928 GB, free: 5.457 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)