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.001275/0.001275, allocations: 107.7 kB / 16.92 MB, free: 5.695 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.001097/0.001097, allocations: 192.7 kB / 17.85 MB, free: 5.195 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.278/1.278, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2522/0.2522, allocations: 48.86 MB / 319.9 MB, free: 11.09 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.001404/0.001404, allocations: 67.89 kB / 390.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.07961, allocations: 59.16 MB / 449.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01665/0.0963, allocations: 15.55 MB / 464.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.09721, allocations: 0.7049 MB / 465.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.09733, allocations: 7.938 kB / 465.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.09767, allocations: 99.44 kB / 465.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.09817, allocations: 211.1 kB / 465.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.1025, allocations: 2.044 MB / 467.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.103, allocations: 449.8 kB / 468.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1032, allocations: 112.9 kB / 468.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.1037, allocations: 351.2 kB / 468.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1039, allocations: 235.1 kB / 469 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.104, allocations: 24 kB / 469 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/0.1095, allocations: 3.543 MB / 472.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1097, allocations: 187.5 kB / 472.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.11, allocations: 254.7 kB / 473 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.113, allocations: 2.331 MB / 475.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.113, allocations: 7.938 kB / 475.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.113, allocations: 4 kB / 475.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.113, allocations: 0 / 475.3 MB, free: 15.62 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00219/0.1152, allocations: 1.076 MB / 476.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1153, allocations: 8.031 kB / 476.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.1155, allocations: 72.27 kB / 476.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.1161, allocations: 491.3 kB / 476.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1161, allocations: 24.94 kB / 477 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.1162, allocations: 36 kB / 477 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/0.1172, allocations: 0.6053 MB / 477.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1172, allocations: 0 / 477.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.1173, allocations: 16 kB / 477.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.1173, allocations: 32.64 kB / 477.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.1181, allocations: 462.1 kB / 478.1 MB, free: 12.7 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.002467/0.1206, allocations: 3.16 MB / 481.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.1214, allocations: 394.5 kB / 481.7 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.1216, allocations: 172.8 kB / 481.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03248/0.1541, allocations: 15.31 MB / 497.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1542, allocations: 38.48 kB / 497.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.1542, allocations: 4 kB / 497.2 MB, free: 7.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001328/0.1555, allocations: 0.5474 MB / 497.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1556, allocations: 55.41 kB / 497.8 MB, free: 6.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.156, allocations: 409.6 kB / 498.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.156, allocations: 33.7 kB / 498.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1562, allocations: 240.2 kB / 498.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.1563, allocations: 114.4 kB / 498.6 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.1564, allocations: 53.7 kB / 498.6 MB, free: 5.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1565, allocations: 354.8 kB / 499 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.1567, allocations: 107.9 kB / 499.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1569, allocations: 144.2 kB / 499.2 MB, free: 5.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.1573, allocations: 292.8 kB / 499.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.1573, allocations: 0 / 499.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004989/0.1578, allocations: 348.8 kB / 499.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1578, allocations: 4 kB / 499.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1578, allocations: 7.984 kB / 499.8 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1578, allocations: 0 / 499.8 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1581, allocations: 43.92 kB / 499.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1581, allocations: 4.125 kB / 499.9 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1583, allocations: 35.61 kB / 499.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.1583, allocations: 12 kB / 499.9 MB, free: 4.574 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.0002416/0.1586, allocations: 225.7 kB / 0.4884 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.1586, allocations: 47.38 kB / 0.4885 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.1598, allocations: 1.116 MB / 0.4896 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.1598, allocations: 11.98 kB / 0.4896 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1598, allocations: 4 kB / 0.4896 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1598, allocations: 7.984 kB / 0.4896 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.1606, allocations: 0.7182 MB / 0.4903 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1606, allocations: 3.938 kB / 0.4903 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1608, allocations: 39.92 kB / 0.4903 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1608, allocations: 0 / 0.4903 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1608, allocations: 11.98 kB / 0.4903 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1608, allocations: 0 / 0.4903 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1608, allocations: 0 / 0.4903 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.1615, allocations: 0.708 MB / 0.491 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.607e-05/0.1617, allocations: 144.1 kB / 0.4912 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.1617, allocations: 8 kB / 0.4912 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1619, allocations: 7.984 kB / 0.4912 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1619, allocations: 15.98 kB / 0.4912 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1619, allocations: 8 kB / 0.4912 GB, free: 1.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.1622, allocations: 299.1 kB / 0.4915 GB, free: 1.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1622, allocations: 0 / 0.4915 GB, free: 1.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001223/0.1635, allocations: 0.4995 MB / 0.492 GB, free: 0.6172 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.001537/0.165, allocations: 0.5027 MB / 0.4925 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007395/0.1658, allocations: 455.9 kB / 0.4929 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1658, allocations: 0 / 0.4929 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.1661, allocations: 308.8 kB / 0.4932 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.1672, allocations: 197.4 kB / 0.4934 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.1688, allocations: 1.286 MB / 0.4946 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.1693, allocations: 0.9576 MB / 0.4956 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00036/0.1697, allocations: 183 kB / 0.4958 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.1698, allocations: 35.44 kB / 0.4958 GB, free: 12.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1698, allocations: 0 / 0.4958 GB, free: 12.65 MB / 398.1 MB Notification: Performance of Templates: time 0.0252/0.195, allocations: 18.18 MB / 0.5135 GB, free: 10.45 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)