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.0009493/0.0009493, allocations: 90.19 kB / 16.31 MB, free: 5.613 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.001111/0.001112, allocations: 183.6 kB / 17.21 MB, free: 5.527 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.289/1.289, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2478/0.2478, allocations: 48.77 MB / 320.4 MB, free: 11.23 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.0005002/0.0005002, allocations: 18.09 kB / 391.2 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09093, allocations: 60.27 MB / 451.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01573/0.1067, allocations: 14.38 MB / 465.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.1077, allocations: 0.6663 MB / 466.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1078, allocations: 3.938 kB / 466.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1082, allocations: 95.5 kB / 466.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.1086, allocations: 187.2 kB / 466.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.1128, allocations: 1.561 MB / 468.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.1135, allocations: 0.7276 MB / 469.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1136, allocations: 68.72 kB / 469.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.1142, allocations: 399 kB / 469.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.1145, allocations: 323 kB / 469.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.1146, allocations: 12 kB / 469.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005251/0.1198, allocations: 3.359 MB / 473.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.1201, allocations: 215.3 kB / 473.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1202, allocations: 145.4 kB / 473.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.122, allocations: 1.633 MB / 475.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.122, allocations: 0 / 475.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.122, allocations: 0 / 475.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.122, allocations: 0 / 475.2 MB, free: 1.707 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002381/0.1244, allocations: 1.122 MB / 476.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1244, allocations: 12.03 kB / 476.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.1247, allocations: 91.22 kB / 476.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.1253, allocations: 0.4982 MB / 476.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.1254, allocations: 40.94 kB / 476.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.1254, allocations: 47.97 kB / 477 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.1267, allocations: 0.8079 MB / 477.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1268, allocations: 7.922 kB / 477.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.1268, allocations: 20 kB / 477.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.1269, allocations: 44.86 kB / 477.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.128, allocations: 0.6009 MB / 478.5 MB, free: 14.27 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.002883/0.1309, allocations: 4.308 MB / 482.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1319, allocations: 0.534 MB / 483.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.1322, allocations: 197.1 kB / 483.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02682/0.159, allocations: 15.42 MB / 498.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1591, allocations: 38.55 kB / 499 MB, free: 7.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.286e-06/0.1591, allocations: 0 / 499 MB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001798/0.1609, allocations: 0.7418 MB / 499.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1609, allocations: 59.41 kB / 499.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.1614, allocations: 473.8 kB / 0.4885 GB, free: 6.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1615, allocations: 29.7 kB / 0.4885 GB, free: 6.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1617, allocations: 268.3 kB / 0.4888 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1618, allocations: 142 kB / 0.4889 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.1618, allocations: 4 kB / 0.4889 GB, free: 5.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1619, allocations: 362.8 kB / 0.4893 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1621, allocations: 132.3 kB / 0.4894 GB, free: 5.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1624, allocations: 201.3 kB / 0.4896 GB, free: 5.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1626, allocations: 175.8 kB / 0.4898 GB, free: 4.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1626, allocations: 0 / 0.4898 GB, free: 4.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005919/0.1632, allocations: 437.9 kB / 0.4902 GB, free: 4.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1633, allocations: 8 kB / 0.4902 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1633, allocations: 3.984 kB / 0.4902 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1633, allocations: 7.984 kB / 0.4902 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.1636, allocations: 67.91 kB / 0.4903 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1636, allocations: 4.219 kB / 0.4903 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.1639, allocations: 59.42 kB / 0.4903 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.1639, allocations: 19.98 kB / 0.4903 GB, free: 4.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002666/0.1642, allocations: 257.6 kB / 0.4906 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.1642, allocations: 47.44 kB / 0.4906 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.166, allocations: 1.766 MB / 0.4924 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/0.1661, allocations: 31.95 kB / 0.4924 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1661, allocations: 0 / 0.4924 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1661, allocations: 3.984 kB / 0.4924 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.1671, allocations: 0.9966 MB / 0.4934 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1671, allocations: 0 / 0.4934 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1673, allocations: 55.91 kB / 0.4934 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1673, allocations: 4 kB / 0.4934 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.1673, allocations: 15.97 kB / 0.4934 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.1673, allocations: 4 kB / 0.4934 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1673, allocations: 4 kB / 0.4934 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.1683, allocations: 0.9715 MB / 0.4944 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.1685, allocations: 171.8 kB / 0.4946 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.1685, allocations: 8 kB / 0.4946 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1687, allocations: 31.83 kB / 0.4946 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1688, allocations: 23.97 kB / 0.4946 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.1688, allocations: 11.98 kB / 0.4946 GB, free: 15.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.1691, allocations: 331.1 kB / 0.4949 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1691, allocations: 0 / 0.4949 GB, free: 15.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001322/0.1705, allocations: 0.5346 MB / 0.4955 GB, free: 14.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.1719, allocations: 0.5142 MB / 0.496 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.1726, allocations: 0.5359 MB / 0.4965 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1727, allocations: 0 / 0.4965 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.1731, allocations: 465 kB / 0.4969 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.1744, allocations: 285 kB / 0.4972 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1766, allocations: 2.031 MB / 0.4992 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.1771, allocations: 1.053 MB / 0.5002 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005378/0.1777, allocations: 280 kB / 0.5005 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.1778, allocations: 47.44 kB / 0.5005 GB, free: 9.633 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1778, allocations: 0 / 0.5005 GB, free: 9.633 MB / 398.1 MB Notification: Performance of Templates: time 0.02802/0.2058, allocations: 20.5 MB / 0.5205 GB, free: 5.102 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: