Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.0009728/0.0009728, allocations: 193.3 kB / 18.2 MB, free: 5.41 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.232/1.232, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2534/0.2534, allocations: 48.85 MB / 320.2 MB, free: 11.27 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.001292/0.001292, allocations: 64.56 kB / 390.2 MB, free: 49.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08394, allocations: 59.16 MB / 449.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01584/0.09982, allocations: 15.65 MB / 465 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000863/0.1007, allocations: 0.7088 MB / 465.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.1008, allocations: 0 / 465.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.1012, allocations: 103.5 kB / 465.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.1017, allocations: 191.2 kB / 466 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.106, allocations: 1.808 MB / 467.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.1066, allocations: 453.7 kB / 468.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1068, allocations: 104.9 kB / 468.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.1072, allocations: 379.1 kB / 468.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.1075, allocations: 271.1 kB / 469 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.1076, allocations: 20 kB / 469 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.1128, allocations: 3.535 MB / 472.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.113, allocations: 203.4 kB / 472.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.1133, allocations: 246.6 kB / 473 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.1152, allocations: 1.618 MB / 474.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1153, allocations: 0 / 474.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.1153, allocations: 4 kB / 474.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1153, allocations: 0 / 474.6 MB, free: 0.8203 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002149/0.1174, allocations: 1.069 MB / 475.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1175, allocations: 11.97 kB / 475.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.1177, allocations: 72.27 kB / 475.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.1183, allocations: 487.4 kB / 476.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.1183, allocations: 36.88 kB / 476.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.1183, allocations: 36 kB / 476.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/0.1193, allocations: 0.5936 MB / 476.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1193, allocations: 4 kB / 476.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.1194, allocations: 19.98 kB / 476.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.1194, allocations: 32.64 kB / 477 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.1202, allocations: 450.2 kB / 477.4 MB, free: 13.9 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.1226, allocations: 3.16 MB / 480.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.1233, allocations: 386.6 kB / 480.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.1235, allocations: 184.7 kB / 481.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02902/0.1526, allocations: 15.29 MB / 496.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.1526, allocations: 42.5 kB / 496.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.1526, allocations: 0 / 496.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001288/0.1539, allocations: 0.5552 MB / 497 MB, free: 8.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.154, allocations: 55.41 kB / 497.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.1544, allocations: 413.6 kB / 497.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1544, allocations: 29.7 kB / 497.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1546, allocations: 244.2 kB / 497.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.35e-05/0.1547, allocations: 106.4 kB / 497.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.1548, allocations: 57.67 kB / 497.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1549, allocations: 358.8 kB / 498.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1551, allocations: 107.9 kB / 498.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1553, allocations: 148.2 kB / 498.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.1557, allocations: 288.8 kB / 498.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1557, allocations: 4 kB / 498.8 MB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005264/0.1563, allocations: 348.8 kB / 499.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1563, allocations: 8 kB / 499.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1563, allocations: 0 / 499.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1563, allocations: 4 kB / 499.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1566, allocations: 47.91 kB / 499.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1566, allocations: 4 kB / 499.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1569, allocations: 39.8 kB / 499.2 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.1569, allocations: 8 kB / 499.2 MB, free: 5.781 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0002832/0.1572, allocations: 233.6 kB / 499.5 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.1573, allocations: 43.38 kB / 499.5 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1584, allocations: 1.116 MB / 0.4889 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.1585, allocations: 15.98 kB / 0.4889 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1585, allocations: 0 / 0.4889 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1585, allocations: 7.984 kB / 0.4889 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.1592, allocations: 0.7298 MB / 0.4896 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1593, allocations: 0 / 0.4896 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1594, allocations: 39.86 kB / 0.4897 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1594, allocations: 0 / 0.4897 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1594, allocations: 11.98 kB / 0.4897 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1594, allocations: 0 / 0.4897 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1595, allocations: 0 / 0.4897 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.1602, allocations: 0.708 MB / 0.4904 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1603, allocations: 140.1 kB / 0.4905 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.1603, allocations: 11.98 kB / 0.4905 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1605, allocations: 19.84 kB / 0.4905 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1606, allocations: 19.97 kB / 0.4905 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1606, allocations: 12 kB / 0.4906 GB, free: 2.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000267/0.1609, allocations: 295.1 kB / 0.4908 GB, free: 2.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1609, allocations: 0 / 0.4908 GB, free: 2.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001237/0.1621, allocations: 0.4957 MB / 0.4913 GB, free: 1.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.001565/0.1637, allocations: 0.5183 MB / 0.4918 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007158/0.1644, allocations: 463.4 kB / 0.4923 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1644, allocations: 0 / 0.4923 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.1647, allocations: 304.8 kB / 0.4926 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/0.1657, allocations: 193.4 kB / 0.4927 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1674, allocations: 1.587 MB / 0.4943 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.1679, allocations: 0.9498 MB / 0.4952 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.168, allocations: 39.42 kB / 0.4953 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.168, allocations: 0 / 0.4953 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.0183/0.1863, allocations: 13.79 MB / 0.5087 GB, free: 15.88 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)