Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.0009973, allocations: 96.61 kB / 16.3 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009895/0.0009894, allocations: 178.8 kB / 17.19 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2619/0.2619, allocations: 48.77 MB / 320.4 MB, free: 11.3 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005235, allocations: 13.38 kB / 391.1 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08795, allocations: 60.26 MB / 451.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph): time 0.02968/0.1177, allocations: 30.48 MB / 481.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.1303, allocations: 10.9 MB / 492.8 MB, free: 92 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.131, allocations: 11.94 kB / 492.8 MB, free: 80 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.1317, allocations: 202.9 kB / 493 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.1354, allocations: 1.387 MB / 494.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009212/0.1446, allocations: 3.483 MB / 497.9 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008426/0.1531, allocations: 8.771 MB / 0.4948 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006169/0.1593, allocations: 4.726 MB / 0.4994 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006081/0.1654, allocations: 4.276 MB / 0.5036 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.1755, allocations: 6.385 MB / 0.5098 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003675/0.1792, allocations: 0.6953 MB / 0.5105 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0145/0.1938, allocations: 6.954 MB / 0.5173 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005846/0.1996, allocations: 3.321 MB / 0.5205 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.2024, allocations: 0.9092 MB / 0.5214 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2032/0.4056, allocations: 11.32 MB / 0.5324 GB, free: 29.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4057, allocations: 0 / 0.5324 GB, free: 29.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4057, allocations: 0 / 0.5324 GB, free: 29.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002039/0.4059, allocations: 2.469 kB / 0.5324 GB, free: 29.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1653 * Number of variables: 1653 Notification: Performance of Generate backend data structure: time 0.06744/0.4733, allocations: 16.61 MB / 0.5487 GB, free: 27.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4734, allocations: 17.61 kB / 0.5487 GB, free: 27.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008828/0.4822, allocations: 1.04 MB / 0.5497 GB, free: 26.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.042/0.5243, allocations: 10.6 MB / 0.56 GB, free: 24.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003793/0.5281, allocations: 2.174 MB / 0.5622 GB, free: 23.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0057/0.5338, allocations: 0.6459 MB / 0.5628 GB, free: 23.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08118/0.615, allocations: 34.51 MB / 0.5965 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/0.6152, allocations: 31.22 kB / 0.5965 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004881/0.6201, allocations: 278.8 kB / 0.5968 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.6203, allocations: 168 kB / 0.597 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09639/0.7167, allocations: 38.45 MB / 0.6345 GB, free: 13.17 MB / 462.1 MB 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.3398/1.056, allocations: 120.1 MB / 0.7517 GB, free: 186.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06784/1.124, allocations: 24.41 MB / 0.7756 GB, free: 179.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1346/1.259, allocations: 76.52 MB / 0.8503 GB, free: 99.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/1.259, allocations: 90.72 kB / 0.8504 GB, free: 99.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=530): time 6.893e-06/1.259, allocations: 1.312 kB / 0.8504 GB, free: 99.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=530): time 0.7158/1.975, allocations: 145.9 MB / 0.9928 GB, free: 188.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.975, allocations: 129.3 kB / 0.993 GB, free: 188.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/1.979, allocations: 4.301 MB / 0.9972 GB, free: 185.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.004317/1.984, allocations: 113.7 kB / 0.9973 GB, free: 185 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/1.985, allocations: 3.304 MB / 1.001 GB, free: 181.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.005031/1.99, allocations: 2.094 MB / 1.003 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/1.992, allocations: 224 kB / 1.003 GB, free: 179.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000409/1.993, allocations: 0.8404 MB / 1.004 GB, free: 178.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04529/2.038, allocations: 21.42 MB / 1.025 GB, free: 157.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04817/2.086, allocations: 27 MB / 1.051 GB, free: 127.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04461/2.131, allocations: 20.02 MB / 1.07 GB, free: 107.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/2.131, allocations: 56 kB / 1.07 GB, free: 107.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.4234/2.554, allocations: 75.57 MB / 1.144 GB, free: 182.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.01441/2.569, allocations: 75.68 MB / 1.218 GB, free: 103.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004418/2.569, allocations: 190.2 kB / 1.218 GB, free: 103.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.131/2.7, allocations: 55.71 MB / 1.273 GB, free: 80.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1373/2.838, allocations: 40.9 MB / 1.313 GB, free: 39.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2891/3.127, allocations: 39.94 MB / 1.352 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03687/3.164, allocations: 6.817 MB / 1.358 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005648/3.169, allocations: 0.9769 MB / 1.359 GB, free: 182.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/3.169, allocations: 3.5 kB / 1.359 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2354/3.405, allocations: 75.03 MB / 1.433 GB, free: 135.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005502/3.405, allocations: 192 kB / 1.433 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.128/3.533, allocations: 55.71 MB / 1.487 GB, free: 79.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1384/3.672, allocations: 40.89 MB / 1.527 GB, free: 38.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2939/3.966, allocations: 39.94 MB / 1.566 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03485/4.001, allocations: 6.478 MB / 1.572 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00606/4.007, allocations: 0.9689 MB / 1.573 GB, free: 173.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 870 * Number of states: 0 () * Number of discrete variables: 13 (hex.fluidState[11].phase,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 (1243): * Single equations (assignments): 1242 * 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 {12 193} Notification: Performance of prepare postOptimizeDAE: time 0.01013/4.017, allocations: 2.185 MB / 1.576 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003724/4.021, allocations: 470.3 kB / 1.576 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4209/4.441, allocations: 136.6 MB / 1.709 GB, free: 52.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-05/4.442, allocations: 107.9 kB / 1.709 GB, free: 52.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.005e-05/4.442, allocations: 18.34 kB / 1.709 GB, free: 52.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001198/4.442, allocations: 23.91 kB / 1.71 GB, free: 51.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6892/5.131, allocations: 191.6 MB / 1.897 GB, free: 62.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.355e-05/5.131, allocations: 3.953 kB / 1.897 GB, free: 62.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1684/5.3, allocations: 50.54 MB / 1.946 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3198/5.619, allocations: 41.89 MB / 1.987 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004534/5.624, allocations: 0.7209 MB / 1.988 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9326/6.557, allocations: 189.5 MB / 2.173 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.557, allocations: 0.8438 kB / 2.173 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5176/7.074, allocations: 125.2 MB / 2.295 GB, free: 61.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009458/7.084, allocations: 2.997 MB / 2.298 GB, free: 58.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003691/7.087, allocations: 367.7 kB / 2.298 GB, free: 57.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03114/7.119, allocations: 6.09 MB / 2.304 GB, free: 51.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005556/7.124, allocations: 0.8544 MB / 2.305 GB, free: 50.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003129/7.127, allocations: 0.4989 MB / 2.306 GB, free: 50.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00305/7.13, allocations: 2.523 MB / 2.308 GB, free: 47.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/7.13, allocations: 0 / 2.308 GB, free: 47.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.02878/7.159, allocations: 5.878 MB / 2.314 GB, free: 42 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],MetalWall.T[1],MetalWall.T[2],MetalWall.T[3],MetalWall.T[4],MetalWall.T[5],MetalWall.T[6],MetalWall.T[7],MetalWall.T[8],MetalWall.T[9],MetalWall.T[10],MetalWall.T[11]) * Number of discrete variables: 30 ($cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.region3boundary,$cse29.region3boundary,$cse30.region3boundary,$cse31.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (477): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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 {(12,68.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005877/7.165, allocations: 1.117 MB / 2.315 GB, free: 41.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.9965/8.162, allocations: 192.4 MB / 2.503 GB, free: 58.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/8.162, allocations: 0.5 kB / 2.503 GB, free: 58.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.5724/8.734, allocations: 77.77 MB / 2.579 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/8.74, allocations: 0.7592 MB / 2.579 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05843/8.798, allocations: 32.26 MB / 2.611 GB, free: 148.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/8.801, allocations: 3.337 MB / 2.614 GB, free: 145.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.02037/8.821, allocations: 9.013 MB / 2.623 GB, free: 136 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004616/8.826, allocations: 0.6042 MB / 2.624 GB, free: 135.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/8.826, allocations: 0 / 2.624 GB, free: 135.4 MB / 0.545 GB Notification: Performance of Templates: time 0.8328/9.658, allocations: 462.8 MB / 3.076 GB, free: 69.07 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe 2>&1) Environment - environmentSimulation: