Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.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_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 223.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008025/0.0008026, allocations: 91.59 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3978/0.3978, allocations: 48.77 MB / 368.9 MB, free: 47.34 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 16 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1076, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.102/5.21, allocations: 3.018 GB / 3.506 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/5.21, allocations: 90.12 kB / 3.506 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.17/6.38, allocations: 342.4 MB / 3.841 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/6.38, allocations: 0 / 3.841 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.181e-05/6.38, allocations: 46.52 kB / 3.841 GB, free: 62.48 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.0335/6.413, allocations: 7.9 MB / 3.849 GB, free: 54.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/6.413, allocations: 8.031 kB / 3.849 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/6.43, allocations: 2.762 MB / 3.851 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/6.442, allocations: 3.612 MB / 3.855 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003678/6.446, allocations: 1.095 MB / 3.856 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003457/6.449, allocations: 195 kB / 3.856 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04427/6.494, allocations: 16.42 MB / 3.872 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.463e-05/6.494, allocations: 3.375 kB / 3.872 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002591/6.496, allocations: 77.09 kB / 3.872 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.453e-05/6.496, allocations: 40 kB / 3.872 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07369/6.57, allocations: 30.84 MB / 3.902 GB, free: 7.082 MB / 0.5105 GB 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.3307/6.901, allocations: 58.85 MB / 3.96 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03003/6.931, allocations: 13.5 MB / 3.973 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02715/6.958, allocations: 11.6 MB / 3.984 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1871/7.145, allocations: 119.6 MB / 4.101 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.144e-05/7.145, allocations: 56.41 kB / 4.101 GB, free: 492 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=212): time 5.5e-06/7.145, allocations: 0 / 4.101 GB, free: 492 kB / 0.5573 GB Notification: Performance of matching and sorting (n=213): time 0.4424/7.588, allocations: 60.57 MB / 4.16 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/7.588, allocations: 79.58 kB / 4.16 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/7.589, allocations: 0.6414 MB / 4.161 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001338/7.59, allocations: 66.7 kB / 4.161 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/7.59, allocations: 0.5385 MB / 4.162 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001148/7.592, allocations: 0.7286 MB / 4.162 GB, free: 109 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006892/7.592, allocations: 46.03 kB / 4.162 GB, free: 109 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001524/7.592, allocations: 435.3 kB / 4.163 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02194/7.614, allocations: 11.83 MB / 4.174 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02148/7.636, allocations: 12.33 MB / 4.186 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.284/7.92, allocations: 116.7 MB / 4.3 GB, free: 39.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/7.92, allocations: 4 kB / 4.3 GB, free: 39.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.3079/8.228, allocations: 46.88 MB / 4.346 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/8.228, allocations: 472.1 kB / 4.347 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/8.228, allocations: 12.92 kB / 4.347 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1335/8.362, allocations: 57.45 MB / 4.403 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/8.368, allocations: 1.452 MB / 4.404 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05428/8.422, allocations: 24.01 MB / 4.428 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/8.435, allocations: 2.822 MB / 4.43 GB, free: 95.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00271/8.438, allocations: 426.4 kB / 4.431 GB, free: 95.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/8.438, allocations: 4 kB / 4.431 GB, free: 95.17 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09117/8.529, allocations: 36.96 MB / 4.467 GB, free: 67.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/8.529, allocations: 15 kB / 4.467 GB, free: 67.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3433/8.873, allocations: 57.1 MB / 4.523 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00547/8.878, allocations: 1.47 MB / 4.524 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04792/8.926, allocations: 23.63 MB / 4.547 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/8.939, allocations: 2.821 MB / 4.55 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/8.94, allocations: 433.4 kB / 4.55 GB, free: 106.6 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0 $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * 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 {10 87} Notification: Performance of prepare postOptimizeDAE: time 0.002218/8.943, allocations: 0.5751 MB / 4.551 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008851/8.943, allocations: 124.8 kB / 4.551 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07819/9.022, allocations: 42.03 MB / 4.592 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05327/9.075, allocations: 39.95 MB / 4.631 GB, free: 86.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/9.075, allocations: 4 kB / 4.631 GB, free: 86.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/9.075, allocations: 14.91 kB / 4.631 GB, free: 86.69 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07113/9.146, allocations: 66.02 MB / 4.696 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/9.146, allocations: 0 / 4.696 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01218/9.158, allocations: 3.519 MB / 4.699 GB, free: 26.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003403/9.162, allocations: 1.116 MB / 4.7 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008253/9.163, allocations: 291.7 kB / 4.7 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006973/9.17, allocations: 5.983 MB / 4.706 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/9.17, allocations: 0 / 4.706 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2738/9.444, allocations: 36.05 MB / 4.741 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003336/9.447, allocations: 1.801 MB / 4.743 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008518/9.448, allocations: 57.45 kB / 4.743 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/9.458, allocations: 2.788 MB / 4.746 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/9.459, allocations: 417.9 kB / 4.746 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009056/9.46, allocations: 293.7 kB / 4.747 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005198/9.461, allocations: 428.1 kB / 4.747 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.71e-07/9.461, allocations: 1.75 kB / 4.747 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01037/9.471, allocations: 3.247 MB / 4.75 GB, free: 106.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005325/9.476, allocations: 1.535 MB / 4.752 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.06946/9.546, allocations: 38.61 MB / 4.789 GB, free: 102 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/9.546, allocations: 2.125 kB / 4.789 GB, free: 102 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02314/9.569, allocations: 13.22 MB / 4.802 GB, free: 98.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/9.572, allocations: 471.8 kB / 4.803 GB, free: 98.26 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/9.6, allocations: 16.46 MB / 4.819 GB, free: 93.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008425/9.601, allocations: 1.578 MB / 4.82 GB, free: 93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009588/9.61, allocations: 3.982 MB / 4.824 GB, free: 91.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004438/9.615, allocations: 0.5767 MB / 4.825 GB, free: 91.64 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/9.615, allocations: 4 kB / 4.825 GB, free: 91.64 MB / 0.5573 GB Notification: Performance of Templates: time 0.5318/10.15, allocations: 270.7 MB / 5.089 GB, free: 18.57 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe 2>&1)