Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001841/0.001841, 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 2.002/2.002, 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.001128/0.001128, allocations: 86.72 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.3925/0.3925, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 5.114e-05/5.117e-05, allocations: 4 kB / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1903, allocations: 60.26 MB / 492.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.774/9.964, allocations: 2.993 GB / 3.475 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003946/9.965, allocations: 77.92 kB / 3.475 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.692/11.66, allocations: 365.6 MB / 3.832 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.174e-06/11.66, allocations: 0 / 3.832 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.385e-05/11.66, allocations: 15.61 kB / 3.832 GB, free: 67.79 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005477/11.66, allocations: 1.165 MB / 3.833 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/11.66, allocations: 15.44 kB / 3.833 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/11.66, allocations: 109.2 kB / 3.833 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/11.66, allocations: 416.9 kB / 3.833 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/11.66, allocations: 31.31 kB / 3.833 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/11.66, allocations: 46.12 kB / 3.833 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/11.67, allocations: 0.6659 MB / 3.834 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/11.67, allocations: 1.312 kB / 3.834 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/11.67, allocations: 25.36 kB / 3.834 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/11.67, allocations: 10.94 kB / 3.834 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/11.67, allocations: 486.4 kB / 3.835 GB, free: 66.86 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.002236/11.67, allocations: 2.519 MB / 3.837 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/11.67, allocations: 0.558 MB / 3.838 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/11.67, allocations: 125.5 kB / 3.838 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05712/11.73, allocations: 31.98 MB / 3.869 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/11.73, allocations: 33.38 kB / 3.869 GB, free: 45.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.697e-06/11.73, allocations: 0 / 3.869 GB, free: 45.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.005254/11.73, allocations: 1.526 MB / 3.87 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/11.73, allocations: 116.5 kB / 3.871 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/11.73, allocations: 308.9 kB / 3.871 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/11.73, allocations: 31.84 kB / 3.871 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/11.73, allocations: 240.4 kB / 3.871 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/11.73, allocations: 113.8 kB / 3.871 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/11.73, allocations: 6.625 kB / 3.871 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001125/11.73, allocations: 353.3 kB / 3.872 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/11.73, allocations: 147 kB / 3.872 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/11.73, allocations: 209.5 kB / 3.872 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/11.73, allocations: 163.6 kB / 3.872 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/11.73, allocations: 0 / 3.872 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001526/11.74, allocations: 0.7114 MB / 3.873 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/11.74, allocations: 0.5263 MB / 3.873 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/11.74, allocations: 0 / 3.873 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/11.74, allocations: 0.4924 MB / 3.874 GB, free: 43.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/11.74, allocations: 34.23 kB / 3.874 GB, free: 43.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/11.74, allocations: 0.988 MB / 3.875 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/11.74, allocations: 50.78 kB / 3.875 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/11.74, allocations: 29.7 kB / 3.875 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/11.74, allocations: 2.875 kB / 3.875 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/11.74, allocations: 0.5915 MB / 3.875 GB, free: 42.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/11.74, allocations: 6.984 kB / 3.875 GB, free: 42.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/11.74, allocations: 436.6 kB / 3.876 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/11.74, allocations: 48.14 kB / 3.876 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/11.74, allocations: 0.9344 MB / 3.877 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/11.74, allocations: 58.3 kB / 3.877 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/11.74, allocations: 30.69 kB / 3.877 GB, free: 42.42 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 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {5 17} Notification: Performance of prepare postOptimizeDAE: time 0.000186/11.75, allocations: 122.2 kB / 3.877 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/11.75, allocations: 48.05 kB / 3.877 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/11.75, allocations: 3.319 MB / 3.88 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/11.75, allocations: 15.45 kB / 3.88 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/11.75, allocations: 0 / 3.88 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/11.75, allocations: 7.172 kB / 3.88 GB, free: 42.19 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.005213/11.75, allocations: 4.772 MB / 3.885 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/11.75, allocations: 0 / 3.885 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/11.76, allocations: 82.03 kB / 3.885 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/11.76, allocations: 1.474 MB / 3.886 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/11.76, allocations: 10.62 kB / 3.886 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/11.76, allocations: 2.776 MB / 3.889 GB, free: 38.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/11.76, allocations: 0 / 3.889 GB, free: 38.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/11.77, allocations: 4.342 MB / 3.893 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/11.77, allocations: 131.7 kB / 3.894 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/11.77, allocations: 7.375 kB / 3.894 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/11.77, allocations: 52.53 kB / 3.894 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/11.77, allocations: 19.16 kB / 3.894 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/11.77, allocations: 14.88 kB / 3.894 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002972/11.77, allocations: 242.7 kB / 3.894 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/11.77, allocations: 0 / 3.894 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00608/11.77, allocations: 1.002 MB / 3.895 GB, free: 38.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007578/11.78, allocations: 1.397 MB / 3.896 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002716/11.78, allocations: 0.7796 MB / 3.897 GB, free: 38.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/11.78, allocations: 0 / 3.897 GB, free: 38.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/11.78, allocations: 461 kB / 3.897 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/11.79, allocations: 229.5 kB / 3.898 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/11.79, allocations: 0.9526 MB / 3.899 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/11.79, allocations: 0.87 MB / 3.899 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003989/11.79, allocations: 123.1 kB / 3.9 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/11.79, allocations: 34.44 kB / 3.9 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/11.79, allocations: 0 / 3.9 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.056/11.84, allocations: 40.21 MB / 3.939 GB, free: 35.15 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)