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.00098/0.0009801, allocations: 109.7 kB / 16.51 MB, free: 6.707 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.0009945/0.0009945, allocations: 186.5 kB / 17.42 MB, free: 6.074 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.229/1.229, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2448/0.2448, allocations: 48.83 MB / 319.5 MB, free: 11.33 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.001276/0.001276, allocations: 66.81 kB / 389.4 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07477/0.07605, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01693/0.09302, allocations: 16.33 MB / 464.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.0939, allocations: 0.7165 MB / 465.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.09406, allocations: 0 / 465.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.09441, allocations: 103.5 kB / 465.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.0948, allocations: 199.2 kB / 465.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.09867, allocations: 1.597 MB / 467.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.09939, allocations: 0.8719 MB / 468.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.09953, allocations: 80.7 kB / 468.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.1001, allocations: 391 kB / 468.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.1004, allocations: 307 kB / 469.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.1004, allocations: 19.94 kB / 469.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/0.1057, allocations: 3.543 MB / 472.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.1059, allocations: 203.3 kB / 472.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.1062, allocations: 294.4 kB / 473.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.109, allocations: 2.409 MB / 475.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.109, allocations: 0 / 475.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.109, allocations: 0 / 475.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.109, allocations: 0 / 475.5 MB, free: 15.14 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.002595/0.1116, allocations: 1.22 MB / 476.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1116, allocations: 8.031 kB / 476.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.1119, allocations: 96.06 kB / 476.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.1126, allocations: 0.5108 MB / 477.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.1126, allocations: 41.36 kB / 477.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.1127, allocations: 51.94 kB / 477.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.114, allocations: 0.8117 MB / 478.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1141, allocations: 3.938 kB / 478.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1141, allocations: 20 kB / 478.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/0.1142, allocations: 44.97 kB / 478.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1154, allocations: 0.6086 MB / 479 MB, free: 11.59 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.003088/0.1185, allocations: 4.3 MB / 483.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1196, allocations: 0.5495 MB / 483.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.1198, allocations: 189.1 kB / 484 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02985/0.1497, allocations: 15.32 MB / 499.3 MB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1498, allocations: 38.56 kB / 499.4 MB, free: 4.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.365e-06/0.1498, allocations: 0 / 499.4 MB, free: 4.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001882/0.1517, allocations: 0.7455 MB / 0.4884 GB, free: 4.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1517, allocations: 55.41 kB / 0.4884 GB, free: 4.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.1522, allocations: 477.7 kB / 0.4889 GB, free: 3.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1523, allocations: 33.7 kB / 0.4889 GB, free: 3.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1524, allocations: 272.3 kB / 0.4892 GB, free: 3.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/0.1525, allocations: 134 kB / 0.4893 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1527, allocations: 81.58 kB / 0.4894 GB, free: 3.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1528, allocations: 358.8 kB / 0.4897 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.153, allocations: 140.3 kB / 0.4899 GB, free: 2.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.1533, allocations: 193.4 kB / 0.49 GB, free: 2.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.1538, allocations: 379.8 kB / 0.4904 GB, free: 1.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1538, allocations: 0 / 0.4904 GB, free: 1.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006366/0.1544, allocations: 440.8 kB / 0.4908 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1544, allocations: 8 kB / 0.4908 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1545, allocations: 3.938 kB / 0.4908 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1545, allocations: 4 kB / 0.4908 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.1548, allocations: 71.89 kB / 0.4909 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1548, allocations: 8 kB / 0.4909 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.1551, allocations: 55.58 kB / 0.491 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.1551, allocations: 16 kB / 0.491 GB, free: 1.367 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.0002843/0.1554, allocations: 257.6 kB / 0.4912 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.1555, allocations: 55.28 kB / 0.4913 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.1571, allocations: 1.778 MB / 0.493 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/0.1572, allocations: 23.95 kB / 0.493 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1572, allocations: 0 / 0.493 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1572, allocations: 7.984 kB / 0.493 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.1582, allocations: 1 MB / 0.494 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1582, allocations: 7.938 kB / 0.494 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1584, allocations: 43.97 kB / 0.4941 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1584, allocations: 4 kB / 0.4941 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.1584, allocations: 11.92 kB / 0.4941 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1585, allocations: 7.938 kB / 0.4941 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1585, allocations: 0 / 0.4941 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00099/0.1595, allocations: 0.9871 MB / 0.4951 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1596, allocations: 171.7 kB / 0.4952 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.1596, allocations: 8 kB / 0.4952 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.1599, allocations: 31.83 kB / 0.4953 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1599, allocations: 23.97 kB / 0.4953 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.16, allocations: 12 kB / 0.4953 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.1603, allocations: 339.1 kB / 0.4956 GB, free: 12.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1603, allocations: 0 / 0.4956 GB, free: 12.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001247/0.1615, allocations: 0.5308 MB / 0.4961 GB, free: 11.98 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.001629/0.1632, allocations: 0.5234 MB / 0.4967 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006614/0.1639, allocations: 0.5439 MB / 0.4972 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1639, allocations: 0 / 0.4972 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.1643, allocations: 461.7 kB / 0.4976 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.1657, allocations: 269.8 kB / 0.4979 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.1678, allocations: 2.059 MB / 0.4999 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.1683, allocations: 1.045 MB / 0.5009 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/0.1688, allocations: 276 kB / 0.5012 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.1689, allocations: 51.42 kB / 0.5012 GB, free: 6.707 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.169, allocations: 4 kB / 0.5012 GB, free: 6.703 MB / 398.1 MB Notification: Performance of Templates: time 0.02641/0.1954, allocations: 20.44 MB / 0.5212 GB, free: 2.234 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)