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.001009/0.001008, allocations: 175.8 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.537/1.537, allocations: 205.4 MB / 223.5 MB, free: 8.934 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.00081/0.0008102, allocations: 84.98 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4871/0.4871, allocations: 48.79 MB / 369 MB, free: 47.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005953/0.0005953, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1347, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.006/7.141, allocations: 2.994 GB / 3.482 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/7.142, allocations: 91.81 kB / 3.482 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.178/9.319, allocations: 458.6 MB / 3.93 GB, free: 48.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.278e-06/9.319, allocations: 0 / 3.93 GB, free: 48.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001256/9.32, allocations: 24.92 kB / 3.93 GB, free: 48.23 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.007152/9.327, allocations: 1.283 MB / 3.931 GB, free: 47.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/9.327, allocations: 11.88 kB / 3.931 GB, free: 47.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008668/9.328, allocations: 124.1 kB / 3.932 GB, free: 47.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/9.329, allocations: 0.4906 MB / 3.932 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/9.329, allocations: 35.19 kB / 3.932 GB, free: 47.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/9.329, allocations: 48.03 kB / 3.932 GB, free: 47.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/9.331, allocations: 0.7735 MB / 3.933 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/9.331, allocations: 3.656 kB / 3.933 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/9.332, allocations: 29.12 kB / 3.933 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/9.332, allocations: 10.66 kB / 3.933 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/9.333, allocations: 0.5209 MB / 3.933 GB, free: 47.19 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.003401/9.336, allocations: 2.661 MB / 3.936 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/9.338, allocations: 0.5656 MB / 3.937 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/9.338, allocations: 125.2 kB / 3.937 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06448/9.402, allocations: 31.86 MB / 3.968 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/9.403, allocations: 36.22 kB / 3.968 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 4.248e-06/9.403, allocations: 0 / 3.968 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.007477/9.41, allocations: 1.863 MB / 3.97 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/9.41, allocations: 109.6 kB / 3.97 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/9.411, allocations: 455.1 kB / 3.97 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/9.411, allocations: 39.2 kB / 3.97 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/9.411, allocations: 266.2 kB / 3.97 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/9.412, allocations: 114.5 kB / 3.971 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/9.412, allocations: 8.75 kB / 3.971 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001741/9.412, allocations: 361.7 kB / 3.971 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/9.412, allocations: 157.3 kB / 3.971 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/9.413, allocations: 223.6 kB / 3.971 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/9.414, allocations: 384.7 kB / 3.972 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/9.414, allocations: 3 kB / 3.972 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002336/9.416, allocations: 0.7551 MB / 3.972 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001791/9.418, allocations: 125.9 kB / 3.973 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/9.418, allocations: 1.375 kB / 3.973 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/9.421, allocations: 0.529 MB / 3.973 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/9.421, allocations: 30.41 kB / 3.973 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/9.423, allocations: 1.516 MB / 3.975 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008821/9.424, allocations: 55.89 kB / 3.975 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/9.424, allocations: 29.95 kB / 3.975 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/9.424, allocations: 7.75 kB / 3.975 GB, free: 38.92 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002174/9.427, allocations: 0.6176 MB / 3.975 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/9.427, allocations: 0 / 3.975 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/9.429, allocations: 459.5 kB / 3.976 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/9.429, allocations: 44.55 kB / 3.976 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/9.431, allocations: 1.442 MB / 3.977 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/9.432, allocations: 59.83 kB / 3.977 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/9.432, allocations: 23.27 kB / 3.977 GB, free: 37.84 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.0005986/9.433, allocations: 247.5 kB / 3.977 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/9.433, allocations: 57.91 kB / 3.978 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/9.438, allocations: 2.978 MB / 3.98 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/9.438, allocations: 8.547 kB / 3.98 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/9.438, allocations: 0.7188 kB / 3.98 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/9.438, allocations: 2.062 kB / 3.98 GB, free: 37.5 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.005892/9.444, allocations: 4.447 MB / 3.985 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/9.444, allocations: 7.156 kB / 3.985 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/9.444, allocations: 40.41 kB / 3.985 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002878/9.447, allocations: 1.199 MB / 3.986 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/9.447, allocations: 10.91 kB / 3.986 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/9.451, allocations: 2.734 MB / 3.989 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/9.451, allocations: 0 / 3.989 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/9.456, allocations: 3.906 MB / 3.992 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/9.456, allocations: 135.6 kB / 3.993 GB, free: 33.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/9.456, allocations: 10.02 kB / 3.993 GB, free: 33.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/9.457, allocations: 56.06 kB / 3.993 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/9.457, allocations: 15.09 kB / 3.993 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/9.457, allocations: 14.53 kB / 3.993 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004582/9.457, allocations: 314.5 kB / 3.993 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/9.457, allocations: 0 / 3.993 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005638/9.463, allocations: 1.047 MB / 3.994 GB, free: 33.71 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.006972/9.47, allocations: 1.502 MB / 3.995 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002545/9.473, allocations: 0.8095 MB / 3.996 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/9.473, allocations: 0 / 3.996 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/9.474, allocations: 475.4 kB / 3.997 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/9.476, allocations: 305.9 kB / 3.997 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/9.478, allocations: 1.642 MB / 3.999 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/9.479, allocations: 0.8858 MB / 3.999 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004294/9.479, allocations: 125.4 kB / 4 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/9.479, allocations: 44.75 kB / 4 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.684e-06/9.479, allocations: 0 / 4 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.05691/9.536, allocations: 42.85 MB / 4.042 GB, free: 29.27 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)