Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002017/0.002017, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.993/1.993, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009692/0.0009692, allocations: 86.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3824/0.3824, allocations: 48.77 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.438e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 60.25 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.01/10.17, allocations: 2.993 GB / 3.475 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/10.17, allocations: 74.19 kB / 3.475 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.854/12.02, allocations: 456.7 MB / 3.921 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/12.02, allocations: 0.9688 kB / 3.921 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.832e-05/12.02, allocations: 27.12 kB / 3.921 GB, free: 54.28 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.006234/12.03, allocations: 1.227 MB / 3.922 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/12.03, allocations: 11.19 kB / 3.922 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005489/12.03, allocations: 124.6 kB / 3.922 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008389/12.03, allocations: 470.3 kB / 3.923 GB, free: 53.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/12.03, allocations: 34.06 kB / 3.923 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/12.03, allocations: 54.47 kB / 3.923 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/12.03, allocations: 0.7732 MB / 3.923 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/12.03, allocations: 0 / 3.923 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/12.03, allocations: 30.08 kB / 3.923 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/12.03, allocations: 10.19 kB / 3.923 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/12.03, allocations: 0.5135 MB / 3.924 GB, free: 52.53 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.002332/12.04, allocations: 2.657 MB / 3.926 GB, free: 50.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/12.04, allocations: 0.5664 MB / 3.927 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/12.04, allocations: 119 kB / 3.927 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05486/12.09, allocations: 31.98 MB / 3.958 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/12.09, allocations: 41.22 kB / 3.958 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/12.09, allocations: 0 / 3.958 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.00511/12.1, allocations: 1.55 MB / 3.96 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/12.1, allocations: 109.9 kB / 3.96 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/12.1, allocations: 393.4 kB / 3.96 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/12.1, allocations: 33.67 kB / 3.96 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/12.1, allocations: 274.5 kB / 3.961 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/12.1, allocations: 114.9 kB / 3.961 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/12.1, allocations: 4 kB / 3.961 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/12.1, allocations: 363.4 kB / 3.961 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/12.1, allocations: 143.5 kB / 3.961 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/12.1, allocations: 212.8 kB / 3.962 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/12.1, allocations: 160.7 kB / 3.962 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/12.1, allocations: 0 / 3.962 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001611/12.1, allocations: 0.7119 MB / 3.962 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/12.1, allocations: 0.5309 MB / 3.963 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/12.1, allocations: 3.5 kB / 3.963 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/12.1, allocations: 484 kB / 3.963 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/12.1, allocations: 39.2 kB / 3.963 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/12.11, allocations: 1.502 MB / 3.965 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/12.11, allocations: 66.92 kB / 3.965 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/12.11, allocations: 30.28 kB / 3.965 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/12.11, allocations: 3.938 kB / 3.965 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/12.11, allocations: 0.5863 MB / 3.966 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/12.11, allocations: 0 / 3.966 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/12.11, allocations: 433.4 kB / 3.966 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/12.11, allocations: 45.48 kB / 3.966 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/12.11, allocations: 1.437 MB / 3.967 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/12.11, allocations: 58.81 kB / 3.967 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/12.11, allocations: 26.69 kB / 3.967 GB, free: 24.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001505/12.11, allocations: 119.6 kB / 3.968 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/12.11, allocations: 58.36 kB / 3.968 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/12.11, allocations: 3.337 MB / 3.971 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/12.11, allocations: 2.844 kB / 3.971 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/12.11, allocations: 6.578 kB / 3.971 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/12.11, allocations: 0 / 3.971 GB, free: 22.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 postOpt removeSimpleEquations (simulation): time 0.004738/12.12, allocations: 4.824 MB / 3.976 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/12.12, allocations: 0 / 3.976 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/12.12, allocations: 44.19 kB / 3.976 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/12.12, allocations: 1.525 MB / 3.977 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/12.12, allocations: 7.594 kB / 3.977 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/12.13, allocations: 2.73 MB / 3.98 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/12.13, allocations: 7.5 kB / 3.98 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/12.13, allocations: 4.363 MB / 3.984 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/12.13, allocations: 132.3 kB / 3.984 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/12.13, allocations: 12 kB / 3.984 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/12.13, allocations: 51.28 kB / 3.984 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/12.13, allocations: 31.33 kB / 3.984 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/12.13, allocations: 11.98 kB / 3.984 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003476/12.13, allocations: 309.6 kB / 3.985 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/12.13, allocations: 0 / 3.985 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005584/12.14, allocations: 1.046 MB / 3.986 GB, free: 11.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00627/12.14, allocations: 1.519 MB / 3.987 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002284/12.14, allocations: 0.78 MB / 3.988 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/12.14, allocations: 0 / 3.988 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/12.15, allocations: 451.8 kB / 3.988 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/12.15, allocations: 317.1 kB / 3.989 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/12.15, allocations: 1.017 MB / 3.99 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/12.15, allocations: 0.8998 MB / 3.99 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004407/12.15, allocations: 147.6 kB / 3.991 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/12.15, allocations: 35.44 kB / 3.991 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/12.15, allocations: 4 kB / 3.991 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of Templates: time 0.4224/12.57, allocations: 45.14 MB / 4.035 GB, free: 76.09 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)