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.001493/0.001493, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.00146/0.00146, allocations: 195.3 kB / 18.52 MB, free: 4.633 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.435/1.435, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2925/0.2925, allocations: 48.84 MB / 320.6 MB, free: 11.09 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.002171/0.002171, allocations: 68 kB / 390.7 MB, free: 48.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1068, allocations: 59.17 MB / 449.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.02164/0.1285, allocations: 15.54 MB / 465.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1297, allocations: 0.7049 MB / 466.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1299, allocations: 7.938 kB / 466.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.1303, allocations: 103.4 kB / 466.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.131, allocations: 211.1 kB / 466.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005933/0.1369, allocations: 2.044 MB / 468.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007724/0.1377, allocations: 441.8 kB / 469 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.138, allocations: 120.8 kB / 469.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006075/0.1386, allocations: 359.1 kB / 469.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.139, allocations: 231.1 kB / 469.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.139, allocations: 24 kB / 469.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007441/0.1465, allocations: 3.535 MB / 473.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.1469, allocations: 187.5 kB / 473.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.1473, allocations: 258.6 kB / 473.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.1528, allocations: 2.335 MB / 476 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1529, allocations: 4 kB / 476 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1529, allocations: 0 / 476 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1529, allocations: 0 / 476 MB, free: 15.61 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.002856/0.1558, allocations: 1.072 MB / 477.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1558, allocations: 8.031 kB / 477.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.1561, allocations: 76.27 kB / 477.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.1568, allocations: 487.3 kB / 477.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.1568, allocations: 32.94 kB / 477.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.1569, allocations: 28 kB / 477.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.158, allocations: 0.6053 MB / 478.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1581, allocations: 0 / 478.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.1581, allocations: 16 kB / 478.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.1582, allocations: 40.52 kB / 478.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009328/0.1591, allocations: 454.2 kB / 478.8 MB, free: 12.69 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.003217/0.1624, allocations: 3.168 MB / 481.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.1632, allocations: 386.6 kB / 482.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.1635, allocations: 172.8 kB / 482.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03563/0.1991, allocations: 15.31 MB / 497.8 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.1992, allocations: 38.44 kB / 497.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 3.437e-06/0.1992, allocations: 4 kB / 497.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001461/0.2007, allocations: 0.5436 MB / 498.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2008, allocations: 55.41 kB / 498.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.2013, allocations: 413.6 kB / 498.8 MB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.2013, allocations: 33.64 kB / 498.9 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2016, allocations: 248.2 kB / 499.1 MB, free: 6.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.2017, allocations: 106.4 kB / 499.2 MB, free: 6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2018, allocations: 53.7 kB / 499.3 MB, free: 5.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.202, allocations: 358.8 kB / 499.6 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2021, allocations: 103.9 kB / 499.7 MB, free: 5.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.2024, allocations: 148.2 kB / 499.9 MB, free: 5.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.2028, allocations: 292.8 kB / 0.4884 GB, free: 5.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.2029, allocations: 4 kB / 0.4884 GB, free: 5.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005733/0.2034, allocations: 344.9 kB / 0.4888 GB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2035, allocations: 4 kB / 0.4888 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.2035, allocations: 4 kB / 0.4888 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2035, allocations: 0 / 0.4888 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.2037, allocations: 43.92 kB / 0.4888 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.2038, allocations: 4.125 kB / 0.4888 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.2039, allocations: 35.61 kB / 0.4889 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.204, allocations: 12 kB / 0.4889 GB, free: 4.57 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.0002981/0.2043, allocations: 229.7 kB / 0.4891 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.2044, allocations: 47.38 kB / 0.4891 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.2058, allocations: 1.116 MB / 0.4902 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/0.2058, allocations: 19.97 kB / 0.4902 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2058, allocations: 0 / 0.4902 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2058, allocations: 0 / 0.4902 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/0.2067, allocations: 0.7221 MB / 0.4909 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2068, allocations: 0 / 0.4909 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.207, allocations: 43.91 kB / 0.491 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.207, allocations: 0 / 0.491 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.207, allocations: 8 kB / 0.491 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.207, allocations: 0 / 0.491 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.207, allocations: 3.938 kB / 0.491 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.2079, allocations: 0.7041 MB / 0.4917 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.208, allocations: 148.1 kB / 0.4918 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.2081, allocations: 4 kB / 0.4918 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2082, allocations: 4 kB / 0.4918 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.2083, allocations: 19.97 kB / 0.4919 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.2083, allocations: 8 kB / 0.4919 GB, free: 1.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003537/0.2087, allocations: 299.1 kB / 0.4921 GB, free: 1.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2087, allocations: 0 / 0.4921 GB, free: 1.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001546/0.2102, allocations: 0.4956 MB / 0.4926 GB, free: 0.6172 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 (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.001787/0.212, allocations: 0.5106 MB / 0.4931 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008566/0.2129, allocations: 451.9 kB / 0.4936 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2129, allocations: 3.938 kB / 0.4936 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.2133, allocations: 308.8 kB / 0.4939 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2145, allocations: 205.4 kB / 0.4941 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.2166, allocations: 1.326 MB / 0.4954 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.2173, allocations: 0.9538 MB / 0.4963 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.2174, allocations: 31.44 kB / 0.4963 GB, free: 12.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2174, allocations: 0 / 0.4963 GB, free: 12.77 MB / 398.1 MB Notification: Performance of Templates: time 0.02288/0.2403, allocations: 13.8 MB / 0.5098 GB, free: 14.96 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile (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)