Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 177 kB / 17.4 MB, free: 4.418 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.323/1.323, 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.000753/0.0007528, allocations: 93.47 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3566/0.3566, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.09993, allocations: 60.26 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.921/5.021, allocations: 2.832 GB / 3.32 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/5.022, allocations: 80.84 kB / 3.32 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2809/5.303, allocations: 123.1 MB / 3.44 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/5.303, allocations: 0 / 3.44 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.557e-05/5.303, allocations: 8 kB / 3.44 GB, free: 80.21 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.006092/5.309, allocations: 1.405 MB / 3.442 GB, free: 78.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/5.309, allocations: 12.03 kB / 3.442 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/5.31, allocations: 160.4 kB / 3.442 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/5.311, allocations: 355.7 kB / 3.442 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/5.311, allocations: 142.8 kB / 3.442 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/5.311, allocations: 32.38 kB / 3.442 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/5.316, allocations: 2.036 MB / 3.444 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/5.316, allocations: 3.938 kB / 3.444 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/5.316, allocations: 12 kB / 3.444 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/5.316, allocations: 8.562 kB / 3.444 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006384/5.322, allocations: 2.976 MB / 3.447 GB, free: 72.95 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.003661/5.326, allocations: 4.713 MB / 3.452 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/5.33, allocations: 1.509 MB / 3.453 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/5.332, allocations: 1.153 MB / 3.454 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3493/5.681, allocations: 75.64 MB / 3.528 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/5.681, allocations: 38.64 kB / 3.528 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.875e-06/5.681, allocations: 0 / 3.528 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.02187/5.703, allocations: 6.737 MB / 3.535 GB, free: 101 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/5.703, allocations: 58.72 kB / 3.535 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/5.703, allocations: 150.7 kB / 3.535 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/5.704, allocations: 36.2 kB / 3.535 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/5.704, allocations: 152.5 kB / 3.535 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/5.704, allocations: 150 kB / 3.535 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-05/5.704, allocations: 6.469 kB / 3.536 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/5.704, allocations: 334.7 kB / 3.536 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003343/5.707, allocations: 1.293 MB / 3.537 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/5.711, allocations: 1.389 MB / 3.538 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006261/5.717, allocations: 2.331 MB / 3.541 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/5.717, allocations: 7.156 kB / 3.541 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007312/5.724, allocations: 2.689 MB / 3.543 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/5.724, allocations: 3.219 kB / 3.543 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/5.724, allocations: 3.781 kB / 3.543 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/5.725, allocations: 3.094 kB / 3.543 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/5.727, allocations: 0.5936 MB / 3.544 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/5.727, allocations: 11.31 kB / 3.544 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/5.729, allocations: 358.5 kB / 3.544 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/5.729, allocations: 77.34 kB / 3.544 GB, free: 100.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003948/5.73, allocations: 177.4 kB / 3.545 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/5.73, allocations: 17.97 kB / 3.545 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/5.742, allocations: 7.384 MB / 3.552 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01053/5.753, allocations: 6.841 MB / 3.558 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/5.753, allocations: 0 / 3.558 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/5.753, allocations: 8.906 kB / 3.558 GB, free: 99.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/5.768, allocations: 10.67 MB / 3.569 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/5.768, allocations: 3.969 kB / 3.569 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/5.771, allocations: 0.5947 MB / 3.569 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.154e-05/5.771, allocations: 9.406 kB / 3.569 GB, free: 94.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/5.771, allocations: 47.3 kB / 3.57 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/5.771, allocations: 2.625 kB / 3.57 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.771, allocations: 0 / 3.57 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/5.783, allocations: 5.026 MB / 3.574 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/5.783, allocations: 282.1 kB / 3.575 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/5.784, allocations: 16.28 kB / 3.575 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/5.785, allocations: 365.1 kB / 3.575 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/5.786, allocations: 82.2 kB / 3.575 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/5.786, allocations: 50.77 kB / 3.575 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001158/5.786, allocations: 111.3 kB / 3.575 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/5.786, allocations: 0 / 3.575 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00607/5.792, allocations: 0.9773 MB / 3.576 GB, free: 92.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007993/5.8, allocations: 1.098 MB / 3.577 GB, free: 92.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007391/5.807, allocations: 2.993 MB / 3.58 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/5.808, allocations: 0 / 3.58 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003514/5.811, allocations: 1.719 MB / 3.582 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/5.812, allocations: 103 kB / 3.582 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/5.82, allocations: 3.768 MB / 3.586 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/5.82, allocations: 0.9245 MB / 3.587 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002223/5.823, allocations: 1.276 MB / 3.588 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/5.823, allocations: 160.9 kB / 3.588 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/5.823, allocations: 0 / 3.588 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.0488/5.872, allocations: 36.07 MB / 3.623 GB, free: 79.86 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)