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.001022/0.001022, allocations: 98.16 kB / 16.61 MB, free: 6.812 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.0009825/0.0009825, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.252/1.252, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2481/0.2481, allocations: 48.85 MB / 319.6 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.001304/0.001304, allocations: 68.67 kB / 389.6 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0755/0.07682, allocations: 59.16 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.017/0.09385, allocations: 15.62 MB / 464.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.09475, allocations: 0.7126 MB / 465.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.09491, allocations: 7.938 kB / 465.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.09534, allocations: 99.48 kB / 465.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.09581, allocations: 195.2 kB / 465.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.1, allocations: 1.8 MB / 467.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.1006, allocations: 0.5872 MB / 467.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1007, allocations: 88.66 kB / 467.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.1012, allocations: 414.9 kB / 468.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.1015, allocations: 311 kB / 468.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.1016, allocations: 20 kB / 468.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.1065, allocations: 3.543 MB / 472.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.1066, allocations: 207.3 kB / 472.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.1069, allocations: 302.4 kB / 472.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.1095, allocations: 2.416 MB / 475 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1095, allocations: 4 kB / 475 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1096, allocations: 0 / 475 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1096, allocations: 0 / 475 MB, free: 15.75 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.002524/0.1121, allocations: 1.217 MB / 476.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1121, allocations: 12.03 kB / 476.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.1124, allocations: 96.06 kB / 476.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.1131, allocations: 0.5109 MB / 476.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1131, allocations: 37.38 kB / 476.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.1132, allocations: 51.94 kB / 476.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1145, allocations: 0.8078 MB / 477.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1145, allocations: 0 / 477.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.1146, allocations: 23.98 kB / 477.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/0.1146, allocations: 44.97 kB / 477.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.1158, allocations: 0.6008 MB / 478.4 MB, free: 12.2 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.003012/0.1188, allocations: 4.312 MB / 482.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1199, allocations: 0.5455 MB / 483.3 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1202, allocations: 193.1 kB / 483.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02958/0.1497, allocations: 15.31 MB / 498.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1498, allocations: 38.56 kB / 498.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.1498, allocations: 0 / 498.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001829/0.1517, allocations: 0.7532 MB / 499.6 MB, free: 4.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.1517, allocations: 55.41 kB / 499.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1522, allocations: 469.8 kB / 0.4883 GB, free: 4.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1522, allocations: 29.7 kB / 0.4884 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1524, allocations: 280.2 kB / 0.4886 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/0.1525, allocations: 134 kB / 0.4888 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1526, allocations: 81.58 kB / 0.4888 GB, free: 3.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1527, allocations: 358.8 kB / 0.4892 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1529, allocations: 132.3 kB / 0.4893 GB, free: 3.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.1531, allocations: 197.4 kB / 0.4895 GB, free: 2.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.1536, allocations: 379.8 kB / 0.4899 GB, free: 2.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1536, allocations: 0 / 0.4899 GB, free: 2.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005844/0.1542, allocations: 444.8 kB / 0.4903 GB, free: 2.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1542, allocations: 4 kB / 0.4903 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1542, allocations: 4 kB / 0.4903 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1542, allocations: 4 kB / 0.4903 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.1545, allocations: 75.83 kB / 0.4904 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1545, allocations: 4 kB / 0.4904 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.1548, allocations: 51.61 kB / 0.4904 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.1548, allocations: 12 kB / 0.4904 GB, free: 1.988 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.0002481/0.1551, allocations: 257.7 kB / 0.4907 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.1552, allocations: 55.28 kB / 0.4907 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.1568, allocations: 1.774 MB / 0.4925 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/0.1568, allocations: 31.95 kB / 0.4925 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1568, allocations: 3.938 kB / 0.4925 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1568, allocations: 0 / 0.4925 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.1578, allocations: 1.001 MB / 0.4935 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1578, allocations: 7.938 kB / 0.4935 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.158, allocations: 51.91 kB / 0.4935 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.158, allocations: 4 kB / 0.4935 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1581, allocations: 4 kB / 0.4935 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1581, allocations: 7.984 kB / 0.4936 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1581, allocations: 0 / 0.4936 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.159, allocations: 0.991 MB / 0.4945 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1592, allocations: 171.7 kB / 0.4947 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.1592, allocations: 8 kB / 0.4947 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1595, allocations: 31.83 kB / 0.4947 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1595, allocations: 19.97 kB / 0.4947 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1595, allocations: 11.94 kB / 0.4948 GB, free: 13.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.1599, allocations: 343.1 kB / 0.4951 GB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1599, allocations: 0 / 0.4951 GB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001228/0.1611, allocations: 0.5386 MB / 0.4956 GB, free: 12.59 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.001558/0.1627, allocations: 0.5096 MB / 0.4961 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.1637, allocations: 0.6572 MB / 0.4967 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1638, allocations: 0 / 0.4967 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.1642, allocations: 465.7 kB / 0.4972 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.1655, allocations: 297.3 kB / 0.4975 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1676, allocations: 2.062 MB / 0.4995 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.1682, allocations: 1.049 MB / 0.5005 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004867/0.1687, allocations: 268.1 kB / 0.5008 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.1688, allocations: 43.42 kB / 0.5008 GB, free: 7.191 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1688, allocations: 4 kB / 0.5008 GB, free: 7.188 MB / 398.1 MB Notification: Performance of Templates: time 0.02681/0.1956, allocations: 20.83 MB / 0.5212 GB, free: 2.324 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)