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.0007581/0.0007581, allocations: 89.62 kB / 16.65 MB, free: 6.594 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.000807/0.0008071, allocations: 180 kB / 17.56 MB, free: 6.203 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.225/1.225, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2432/0.2432, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0004758/0.000476, allocations: 17.98 kB / 391.8 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07843/0.07891, allocations: 60.26 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01604/0.09499, allocations: 15.82 MB / 467.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.09589, allocations: 0.7129 MB / 468.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.09598, allocations: 3.938 kB / 468.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.09629, allocations: 99.5 kB / 468.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.09669, allocations: 195.2 kB / 468.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.1002, allocations: 1.6 MB / 470.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.1008, allocations: 0.7201 MB / 471.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.101, allocations: 104.4 kB / 471.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.1015, allocations: 343.2 kB / 471.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1018, allocations: 263 kB / 471.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1018, allocations: 12 kB / 471.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/0.107, allocations: 3.543 MB / 475.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.1071, allocations: 183.5 kB / 475.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.1074, allocations: 264.4 kB / 475.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.1099, allocations: 2.319 MB / 478.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1099, allocations: 0 / 478.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1099, allocations: 0 / 478.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1099, allocations: 0 / 478.2 MB, free: 14.94 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.00205/0.112, allocations: 0.9938 MB / 479.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.112, allocations: 12.03 kB / 479.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.1122, allocations: 68.27 kB / 479.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.1128, allocations: 495.3 kB / 479.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.1129, allocations: 28.94 kB / 479.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.1129, allocations: 36 kB / 479.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.114, allocations: 0.5975 MB / 480.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.114, allocations: 0 / 480.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.114, allocations: 19.98 kB / 480.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.1141, allocations: 36.58 kB / 480.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.1149, allocations: 458.1 kB / 480.9 MB, free: 12.09 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.002435/0.1174, allocations: 3.16 MB / 484.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.1181, allocations: 386.5 kB / 484.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.1183, allocations: 176.8 kB / 484.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0313/0.1497, allocations: 15.43 MB / 0.4884 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1497, allocations: 38.44 kB / 0.4884 GB, free: 6.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.404e-06/0.1497, allocations: 0 / 0.4884 GB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001302/0.151, allocations: 0.5399 MB / 0.4889 GB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1511, allocations: 55.41 kB / 0.489 GB, free: 6.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.1515, allocations: 417.5 kB / 0.4894 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1516, allocations: 33.7 kB / 0.4894 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1517, allocations: 252.1 kB / 0.4897 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.1518, allocations: 106.4 kB / 0.4898 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1519, allocations: 33.7 kB / 0.4898 GB, free: 5.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.152, allocations: 350.8 kB / 0.4901 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1522, allocations: 107.9 kB / 0.4902 GB, free: 4.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1524, allocations: 148.2 kB / 0.4904 GB, free: 4.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.1528, allocations: 288.8 kB / 0.4906 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1528, allocations: 0 / 0.4906 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004946/0.1533, allocations: 353 kB / 0.491 GB, free: 3.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1533, allocations: 4 kB / 0.491 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1533, allocations: 4 kB / 0.491 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1533, allocations: 0 / 0.491 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1535, allocations: 47.91 kB / 0.491 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1536, allocations: 0 / 0.491 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.1538, allocations: 47.62 kB / 0.4911 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.1538, allocations: 16 kB / 0.4911 GB, free: 3.867 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.0002318/0.154, allocations: 221.7 kB / 0.4913 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.1541, allocations: 43.47 kB / 0.4913 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1553, allocations: 1.128 MB / 0.4924 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.1553, allocations: 19.97 kB / 0.4925 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1553, allocations: 0 / 0.4925 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1553, allocations: 0 / 0.4925 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007651/0.1561, allocations: 0.7182 MB / 0.4932 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1561, allocations: 8 kB / 0.4932 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1563, allocations: 43.91 kB / 0.4932 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1563, allocations: 4 kB / 0.4932 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1563, allocations: 4 kB / 0.4932 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1563, allocations: 0 / 0.4932 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1563, allocations: 0 / 0.4932 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.1571, allocations: 0.708 MB / 0.4939 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.1572, allocations: 144.1 kB / 0.494 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.1572, allocations: 4 kB / 0.4941 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1574, allocations: 23.89 kB / 0.4941 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.1575, allocations: 15.98 kB / 0.4941 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1575, allocations: 4 kB / 0.4941 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.1578, allocations: 299.1 kB / 0.4944 GB, free: 404 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1578, allocations: 4 kB / 0.4944 GB, free: 400 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001164/0.159, allocations: 0.4957 MB / 0.4949 GB, free: 15.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: 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.001603/0.1606, allocations: 0.5126 MB / 0.4954 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.1611, allocations: 391.5 kB / 0.4957 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1611, allocations: 0 / 0.4957 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.1615, allocations: 308.8 kB / 0.496 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1626, allocations: 208.7 kB / 0.4962 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1644, allocations: 1.563 MB / 0.4978 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.1649, allocations: 0.9501 MB / 0.4987 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.1653, allocations: 190.9 kB / 0.4989 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.1654, allocations: 35.44 kB / 0.4989 GB, free: 11.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1654, allocations: 0 / 0.4989 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Templates: time 0.02477/0.1901, allocations: 17.82 MB / 0.5163 GB, free: 9.863 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: