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.00122/0.00122, allocations: 96.05 kB / 16.3 MB, free: 6.461 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.001341/0.001341, allocations: 174.6 kB / 17.19 MB, free: 6.348 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.233/1.233, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2406/0.2406, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0004944/0.0004944, allocations: 17.47 kB / 391.1 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.08191, allocations: 60.27 MB / 451.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01411/0.09606, allocations: 13.3 MB / 464.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.0969, allocations: 0.6277 MB / 465.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.09702, allocations: 7.875 kB / 465.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.09737, allocations: 103.6 kB / 465.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.09771, allocations: 139.6 kB / 465.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.1017, allocations: 1.547 MB / 467.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.1021, allocations: 291.4 kB / 467.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1023, allocations: 100.5 kB / 467.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.1027, allocations: 307.4 kB / 467.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.103, allocations: 167.4 kB / 468 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.103, allocations: 12 kB / 468 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005638/0.1086, allocations: 3.426 MB / 471.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.1089, allocations: 171.5 kB / 471.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.109, allocations: 117.5 kB / 471.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.111, allocations: 1.579 MB / 473.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.111, allocations: 0 / 473.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.111, allocations: 0 / 473.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.111, allocations: 0 / 473.3 MB, free: 3.652 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002152/0.1132, allocations: 0.9983 MB / 474.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1132, allocations: 8.031 kB / 474.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.1134, allocations: 71.33 kB / 474.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.1141, allocations: 482.2 kB / 474.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1141, allocations: 28.98 kB / 474.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1142, allocations: 36 kB / 474.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.1152, allocations: 0.5897 MB / 475.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1152, allocations: 3.938 kB / 475.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.1153, allocations: 16 kB / 475.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.1153, allocations: 32.64 kB / 475.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.1162, allocations: 462.1 kB / 476 MB, free: 0.8164 MB / 350.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.002681/0.1189, allocations: 3.164 MB / 479.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.1196, allocations: 386.6 kB / 479.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03221/0.1519, allocations: 15.41 MB / 494.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1519, allocations: 38.5 kB / 495 MB, free: 11.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.1519, allocations: 0 / 495 MB, free: 11.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001399/0.1533, allocations: 0.6982 MB / 495.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1534, allocations: 59.34 kB / 495.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.1538, allocations: 417.5 kB / 496.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1538, allocations: 29.7 kB / 496.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.154, allocations: 236.2 kB / 496.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.1541, allocations: 114.5 kB / 496.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.1541, allocations: 4 kB / 496.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1542, allocations: 358.8 kB / 496.9 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1544, allocations: 99.94 kB / 497 MB, free: 9.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.1546, allocations: 144.2 kB / 497.1 MB, free: 9.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.1548, allocations: 152.5 kB / 497.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1548, allocations: 0 / 497.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004713/0.1553, allocations: 341 kB / 497.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1553, allocations: 4 kB / 497.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1553, allocations: 4 kB / 497.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1553, allocations: 0 / 497.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1556, allocations: 43.98 kB / 497.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1556, allocations: 3.938 kB / 497.6 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1558, allocations: 43.7 kB / 497.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.1558, allocations: 12 kB / 497.7 MB, free: 8.801 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.1561, allocations: 229.7 kB / 497.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.1561, allocations: 39.53 kB / 497.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.1573, allocations: 1.116 MB / 499.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.1573, allocations: 15.97 kB / 499.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1573, allocations: 0 / 499.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1573, allocations: 4 kB / 499.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007445/0.1581, allocations: 0.7298 MB / 499.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1581, allocations: 3.938 kB / 499.8 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1582, allocations: 35.92 kB / 499.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1582, allocations: 0 / 499.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1583, allocations: 4 kB / 499.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1583, allocations: 4 kB / 499.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1583, allocations: 7.984 kB / 499.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.159, allocations: 0.708 MB / 0.4888 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1591, allocations: 136.2 kB / 0.489 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.1592, allocations: 4 kB / 0.489 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1593, allocations: 23.83 kB / 0.489 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.1594, allocations: 15.98 kB / 0.489 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1594, allocations: 11.98 kB / 0.489 GB, free: 5.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.1597, allocations: 295.1 kB / 0.4893 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1597, allocations: 0 / 0.4893 GB, free: 5.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001196/0.1609, allocations: 0.4957 MB / 0.4898 GB, free: 4.836 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 (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.001483/0.1624, allocations: 0.5143 MB / 0.4903 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005184/0.1629, allocations: 391.5 kB / 0.4907 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1629, allocations: 0 / 0.4907 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.1633, allocations: 316.7 kB / 0.491 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009686/0.1642, allocations: 185.5 kB / 0.4911 GB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.166, allocations: 1.516 MB / 0.4926 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.1665, allocations: 0.9618 MB / 0.4936 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000379/0.1669, allocations: 183 kB / 0.4937 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.167, allocations: 39.44 kB / 0.4938 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.167, allocations: 0 / 0.4938 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of Templates: time 0.02451/0.1915, allocations: 17.99 MB / 0.5114 GB, free: 14.68 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: