Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 180.8 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008308/0.000831, allocations: 87.98 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4078/0.4078, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.927e-05, allocations: 4 kB / 425.3 MB, free: 8.242 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.301/6.412, allocations: 3.017 GB / 3.491 GB, free: 113.6 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/6.412, allocations: 80.23 kB / 3.491 GB, free: 113.6 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.068/7.48, allocations: 324.4 MB / 3.808 GB, free: 67.16 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.343e-06/7.48, allocations: 0 / 3.808 GB, free: 67.16 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001207/7.48, allocations: 35.94 kB / 3.808 GB, free: 67.13 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.03123/7.511, allocations: 6.643 MB / 3.814 GB, free: 60.6 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/7.511, allocations: 12.03 kB / 3.814 GB, free: 60.59 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/7.526, allocations: 2.216 MB / 3.816 GB, free: 58.44 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/7.537, allocations: 3.055 MB / 3.819 GB, free: 55.91 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002727/7.54, allocations: 0.7732 MB / 3.82 GB, free: 55.13 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/7.543, allocations: 119.2 kB / 3.82 GB, free: 55.02 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02699/7.57, allocations: 14.02 MB / 3.834 GB, free: 42.05 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/7.582, allocations: 7.383 MB / 3.841 GB, free: 34.56 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/7.582, allocations: 5.125 kB / 3.841 GB, free: 34.56 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/7.583, allocations: 4 kB / 3.841 GB, free: 34.55 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/7.583, allocations: 44 kB / 3.841 GB, free: 34.51 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.3658/7.949, allocations: 47.2 MB / 3.887 GB, free: 56.08 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/7.962, allocations: 6.794 MB / 3.894 GB, free: 56.05 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007622/7.969, allocations: 5.19 MB / 3.899 GB, free: 56.04 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2136/8.183, allocations: 120.1 MB / 4.016 GB, free: 29.67 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.728e-05/8.183, allocations: 55.47 kB / 4.016 GB, free: 29.63 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=223): time 6.483e-06/8.183, allocations: 0 / 4.016 GB, free: 29.63 MB / 0.5577 GB Notification: Performance of matching and sorting (n=224): time 0.08404/8.267, allocations: 25 MB / 4.041 GB, free: 25.79 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/8.267, allocations: 103.2 kB / 4.041 GB, free: 25.69 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000963/8.268, allocations: 0.5302 MB / 4.041 GB, free: 25.44 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.00288/8.271, allocations: 25.7 kB / 4.041 GB, free: 25.41 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/8.272, allocations: 0.5585 MB / 4.042 GB, free: 25.03 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.003134/8.275, allocations: 0.7581 MB / 4.043 GB, free: 24.54 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002316/8.277, allocations: 0 / 4.043 GB, free: 24.54 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0003323/8.277, allocations: 440.3 kB / 4.043 GB, free: 24.17 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008548/8.286, allocations: 5.346 MB / 4.048 GB, free: 21.89 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008527/8.295, allocations: 5.782 MB / 4.054 GB, free: 19.09 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01831/8.313, allocations: 5.99 MB / 4.06 GB, free: 15.43 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/8.313, allocations: 4 kB / 4.06 GB, free: 15.43 MB / 0.5577 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.3636/8.677, allocations: 22.04 MB / 4.081 GB, free: 110.2 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008063/8.678, allocations: 4.102 MB / 4.085 GB, free: 105.9 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/8.678, allocations: 10.88 kB / 4.085 GB, free: 105.9 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1175/8.795, allocations: 46.11 MB / 4.13 GB, free: 105.5 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/8.796, allocations: 223.2 kB / 4.131 GB, free: 105.5 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04412/8.84, allocations: 21.36 MB / 4.151 GB, free: 104.9 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01111/8.851, allocations: 2.116 MB / 4.154 GB, free: 104.8 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/8.853, allocations: 361.9 kB / 4.154 GB, free: 104.8 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/8.853, allocations: 3.906 kB / 4.154 GB, free: 104.8 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06035/8.914, allocations: 23.52 MB / 4.177 GB, free: 101.2 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.259e-05/8.914, allocations: 7.656 kB / 4.177 GB, free: 101.2 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1115/9.025, allocations: 45.91 MB / 4.222 GB, free: 79.67 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/9.026, allocations: 240.9 kB / 4.222 GB, free: 79.49 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0474/9.074, allocations: 21.16 MB / 4.243 GB, free: 61.66 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/9.086, allocations: 2.115 MB / 4.245 GB, free: 60.15 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002814/9.089, allocations: 362.6 kB / 4.245 GB, free: 59.94 MB / 0.5577 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: htFluid.fluidside.phi[2]:VARIABLE(flow=true unit = "W/m2" ) "Heat flux at the nodes" type: Real [8] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 181} Notification: Performance of prepare postOptimizeDAE: time 0.002328/9.091, allocations: 146.3 kB / 4.245 GB, free: 59.82 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/9.092, allocations: 127 kB / 4.245 GB, free: 59.75 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03973/9.132, allocations: 27.4 MB / 4.272 GB, free: 36.71 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4003/9.532, allocations: 25.74 MB / 4.297 GB, free: 111 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.363e-05/9.533, allocations: 10.28 kB / 4.297 GB, free: 111 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-05/9.533, allocations: 11.31 kB / 4.297 GB, free: 111 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07573/9.608, allocations: 46.07 MB / 4.342 GB, free: 92.16 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/9.608, allocations: 0.6875 kB / 4.342 GB, free: 92.16 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01516/9.624, allocations: 2.738 MB / 4.345 GB, free: 92.12 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/9.629, allocations: 1.344 MB / 4.346 GB, free: 91.81 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002595/9.631, allocations: 212.7 kB / 4.346 GB, free: 91.79 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/9.65, allocations: 25.54 MB / 4.371 GB, free: 69.29 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/9.65, allocations: 0.6562 kB / 4.371 GB, free: 69.29 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04201/9.692, allocations: 18.49 MB / 4.389 GB, free: 61.71 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006294/9.698, allocations: 1.5 MB / 4.391 GB, free: 61.1 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/9.7, allocations: 18.44 kB / 4.391 GB, free: 61.09 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01139/9.711, allocations: 2.093 MB / 4.393 GB, free: 61.09 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002174/9.713, allocations: 377.7 kB / 4.393 GB, free: 61.05 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001291/9.715, allocations: 231.8 kB / 4.393 GB, free: 61.04 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.0005545/9.715, allocations: 399.6 kB / 4.394 GB, free: 60.85 MB / 0.5577 GB Notification: Performance of sort global known variables: time 1.6e-07/9.715, allocations: 3.875 kB / 4.394 GB, free: 60.85 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.01747/9.733, allocations: 2.928 MB / 4.397 GB, free: 60.81 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 20 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/9.743, allocations: 1.6 MB / 4.398 GB, free: 60.6 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.04135/9.785, allocations: 19.64 MB / 4.417 GB, free: 52.89 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/9.785, allocations: 3.969 kB / 4.417 GB, free: 52.89 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.01476/9.799, allocations: 8.285 MB / 4.426 GB, free: 48.36 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/9.805, allocations: 468.5 kB / 4.426 GB, free: 48.28 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/9.822, allocations: 8.456 MB / 4.434 GB, free: 45.71 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/9.823, allocations: 1.643 MB / 4.436 GB, free: 44.9 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.008635/9.832, allocations: 2.665 MB / 4.438 GB, free: 43.39 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005557/9.838, allocations: 463 kB / 4.439 GB, free: 43.16 MB / 0.5577 GB Notification: Performance of SimCode: time 1.723e-06/9.838, allocations: 0 / 4.439 GB, free: 43.16 MB / 0.5577 GB Notification: Performance of Templates: time 0.993/10.83, allocations: 272.9 MB / 4.705 GB, free: 103.5 MB / 0.5577 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen.pipe 2>&1)