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.001663/0.001663, allocations: 180.6 kB / 8.344 MB, free: 0.7148 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.433/1.433, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008138/0.0008138, allocations: 84.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4013/0.4013, allocations: 48.78 MB / 358.8 MB, free: 53.21 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.812e-05, allocations: 4 kB / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.0991, allocations: 60.25 MB / 485.6 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.306/5.405, allocations: 2.831 GB / 3.305 GB, free: 41.18 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/5.405, allocations: 63.97 kB / 3.305 GB, free: 41.11 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.5402/5.945, allocations: 121.1 MB / 3.423 GB, free: 123.2 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.262e-06/5.945, allocations: 0 / 3.423 GB, free: 123.2 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 1.547e-05/5.945, allocations: 7.812 kB / 3.423 GB, free: 123.2 MB / 0.5108 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.006006/5.951, allocations: 1.391 MB / 3.424 GB, free: 122.5 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/5.951, allocations: 15.38 kB / 3.424 GB, free: 122.5 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/5.953, allocations: 166.6 kB / 3.425 GB, free: 122.5 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/5.954, allocations: 349.5 kB / 3.425 GB, free: 122.2 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/5.954, allocations: 128.3 kB / 3.425 GB, free: 122.2 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/5.954, allocations: 23.22 kB / 3.425 GB, free: 122.2 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00194/5.956, allocations: 1.403 MB / 3.426 GB, free: 121.8 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/5.957, allocations: 0.9986 MB / 3.427 GB, free: 121.4 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/5.957, allocations: 3.953 kB / 3.427 GB, free: 121.4 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/5.958, allocations: 4.219 kB / 3.427 GB, free: 121.4 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/5.958, allocations: 8.562 kB / 3.427 GB, free: 121.4 MB / 0.5108 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.003657/5.961, allocations: 4.809 MB / 3.432 GB, free: 116.5 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/5.962, allocations: 0.6782 MB / 3.433 GB, free: 115.9 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/5.963, allocations: 0.5716 MB / 3.433 GB, free: 115.4 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1362/6.099, allocations: 75.91 MB / 3.507 GB, free: 35.2 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/6.099, allocations: 38.5 kB / 3.508 GB, free: 35.15 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=38): time 2.905e-06/6.099, allocations: 0 / 3.508 GB, free: 35.15 MB / 0.5108 GB Notification: Performance of matching and sorting (n=41): time 0.01239/6.111, allocations: 3.148 MB / 3.511 GB, free: 31.95 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/6.111, allocations: 55.73 kB / 3.511 GB, free: 31.88 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/6.112, allocations: 154.1 kB / 3.511 GB, free: 31.72 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/6.112, allocations: 25.7 kB / 3.511 GB, free: 31.69 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/6.112, allocations: 144.6 kB / 3.511 GB, free: 31.55 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/6.112, allocations: 145.9 kB / 3.511 GB, free: 31.4 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/6.112, allocations: 0 / 3.511 GB, free: 31.4 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/6.112, allocations: 334.8 kB / 3.511 GB, free: 31.07 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/6.113, allocations: 0.6489 MB / 3.512 GB, free: 30.42 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/6.114, allocations: 0.731 MB / 3.513 GB, free: 29.65 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/6.116, allocations: 0.6556 MB / 3.513 GB, free: 29 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/6.116, allocations: 0 / 3.513 GB, free: 29 MB / 0.5108 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003917/6.12, allocations: 1.528 MB / 3.515 GB, free: 27.46 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/6.12, allocations: 7.938 kB / 3.515 GB, free: 27.45 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/6.12, allocations: 4 kB / 3.515 GB, free: 27.45 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/6.12, allocations: 4 kB / 3.515 GB, free: 27.45 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/6.123, allocations: 0.5964 MB / 3.515 GB, free: 26.85 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/6.123, allocations: 8 kB / 3.516 GB, free: 26.84 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/6.125, allocations: 351.5 kB / 3.516 GB, free: 26.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/6.125, allocations: 79.86 kB / 3.516 GB, free: 26.42 MB / 0.5108 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 () * 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.0002996/6.126, allocations: 116.9 kB / 3.516 GB, free: 26.3 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/6.126, allocations: 23.8 kB / 3.516 GB, free: 26.28 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005489/6.131, allocations: 5.511 MB / 3.521 GB, free: 20.75 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00421/6.135, allocations: 5.019 MB / 3.526 GB, free: 15.72 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-05/6.136, allocations: 7.938 kB / 3.526 GB, free: 15.71 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/6.136, allocations: 7.984 kB / 3.526 GB, free: 15.71 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007119/6.143, allocations: 8.46 MB / 3.535 GB, free: 6.961 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/6.143, allocations: 0 / 3.535 GB, free: 6.961 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/6.145, allocations: 0.5812 MB / 3.535 GB, free: 6.379 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/6.145, allocations: 4 kB / 3.535 GB, free: 6.375 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/6.145, allocations: 43.91 kB / 3.535 GB, free: 6.332 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/6.145, allocations: 0 / 3.535 GB, free: 6.332 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/6.145, allocations: 0 / 3.535 GB, free: 6.332 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/6.149, allocations: 2.833 MB / 3.538 GB, free: 3.48 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/6.15, allocations: 268.1 kB / 3.538 GB, free: 3.199 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/6.15, allocations: 0 / 3.538 GB, free: 3.199 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/6.152, allocations: 355.5 kB / 3.539 GB, free: 2.852 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/6.152, allocations: 72.61 kB / 3.539 GB, free: 2.781 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/6.152, allocations: 51.91 kB / 3.539 GB, free: 2.73 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 9.979e-05/6.152, allocations: 118.5 kB / 3.539 GB, free: 2.617 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2.21e-07/6.152, allocations: 0 / 3.539 GB, free: 2.617 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007141/6.159, allocations: 0.9485 MB / 3.54 GB, free: 1.668 MB / 0.5108 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: 6 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006815/6.166, allocations: 1.125 MB / 3.541 GB, free: 0.6016 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.2326/6.399, allocations: 1.627 MB / 3.542 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/6.399, allocations: 1.375 kB / 3.542 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/6.4, allocations: 0.9766 MB / 3.543 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/6.401, allocations: 78.55 kB / 3.543 GB, free: 124.1 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006881/6.408, allocations: 2.36 MB / 3.546 GB, free: 123.9 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/6.408, allocations: 0.9111 MB / 3.547 GB, free: 123.3 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.00254/6.411, allocations: 1.272 MB / 3.548 GB, free: 123.2 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/6.412, allocations: 160.8 kB / 3.548 GB, free: 123.2 MB / 0.5108 GB Notification: Performance of SimCode: time 1.022e-06/6.412, allocations: 0 / 3.548 GB, free: 123.2 MB / 0.5108 GB Notification: Performance of Templates: time 0.04375/6.455, allocations: 32.43 MB / 3.58 GB, free: 122.6 MB / 0.5108 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)