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.001027/0.001027, allocations: 108.6 kB / 16.92 MB, free: 6.145 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.00106/0.00106, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.28/1.28, 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.2611/0.2611, allocations: 48.84 MB / 319.9 MB, free: 11.11 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.001556/0.001556, allocations: 68.88 kB / 390.1 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08531, allocations: 59.16 MB / 449.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01801/0.1034, allocations: 15.53 MB / 464.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1044, allocations: 0.7048 MB / 465.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1046, allocations: 7.938 kB / 465.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.105, allocations: 107.4 kB / 465.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005702/0.1056, allocations: 211.1 kB / 465.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005048/0.1107, allocations: 2.04 MB / 467.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.1113, allocations: 0.5833 MB / 468.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1115, allocations: 92.62 kB / 468.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.1121, allocations: 391 kB / 468.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.1125, allocations: 275 kB / 469.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.1126, allocations: 20 kB / 469.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005851/0.1184, allocations: 3.539 MB / 472.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.1187, allocations: 211.3 kB / 472.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.119, allocations: 298.4 kB / 473.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.1226, allocations: 2.42 MB / 475.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1226, allocations: 0 / 475.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1226, allocations: 3.938 kB / 475.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.1227, allocations: 0 / 475.6 MB, free: 15.29 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.003274/0.1259, allocations: 1.221 MB / 476.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.126, allocations: 8.031 kB / 476.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.1263, allocations: 92.08 kB / 477 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.1271, allocations: 0.5148 MB / 477.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.1271, allocations: 33.38 kB / 477.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.1272, allocations: 51.94 kB / 477.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.1286, allocations: 0.8156 MB / 478.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1286, allocations: 0 / 478.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.1287, allocations: 20 kB / 478.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.1287, allocations: 48.92 kB / 478.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.13, allocations: 0.6126 MB / 479 MB, free: 11.73 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.00346/0.1335, allocations: 4.308 MB / 483.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1346, allocations: 0.546 MB / 483.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.1348, allocations: 197 kB / 484.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03353/0.1684, allocations: 15.31 MB / 499.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1685, allocations: 38.56 kB / 499.4 MB, free: 5.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.1685, allocations: 0 / 499.4 MB, free: 5.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001982/0.1705, allocations: 0.7376 MB / 0.4885 GB, free: 4.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1705, allocations: 59.41 kB / 0.4885 GB, free: 4.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.1711, allocations: 469.8 kB / 0.489 GB, free: 3.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1711, allocations: 33.7 kB / 0.489 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1713, allocations: 272.3 kB / 0.4893 GB, free: 3.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.1714, allocations: 138 kB / 0.4894 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1716, allocations: 77.59 kB / 0.4895 GB, free: 3.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1717, allocations: 362.8 kB / 0.4898 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.1719, allocations: 132.3 kB / 0.4899 GB, free: 2.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1722, allocations: 201.4 kB / 0.4901 GB, free: 2.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.1727, allocations: 375.8 kB / 0.4905 GB, free: 2.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1727, allocations: 3.938 kB / 0.4905 GB, free: 2.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006821/0.1734, allocations: 440.6 kB / 0.4909 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1734, allocations: 11.94 kB / 0.4909 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1734, allocations: 0 / 0.4909 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1735, allocations: 4 kB / 0.4909 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.1738, allocations: 68.12 kB / 0.491 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1738, allocations: 8 kB / 0.491 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.174, allocations: 47.56 kB / 0.491 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.174, allocations: 12 kB / 0.4911 GB, free: 1.523 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.0002737/0.1743, allocations: 253.7 kB / 0.4913 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.1744, allocations: 55.28 kB / 0.4913 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.1762, allocations: 1.778 MB / 0.4931 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/0.1763, allocations: 27.95 kB / 0.4931 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1763, allocations: 0 / 0.4931 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1763, allocations: 4 kB / 0.4931 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1773, allocations: 0.9926 MB / 0.4941 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1773, allocations: 11.94 kB / 0.4941 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.1776, allocations: 47.91 kB / 0.4941 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.1776, allocations: 4 kB / 0.4941 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1776, allocations: 12 kB / 0.4942 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1776, allocations: 0 / 0.4942 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1776, allocations: 0 / 0.4942 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1787, allocations: 0.9909 MB / 0.4951 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.1788, allocations: 171.7 kB / 0.4953 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.1789, allocations: 11.94 kB / 0.4953 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.1791, allocations: 8 kB / 0.4953 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1791, allocations: 23.97 kB / 0.4953 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.1792, allocations: 16 kB / 0.4953 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.1795, allocations: 335.1 kB / 0.4957 GB, free: 12.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1795, allocations: 0 / 0.4957 GB, free: 12.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001333/0.1809, allocations: 0.5308 MB / 0.4962 GB, free: 12.16 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.001849/0.1827, allocations: 0.5143 MB / 0.4967 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.1839, allocations: 0.6569 MB / 0.4973 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1839, allocations: 0 / 0.4973 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.1844, allocations: 465.7 kB / 0.4978 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.1859, allocations: 297.1 kB / 0.4981 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1881, allocations: 1.702 MB / 0.4997 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.1887, allocations: 1.049 MB / 0.5007 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005379/0.1893, allocations: 284 kB / 0.501 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.1894, allocations: 43.44 kB / 0.5011 GB, free: 7.105 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1894, allocations: 0 / 0.5011 GB, free: 7.105 MB / 398.1 MB Notification: Performance of Templates: time 0.03124/0.2206, allocations: 20.87 MB / 0.5214 GB, free: 2.203 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)