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.0009451/0.0009451, 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.348/1.348, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0007461/0.0007461, allocations: 100.4 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.373/0.373, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1085, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.095/5.204, allocations: 3.018 GB / 3.506 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/5.204, allocations: 91.81 kB / 3.506 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.163/6.367, allocations: 328.7 MB / 3.827 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/6.367, allocations: 0 / 3.827 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001059/6.367, allocations: 48.25 kB / 3.827 GB, free: 69.76 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.0293/6.396, allocations: 6.735 MB / 3.834 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/6.396, allocations: 8.031 kB / 3.834 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/6.41, allocations: 2.221 MB / 3.836 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/6.421, allocations: 3.082 MB / 3.839 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002815/6.424, allocations: 0.8612 MB / 3.84 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/6.427, allocations: 197.1 kB / 3.84 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03764/6.464, allocations: 13.31 MB / 3.853 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-05/6.464, allocations: 6.438 kB / 3.853 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00263/6.467, allocations: 76.94 kB / 3.853 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/6.467, allocations: 44 kB / 3.853 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06418/6.531, allocations: 23.78 MB / 3.876 GB, free: 33.17 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.3573/6.889, allocations: 47.65 MB / 3.923 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02977/6.918, allocations: 11.74 MB / 3.934 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02013/6.939, allocations: 9.184 MB / 3.943 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1919/7.131, allocations: 119.6 MB / 4.06 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.443e-05/7.131, allocations: 59.27 kB / 4.06 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=225): time 5.731e-06/7.131, allocations: 0 / 4.06 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=226): time 0.1347/7.265, allocations: 48.04 MB / 4.107 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/7.265, allocations: 103.1 kB / 4.107 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2598/7.525, allocations: 0.6539 MB / 4.108 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002347/7.528, allocations: 67.86 kB / 4.108 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/7.528, allocations: 0.5479 MB / 4.109 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002438/7.531, allocations: 0.7835 MB / 4.109 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007852/7.531, allocations: 44 kB / 4.109 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002562/7.532, allocations: 445.8 kB / 4.11 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02096/7.553, allocations: 9.267 MB / 4.119 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01988/7.573, allocations: 9.726 MB / 4.128 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03771/7.61, allocations: 16.66 MB / 4.145 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-05/7.61, allocations: 4.656 kB / 4.145 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.06759/7.678, allocations: 28.37 MB / 4.172 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/7.678, allocations: 414.1 kB / 4.173 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/7.678, allocations: 11.47 kB / 4.173 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2106/7.889, allocations: 73.98 MB / 4.245 GB, free: 82.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/7.89, allocations: 230.1 kB / 4.245 GB, free: 82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06051/7.95, allocations: 28.93 MB / 4.273 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/7.96, allocations: 2.168 MB / 4.276 GB, free: 57.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/7.962, allocations: 360.4 kB / 4.276 GB, free: 57.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/7.962, allocations: 4 kB / 4.276 GB, free: 57.24 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0575/8.019, allocations: 28.03 MB / 4.303 GB, free: 29.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/8.019, allocations: 8 kB / 4.303 GB, free: 29.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.466/8.485, allocations: 73.73 MB / 4.375 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/8.486, allocations: 233.5 kB / 4.375 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06126/8.547, allocations: 28.67 MB / 4.403 GB, free: 108 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/8.558, allocations: 2.172 MB / 4.406 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/8.559, allocations: 352.2 kB / 4.406 GB, free: 106.4 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.002099/8.561, allocations: 0.5654 MB / 4.406 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009442/8.562, allocations: 138.6 kB / 4.407 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05575/8.618, allocations: 34.17 MB / 4.44 GB, free: 82.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05145/8.67, allocations: 32.38 MB / 4.472 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.405e-05/8.67, allocations: 11.94 kB / 4.472 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.089e-05/8.67, allocations: 12.75 kB / 4.472 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3196/8.989, allocations: 53.55 MB / 4.524 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/8.989, allocations: 1.75 kB / 4.524 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01278/9.002, allocations: 2.743 MB / 4.527 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004556/9.007, allocations: 1.384 MB / 4.528 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002713/9.01, allocations: 242.5 kB / 4.528 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/9.028, allocations: 26.57 MB / 4.554 GB, free: 88.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/9.028, allocations: 4.547 kB / 4.554 GB, free: 88.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0707/9.099, allocations: 29.29 MB / 4.583 GB, free: 86.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003879/9.103, allocations: 1.509 MB / 4.584 GB, free: 86.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/9.104, allocations: 55.58 kB / 4.584 GB, free: 86.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01003/9.114, allocations: 2.128 MB / 4.586 GB, free: 86.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001822/9.116, allocations: 381.6 kB / 4.587 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009151/9.117, allocations: 237.6 kB / 4.587 GB, free: 86.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005291/9.118, allocations: 450.1 kB / 4.587 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/9.118, allocations: 2.156 kB / 4.587 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01266/9.13, allocations: 3.029 MB / 4.59 GB, free: 85.83 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.006658/9.137, allocations: 1.548 MB / 4.592 GB, free: 85.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.06933/9.206, allocations: 31.54 MB / 4.623 GB, free: 77.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/9.206, allocations: 2.656 kB / 4.623 GB, free: 77.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02613/9.233, allocations: 12.45 MB / 4.635 GB, free: 73.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006751/9.239, allocations: 0.5372 MB / 4.635 GB, free: 72.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/9.266, allocations: 14.41 MB / 4.649 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/9.267, allocations: 1.634 MB / 4.651 GB, free: 59.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006828/9.274, allocations: 2.614 MB / 4.654 GB, free: 58.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004176/9.278, allocations: 482 kB / 4.654 GB, free: 57.99 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/9.278, allocations: 6.891 kB / 4.654 GB, free: 57.99 MB / 0.5573 GB Notification: Performance of Templates: time 1.58/10.86, allocations: 281.9 MB / 4.929 GB, free: 92.93 MB / 0.5573 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)