Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 172.6 kB / 8.343 MB, free: 0.7422 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.355/1.355, allocations: 205.3 MB / 214.1 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000778/0.000778, allocations: 86.23 kB / 262.1 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2468/0.2468, allocations: 48.79 MB / 358.8 MB, free: 10.88 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.624e-05, allocations: 4 kB / 425.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09821, allocations: 60.26 MB / 485.6 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.726/5.825, allocations: 2.971 GB / 3.446 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/5.825, allocations: 82.72 kB / 3.446 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.272/7.097, allocations: 316.1 MB / 3.754 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.654e-06/7.097, allocations: 0 / 3.754 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.418e-05/7.097, allocations: 40.86 kB / 3.754 GB, free: 55.21 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.03176/7.129, allocations: 6.664 MB / 3.761 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/7.129, allocations: 9.562 kB / 3.761 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006829/7.136, allocations: 0.7193 MB / 3.762 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/7.147, allocations: 2.82 MB / 3.764 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003387/7.151, allocations: 0.7864 MB / 3.765 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003598/7.154, allocations: 112.3 kB / 3.765 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02696/7.181, allocations: 11.3 MB / 3.776 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/7.2, allocations: 6.384 MB / 3.782 GB, free: 53.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/7.2, allocations: 0 / 3.782 GB, free: 53.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/7.203, allocations: 3.531 kB / 3.782 GB, free: 53.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/7.203, allocations: 49.28 kB / 3.782 GB, free: 53.51 MB / 0.5105 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.06137/7.264, allocations: 30.08 MB / 3.812 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/7.279, allocations: 6.147 MB / 3.818 GB, free: 38.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007664/7.286, allocations: 4.479 MB / 3.822 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2332/7.519, allocations: 124.5 MB / 3.944 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.282e-05/7.52, allocations: 59.94 kB / 3.944 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=245): time 6.832e-06/7.52, allocations: 3.188 kB / 3.944 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=246): time 0.3917/7.911, allocations: 20.41 MB / 3.964 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/7.911, allocations: 104.5 kB / 3.964 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/7.912, allocations: 454.6 kB / 3.964 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002184/7.914, allocations: 28.98 kB / 3.964 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/7.915, allocations: 498.8 kB / 3.965 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002141/7.917, allocations: 0.8095 MB / 3.966 GB, free: 99.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006905/7.917, allocations: 0 / 3.966 GB, free: 99.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002495/7.918, allocations: 438.3 kB / 3.966 GB, free: 99.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0078/7.926, allocations: 4.655 MB / 3.971 GB, free: 99.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/7.936, allocations: 4.914 MB / 3.975 GB, free: 99.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/7.949, allocations: 4.254 MB / 3.98 GB, free: 99.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.405e-05/7.949, allocations: 0 / 3.98 GB, free: 99.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.05189/8.001, allocations: 19.36 MB / 3.998 GB, free: 98.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000416/8.001, allocations: 1.491 MB / 4 GB, free: 97.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/8.001, allocations: 7.797 kB / 4 GB, free: 97.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1115/8.113, allocations: 42.22 MB / 4.041 GB, free: 96.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009684/8.114, allocations: 183.8 kB / 4.041 GB, free: 96.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03885/8.153, allocations: 17.71 MB / 4.059 GB, free: 93.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/8.165, allocations: 2.114 MB / 4.061 GB, free: 93.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002719/8.168, allocations: 298.3 kB / 4.061 GB, free: 93.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/8.168, allocations: 3.781 kB / 4.061 GB, free: 93.15 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0446/8.213, allocations: 18.98 MB / 4.08 GB, free: 87.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/8.213, allocations: 3.312 kB / 4.08 GB, free: 87.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1052/8.318, allocations: 41.78 MB / 4.12 GB, free: 59.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/8.319, allocations: 215.1 kB / 4.121 GB, free: 59.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03677/8.356, allocations: 17.18 MB / 4.137 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/8.368, allocations: 2.11 MB / 4.139 GB, free: 43.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002551/8.37, allocations: 298.4 kB / 4.14 GB, free: 43.42 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: htFluid.fluidside.phi[4]: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: 17 * 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 (77): * Single equations (assignments): 76 * 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 196} Notification: Performance of prepare postOptimizeDAE: time 0.002901/8.373, allocations: 130.9 kB / 4.14 GB, free: 43.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/8.374, allocations: 131.1 kB / 4.14 GB, free: 43.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3906/8.765, allocations: 24.92 MB / 4.164 GB, free: 99.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03716/8.802, allocations: 23.39 MB / 4.187 GB, free: 99.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/8.802, allocations: 8.875 kB / 4.187 GB, free: 99.08 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/8.802, allocations: 13 kB / 4.187 GB, free: 99.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05477/8.857, allocations: 41.22 MB / 4.227 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/8.857, allocations: 3.688 kB / 4.227 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01302/8.87, allocations: 2.665 MB / 4.23 GB, free: 83.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005051/8.875, allocations: 1.466 MB / 4.231 GB, free: 83.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001846/8.877, allocations: 165.5 kB / 4.232 GB, free: 83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/8.896, allocations: 26.38 MB / 4.257 GB, free: 59.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/8.896, allocations: 7.078 kB / 4.257 GB, free: 59.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.033/8.929, allocations: 15.59 MB / 4.273 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004203/8.934, allocations: 1.26 MB / 4.274 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/8.936, allocations: 29.23 kB / 4.274 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/8.948, allocations: 2.092 MB / 4.276 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00223/8.95, allocations: 345.6 kB / 4.276 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001993/8.952, allocations: 194.7 kB / 4.276 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005452/8.953, allocations: 354.9 kB / 4.277 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/8.953, allocations: 0 / 4.277 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0175/8.97, allocations: 2.713 MB / 4.279 GB, free: 52.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 ($cse4.phase,$cse4.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.region3boundary,$cse13.region3boundary,$cse15.phase,$cse15.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 182 * 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: 18 * 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: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00983/8.98, allocations: 1.581 MB / 4.281 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03525/9.015, allocations: 17.12 MB / 4.298 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/9.015, allocations: 3.062 kB / 4.298 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01273/9.028, allocations: 7.561 MB / 4.305 GB, free: 41.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/9.032, allocations: 448.6 kB / 4.305 GB, free: 41.51 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/9.049, allocations: 8.361 MB / 4.314 GB, free: 38.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/9.051, allocations: 1.655 MB / 4.315 GB, free: 38.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007009/9.058, allocations: 2.427 MB / 4.318 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00411/9.062, allocations: 361.7 kB / 4.318 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/9.062, allocations: 2.078 kB / 4.318 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.8723/9.934, allocations: 249.1 MB / 4.561 GB, free: 80.69 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)