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.001416/0.001416, allocations: 181.1 kB / 16.38 MB, free: 5.766 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.389/1.389, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.0008408/0.0008408, allocations: 88.23 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3531/0.3531, allocations: 48.77 MB / 367.9 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003006, allocations: 15.98 kB / 438.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 60.25 MB / 498.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.143/5.26, allocations: 3.017 GB / 3.505 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/5.26, allocations: 89.97 kB / 3.505 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.128/6.388, allocations: 328.6 MB / 3.826 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/6.388, allocations: 0 / 3.826 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.97e-05/6.388, allocations: 37.09 kB / 3.826 GB, free: 69.95 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.0306/6.419, allocations: 6.754 MB / 3.832 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/6.419, allocations: 16.02 kB / 3.832 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/6.433, allocations: 2.218 MB / 3.834 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/6.444, allocations: 3.062 MB / 3.837 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002735/6.447, allocations: 0.8538 MB / 3.838 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/6.45, allocations: 200.1 kB / 3.838 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03849/6.488, allocations: 13.3 MB / 3.851 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/6.488, allocations: 1.875 kB / 3.851 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003274/6.491, allocations: 85.78 kB / 3.852 GB, free: 54.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/6.492, allocations: 44 kB / 3.852 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08647/6.578, allocations: 23.77 MB / 3.875 GB, free: 36.03 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.3861/6.964, allocations: 47.65 MB / 3.921 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0308/6.995, allocations: 11.74 MB / 3.933 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2075/7.203, allocations: 119.6 MB / 4.05 GB, free: 28.77 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.647e-05/7.203, allocations: 55.47 kB / 4.05 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=225): time 6.262e-06/7.203, allocations: 5.859 kB / 4.05 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=226): time 0.1464/7.349, allocations: 48.08 MB / 4.097 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/7.349, allocations: 107.1 kB / 4.097 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/7.35, allocations: 0.5783 MB / 4.097 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00283/7.353, allocations: 65.7 kB / 4.097 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/7.354, allocations: 0.5545 MB / 4.098 GB, free: 9.863 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003338/7.357, allocations: 0.7847 MB / 4.099 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002801/7.36, allocations: 44 kB / 4.099 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004084/7.36, allocations: 441.3 kB / 4.099 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02413/7.384, allocations: 9.26 MB / 4.108 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3561/7.74, allocations: 12.28 MB / 4.12 GB, free: 113 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02417/7.765, allocations: 8.256 MB / 4.128 GB, free: 113 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.787e-05/7.765, allocations: 7.906 kB / 4.128 GB, free: 113 MB / 0.5573 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.08417/7.849, allocations: 28.37 MB / 4.156 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009913/7.85, allocations: 4.109 MB / 4.16 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/7.85, allocations: 9.344 kB / 4.16 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2426/8.093, allocations: 73.92 MB / 4.232 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/8.094, allocations: 224.5 kB / 4.232 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07868/8.172, allocations: 28.94 MB / 4.261 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/8.185, allocations: 2.162 MB / 4.263 GB, free: 77.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002663/8.187, allocations: 355.9 kB / 4.263 GB, free: 77.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/8.187, allocations: 4 kB / 4.263 GB, free: 77.11 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07397/8.261, allocations: 28.02 MB / 4.29 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/8.261, allocations: 16.66 kB / 4.29 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5061/8.768, allocations: 73.74 MB / 4.362 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/8.769, allocations: 231.2 kB / 4.363 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07483/8.844, allocations: 28.68 MB / 4.391 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/8.855, allocations: 2.16 MB / 4.393 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002845/8.858, allocations: 353.2 kB / 4.393 GB, free: 109.2 MB / 0.5573 GB 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 () * Number of clocked 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.005245/8.864, allocations: 0.5683 MB / 4.394 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/8.866, allocations: 132.7 kB / 4.394 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06464/8.931, allocations: 34.17 MB / 4.427 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05836/8.989, allocations: 32.39 MB / 4.459 GB, free: 74.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.261e-05/8.989, allocations: 8 kB / 4.459 GB, free: 74.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.512e-05/8.989, allocations: 10.73 kB / 4.459 GB, free: 74.65 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07943/9.069, allocations: 53.57 MB / 4.511 GB, free: 28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/9.069, allocations: 0.75 kB / 4.511 GB, free: 28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01392/9.083, allocations: 2.746 MB / 4.514 GB, free: 25.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2796/9.362, allocations: 1.377 MB / 4.515 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002583/9.365, allocations: 242.1 kB / 4.515 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/9.385, allocations: 26.92 MB / 4.542 GB, free: 89.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/9.385, allocations: 0 / 4.542 GB, free: 89.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07207/9.457, allocations: 29.29 MB / 4.57 GB, free: 89.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00566/9.463, allocations: 1.516 MB / 4.572 GB, free: 89.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002629/9.465, allocations: 54.81 kB / 4.572 GB, free: 89.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0121/9.478, allocations: 2.125 MB / 4.574 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003118/9.481, allocations: 376.3 kB / 4.574 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002508/9.483, allocations: 238.7 kB / 4.575 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007285/9.484, allocations: 448.8 kB / 4.575 GB, free: 89.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.552e-06/9.484, allocations: 1.906 kB / 4.575 GB, free: 89.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01828/9.502, allocations: 3.043 MB / 4.578 GB, free: 89.07 MB / 0.5573 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: 22 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.01058/9.513, allocations: 1.548 MB / 4.579 GB, free: 88.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.08087/9.594, allocations: 31.54 MB / 4.61 GB, free: 85.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/9.594, allocations: 0 / 4.61 GB, free: 85.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02853/9.622, allocations: 12.47 MB / 4.622 GB, free: 80.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005226/9.628, allocations: 0.5085 MB / 4.623 GB, free: 80.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03352/9.661, allocations: 14.41 MB / 4.637 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/9.663, allocations: 1.677 MB / 4.639 GB, free: 75.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009122/9.672, allocations: 2.609 MB / 4.641 GB, free: 75.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006422/9.679, allocations: 470.7 kB / 4.642 GB, free: 75.23 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/9.679, allocations: 0 / 4.642 GB, free: 75.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.842/10.52, allocations: 279.4 MB / 4.915 GB, free: 124.1 MB / 0.573 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)