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.001191/0.001191, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.648/1.648, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008802/0.0008802, allocations: 88.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5591/0.5591, allocations: 48.77 MB / 367.9 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 8 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.947/8.1, allocations: 2.993 GB / 3.481 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/8.1, allocations: 87.95 kB / 3.481 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.407/10.51, allocations: 458.7 MB / 3.929 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.617e-06/10.51, allocations: 1.219 kB / 3.929 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.204e-05/10.51, allocations: 20 kB / 3.929 GB, free: 47.32 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.006996/10.51, allocations: 1.29 MB / 3.93 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.154e-05/10.51, allocations: 8.656 kB / 3.93 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/10.52, allocations: 127.3 kB / 3.93 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/10.52, allocations: 475.2 kB / 3.931 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/10.52, allocations: 39.52 kB / 3.931 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/10.52, allocations: 50.16 kB / 3.931 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/10.52, allocations: 0.7705 MB / 3.931 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/10.52, allocations: 3.062 kB / 3.931 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/10.52, allocations: 24.7 kB / 3.931 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/10.52, allocations: 11.31 kB / 3.931 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/10.52, allocations: 0.5217 MB / 3.932 GB, free: 46.29 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.002767/10.52, allocations: 2.654 MB / 3.935 GB, free: 44.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/10.52, allocations: 0.5636 MB / 3.935 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06103/10.58, allocations: 31.86 MB / 3.966 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/10.58, allocations: 38.84 kB / 3.966 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.697e-06/10.58, allocations: 0 / 3.966 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.006709/10.59, allocations: 1.851 MB / 3.968 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001598/10.59, allocations: 111.2 kB / 3.968 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/10.59, allocations: 398.4 kB / 3.969 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/10.59, allocations: 32.02 kB / 3.969 GB, free: 39.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/10.59, allocations: 274 kB / 3.969 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/10.59, allocations: 114.5 kB / 3.969 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/10.59, allocations: 3.875 kB / 3.969 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002174/10.59, allocations: 370 kB / 3.969 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/10.59, allocations: 159.1 kB / 3.969 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/10.6, allocations: 217 kB / 3.97 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/10.6, allocations: 174.8 kB / 3.97 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/10.6, allocations: 3.469 kB / 3.97 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002124/10.6, allocations: 0.7501 MB / 3.971 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003619/10.6, allocations: 0.5292 MB / 3.971 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/10.6, allocations: 1.25 kB / 3.971 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/10.6, allocations: 0.5031 MB / 3.972 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/10.6, allocations: 42.5 kB / 3.972 GB, free: 38.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/10.6, allocations: 1.501 MB / 3.973 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/10.6, allocations: 64.55 kB / 3.973 GB, free: 37.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/10.6, allocations: 23.23 kB / 3.973 GB, free: 37.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/10.6, allocations: 4.062 kB / 3.973 GB, free: 37.69 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002202/10.61, allocations: 0.6234 MB / 3.974 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/10.61, allocations: 2.422 kB / 3.974 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/10.61, allocations: 460.1 kB / 3.974 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/10.61, allocations: 40.52 kB / 3.974 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/10.61, allocations: 1.435 MB / 3.976 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/10.61, allocations: 56.06 kB / 3.976 GB, free: 36.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/10.61, allocations: 25.7 kB / 3.976 GB, free: 36.6 MB / 0.5261 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 () * Number of clocked 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.000717/10.61, allocations: 246.2 kB / 3.976 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/10.61, allocations: 53.95 kB / 3.976 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007129/10.62, allocations: 2.97 MB / 3.979 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/10.62, allocations: 15.38 kB / 3.979 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/10.62, allocations: 4.406 kB / 3.979 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/10.62, allocations: 3 kB / 3.979 GB, free: 36.26 MB / 0.5261 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 postOpt removeSimpleEquations (simulation): time 0.00833/10.63, allocations: 4.455 MB / 3.983 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/10.63, allocations: 3.938 kB / 3.983 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/10.63, allocations: 53.05 kB / 3.983 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/10.63, allocations: 1.186 MB / 3.984 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/10.63, allocations: 13.78 kB / 3.985 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003617/10.64, allocations: 2.75 MB / 3.987 GB, free: 33.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/10.64, allocations: 7.766 kB / 3.987 GB, free: 33.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/10.64, allocations: 3.909 MB / 3.991 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/10.64, allocations: 130.2 kB / 3.991 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/10.64, allocations: 10.34 kB / 3.991 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/10.64, allocations: 53.23 kB / 3.991 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/10.64, allocations: 18.38 kB / 3.991 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/10.64, allocations: 13.83 kB / 3.991 GB, free: 32.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004741/10.64, allocations: 314.8 kB / 3.992 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/10.64, allocations: 0 / 3.992 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006559/10.65, allocations: 1.047 MB / 3.993 GB, free: 32.45 MB / 0.5261 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 () * Number of clocked 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.008804/10.66, allocations: 1.51 MB / 3.994 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002963/10.66, allocations: 0.8106 MB / 3.995 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/10.66, allocations: 0.75 kB / 3.995 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/10.66, allocations: 472.6 kB / 3.995 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/10.66, allocations: 302.4 kB / 3.996 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/10.67, allocations: 1.64 MB / 3.997 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/10.67, allocations: 0.9 MB / 3.998 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005909/10.67, allocations: 115.1 kB / 3.998 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/10.67, allocations: 44.25 kB / 3.998 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of SimCode: time 2.956e-06/10.67, allocations: 0 / 3.998 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.06897/10.74, allocations: 40.96 MB / 4.038 GB, free: 28.1 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)