Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_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.TestFlow1D2phDB_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 173.3 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.427/1.427, allocations: 205.3 MB / 214.1 MB, free: 1.676 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.0008207/0.0008208, allocations: 82.7 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.263/0.263, allocations: 48.78 MB / 358.8 MB, free: 10.88 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.532e-05, allocations: 7.984 kB / 425.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 60.26 MB / 485.6 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.772/5.874, allocations: 2.972 GB / 3.446 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/5.875, allocations: 79.48 kB / 3.446 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.388/7.263, allocations: 327.8 MB / 3.766 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/7.263, allocations: 0 / 3.766 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.962e-05/7.263, allocations: 38.7 kB / 3.766 GB, free: 57.38 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.03236/7.295, allocations: 7.834 MB / 3.774 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/7.295, allocations: 7.938 kB / 3.774 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008274/7.303, allocations: 0.836 MB / 3.775 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/7.316, allocations: 3.276 MB / 3.778 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00393/7.32, allocations: 1.006 MB / 3.779 GB, free: 55.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003639/7.324, allocations: 99.28 kB / 3.779 GB, free: 55.83 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03454/7.358, allocations: 14.4 MB / 3.793 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/7.381, allocations: 7.536 MB / 3.8 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/7.381, allocations: 0 / 3.8 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00332/7.385, allocations: 7.484 kB / 3.8 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/7.385, allocations: 39.12 kB / 3.8 GB, free: 55.65 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.08657/7.471, allocations: 47.59 MB / 3.847 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/7.482, allocations: 6.244 MB / 3.853 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008766/7.49, allocations: 5.405 MB / 3.858 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5024/7.993, allocations: 120 MB / 3.975 GB, free: 67.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.511e-05/7.993, allocations: 57.97 kB / 3.975 GB, free: 67.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=220): time 4.538e-06/7.993, allocations: 3.906 kB / 3.975 GB, free: 67.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=221): time 0.06055/8.054, allocations: 22.07 MB / 3.997 GB, free: 66.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/8.054, allocations: 75.19 kB / 3.997 GB, free: 66.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/8.055, allocations: 0.5327 MB / 3.998 GB, free: 66.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001734/8.056, allocations: 28.33 kB / 3.998 GB, free: 66.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/8.057, allocations: 0.4961 MB / 3.998 GB, free: 66.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/8.058, allocations: 0.7235 MB / 3.999 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007627/8.059, allocations: 0 / 3.999 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001275/8.059, allocations: 437.5 kB / 3.999 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006898/8.066, allocations: 5.739 MB / 4.005 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006888/8.073, allocations: 6.012 MB / 4.011 GB, free: 65.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1484/8.221, allocations: 56.73 MB / 4.066 GB, free: 62.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/8.221, allocations: 0 / 4.066 GB, free: 62.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.1146/8.336, allocations: 34.05 MB / 4.099 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003827/8.336, allocations: 1.664 MB / 4.101 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/8.336, allocations: 4 kB / 4.101 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4156/8.752, allocations: 51.08 MB / 4.151 GB, free: 87.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006233/8.758, allocations: 1.305 MB / 4.152 GB, free: 87.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03039/8.788, allocations: 16.17 MB / 4.168 GB, free: 86.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01414/8.803, allocations: 2.779 MB / 4.171 GB, free: 86.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002564/8.805, allocations: 361 kB / 4.171 GB, free: 86.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/8.805, allocations: 7.219 kB / 4.171 GB, free: 86.68 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2629/9.068, allocations: 74.86 MB / 4.244 GB, free: 85.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.64e-05/9.068, allocations: 3.219 kB / 4.244 GB, free: 85.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.125/9.193, allocations: 49.83 MB / 4.293 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00583/9.199, allocations: 1.317 MB / 4.294 GB, free: 54.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03239/9.232, allocations: 15.68 MB / 4.309 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01543/9.247, allocations: 2.778 MB / 4.312 GB, free: 42.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005242/9.252, allocations: 353.8 kB / 4.312 GB, free: 42.14 MB / 0.5417 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.p = 0.0 $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. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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.006203/9.259, allocations: 166.3 kB / 4.312 GB, free: 42.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00315/9.262, allocations: 127.1 kB / 4.313 GB, free: 41.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3842/9.646, allocations: 29.83 MB / 4.342 GB, free: 85.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04183/9.688, allocations: 28.09 MB / 4.369 GB, free: 85.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/9.688, allocations: 9.125 kB / 4.369 GB, free: 85.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-05/9.688, allocations: 11.81 kB / 4.369 GB, free: 85.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06436/9.752, allocations: 49.83 MB / 4.418 GB, free: 63.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/9.752, allocations: 4.875 kB / 4.418 GB, free: 63.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01674/9.769, allocations: 3.406 MB / 4.421 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004308/9.774, allocations: 1.069 MB / 4.422 GB, free: 63.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003668/9.777, allocations: 209 kB / 4.422 GB, free: 63.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00904/9.786, allocations: 5.811 MB / 4.428 GB, free: 60.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/9.786, allocations: 0 / 4.428 GB, free: 60.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03798/9.824, allocations: 17.44 MB / 4.445 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004927/9.829, allocations: 1.474 MB / 4.447 GB, free: 52.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002808/9.832, allocations: 18.31 kB / 4.447 GB, free: 52.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01433/9.846, allocations: 2.746 MB / 4.449 GB, free: 52.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002537/9.849, allocations: 353.3 kB / 4.45 GB, free: 52.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002755/9.852, allocations: 229.2 kB / 4.45 GB, free: 52.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006156/9.852, allocations: 408.6 kB / 4.45 GB, free: 52.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.6e-07/9.853, allocations: 0 / 4.45 GB, free: 52.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01728/9.87, allocations: 2.883 MB / 4.453 GB, free: 52.58 MB / 0.5417 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: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.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.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 193 * 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: 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.01105/9.881, allocations: 1.553 MB / 4.455 GB, free: 52.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04023/9.921, allocations: 19.75 MB / 4.474 GB, free: 44.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/9.921, allocations: 3.969 kB / 4.474 GB, free: 44.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/9.935, allocations: 6.802 MB / 4.48 GB, free: 41.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005779/9.941, allocations: 351 kB / 4.481 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/9.961, allocations: 8.956 MB / 4.49 GB, free: 36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/9.962, allocations: 1.592 MB / 4.491 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01219/9.974, allocations: 3.378 MB / 4.494 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006418/9.981, allocations: 464.2 kB / 4.495 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of SimCode: time 8.22e-07/9.981, allocations: 5.109 kB / 4.495 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.9515/10.93, allocations: 256.6 MB / 4.745 GB, free: 88.61 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe 2>&1)