Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 115.8 kB / 17.69 MB, free: 5.371 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.001692/0.001692, allocations: 191 kB / 18.62 MB, free: 4.449 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.283/1.283, 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.2595/0.2595, allocations: 48.84 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.001481/0.001481, allocations: 63.48 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07786/0.07935, allocations: 59.17 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01735/0.09673, allocations: 15.52 MB / 466.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.09778, allocations: 0.7087 MB / 466.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.09796, allocations: 7.875 kB / 466.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.09838, allocations: 103.4 kB / 467 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.09899, allocations: 207.1 kB / 467.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.1037, allocations: 2.044 MB / 469.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.1044, allocations: 0.5911 MB / 469.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1045, allocations: 92.64 kB / 470 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006002/0.1052, allocations: 391 kB / 470.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.1055, allocations: 275 kB / 470.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.1056, allocations: 20 kB / 470.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.1116, allocations: 3.64 MB / 474.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.1118, allocations: 203.3 kB / 474.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.1121, allocations: 302.4 kB / 474.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.1154, allocations: 2.428 MB / 477.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1154, allocations: 0 / 477.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1154, allocations: 0 / 477.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.1154, allocations: 0 / 477.2 MB, free: 14.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002854/0.1183, allocations: 1.22 MB / 478.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1183, allocations: 8.031 kB / 478.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.1187, allocations: 92.08 kB / 478.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/0.1195, allocations: 0.5538 MB / 479.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.1196, allocations: 33.38 kB / 479.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.1196, allocations: 51.94 kB / 479.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.121, allocations: 0.8078 MB / 479.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.1211, allocations: 7.938 kB / 480 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.1211, allocations: 16 kB / 480 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.1212, allocations: 48.97 kB / 480 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.1224, allocations: 0.6009 MB / 480.6 MB, free: 10.88 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.003432/0.1259, allocations: 4.296 MB / 484.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.127, allocations: 0.5494 MB / 485.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.1273, allocations: 193.1 kB / 485.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03076/0.158, allocations: 15.38 MB / 0.4893 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1581, allocations: 34.56 kB / 0.4893 GB, free: 4.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.235e-06/0.1581, allocations: 0 / 0.4893 GB, free: 4.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001918/0.16, allocations: 0.7418 MB / 0.49 GB, free: 3.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1601, allocations: 55.41 kB / 0.4901 GB, free: 3.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.1606, allocations: 481.8 kB / 0.4906 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1606, allocations: 29.7 kB / 0.4906 GB, free: 2.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.1608, allocations: 268.3 kB / 0.4908 GB, free: 2.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1609, allocations: 142 kB / 0.491 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1611, allocations: 77.59 kB / 0.4911 GB, free: 2.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1612, allocations: 362.8 kB / 0.4914 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1614, allocations: 128.4 kB / 0.4915 GB, free: 1.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.1617, allocations: 197.4 kB / 0.4917 GB, free: 1.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.1622, allocations: 383.7 kB / 0.4921 GB, free: 1.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1622, allocations: 4 kB / 0.4921 GB, free: 1.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006493/0.1629, allocations: 440.6 kB / 0.4925 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1629, allocations: 4 kB / 0.4925 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1629, allocations: 8.219 kB / 0.4925 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1629, allocations: 11.92 kB / 0.4925 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.1632, allocations: 67.91 kB / 0.4926 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1632, allocations: 4 kB / 0.4926 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.1635, allocations: 35.58 kB / 0.4926 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.1635, allocations: 16 kB / 0.4926 GB, free: 0.6133 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0002712/0.1638, allocations: 257.7 kB / 0.4929 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.1639, allocations: 51.28 kB / 0.4929 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.1657, allocations: 1.778 MB / 0.4947 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/0.1657, allocations: 23.97 kB / 0.4947 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.1657, allocations: 3.984 kB / 0.4947 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1657, allocations: 0 / 0.4947 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.1668, allocations: 1 MB / 0.4957 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1668, allocations: 3.938 kB / 0.4957 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.167, allocations: 51.91 kB / 0.4957 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.167, allocations: 0 / 0.4957 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.167, allocations: 8 kB / 0.4957 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1671, allocations: 0 / 0.4957 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1671, allocations: 11.94 kB / 0.4957 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1681, allocations: 0.991 MB / 0.4967 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1682, allocations: 163.7 kB / 0.4969 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.1683, allocations: 11.98 kB / 0.4969 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1685, allocations: 12 kB / 0.4969 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.1685, allocations: 27.95 kB / 0.4969 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.1685, allocations: 8 kB / 0.4969 GB, free: 12.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.1689, allocations: 347 kB / 0.4973 GB, free: 11.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1689, allocations: 0 / 0.4973 GB, free: 11.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001218/0.1701, allocations: 0.5269 MB / 0.4978 GB, free: 11.25 MB / 398.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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.001781/0.1719, allocations: 0.5064 MB / 0.4983 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007354/0.1726, allocations: 0.5398 MB / 0.4988 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1727, allocations: 4.438 kB / 0.4988 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.1731, allocations: 461.8 kB / 0.4992 GB, free: 9.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.1744, allocations: 285.3 kB / 0.4995 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1766, allocations: 1.69 MB / 0.5012 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.1773, allocations: 1.06 MB / 0.5022 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004888/0.1778, allocations: 268 kB / 0.5025 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1779, allocations: 47.42 kB / 0.5025 GB, free: 6.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1779, allocations: 0 / 0.5025 GB, free: 6.34 MB / 398.1 MB Notification: Performance of Templates: time 0.02986/0.2077, allocations: 20.8 MB / 0.5228 GB, free: 1.512 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)