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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8499/0.8499, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1839/0.1839, allocations: 36.34 MB / 275.4 MB, free: 10.73 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.278e-05, allocations: 3.438 kB / 353.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.05047/0.0505, allocations: 74.61 MB / 428.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1435/0.194, allocations: 10.67 MB / 439.1 MB, free: 17.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.1945, allocations: 21.41 kB / 439.1 MB, free: 17.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007452/0.1952, allocations: 332.7 kB / 439.4 MB, free: 17.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006107/0.1959, allocations: 458.9 kB / 439.9 MB, free: 17.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009617/0.2055, allocations: 5.386 MB / 445.2 MB, free: 17.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.2066, allocations: 1.241 MB / 446.5 MB, free: 16.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.207, allocations: 332.8 kB / 446.8 MB, free: 16.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.2077, allocations: 0.6179 MB / 447.4 MB, free: 16.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.2082, allocations: 368.5 kB / 447.8 MB, free: 16.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.2082, allocations: 43.88 kB / 447.8 MB, free: 16.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00761/0.2158, allocations: 6.064 MB / 453.9 MB, free: 16.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.2159, allocations: 121.8 kB / 454 MB, free: 16.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.2162, allocations: 239.8 kB / 454.2 MB, free: 16.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005897/0.2221, allocations: 4.85 MB / 459.1 MB, free: 16.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2221, allocations: 0 / 459.1 MB, free: 16.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2221, allocations: 3.406 kB / 459.1 MB, free: 16.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2221, allocations: 0 / 459.1 MB, free: 16.06 MB / 362.7 MB 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.002438/0.2245, allocations: 1.399 MB / 460.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2246, allocations: 9.656 kB / 460.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.225, allocations: 178.3 kB / 460.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.2254, allocations: 397 kB / 461.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.2254, allocations: 40.59 kB / 461.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.2255, allocations: 58.08 kB / 461.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/0.2264, allocations: 0.7156 MB / 461.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2264, allocations: 5.469 kB / 461.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.2264, allocations: 23.91 kB / 461.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2264, allocations: 10.19 kB / 461.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.2272, allocations: 444.5 kB / 462.4 MB, free: 14.36 MB / 362.7 MB 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.001239/0.2284, allocations: 1.964 MB / 464.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/0.2291, allocations: 420.8 kB / 464.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2292, allocations: 85.62 kB / 464.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02725/0.2565, allocations: 16.81 MB / 481.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.2565, allocations: 41.14 kB / 481.7 MB, free: 3.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.855e-06/0.2565, allocations: 0 / 481.7 MB, free: 3.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003255/0.2598, allocations: 1.61 MB / 483.3 MB, free: 2.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2598, allocations: 106.8 kB / 483.4 MB, free: 2.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.26, allocations: 380.6 kB / 483.7 MB, free: 1.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2601, allocations: 34.52 kB / 483.8 MB, free: 1.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2602, allocations: 351.3 kB / 484.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.2602, allocations: 115.2 kB / 484.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.2603, allocations: 96.44 kB / 484.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.2604, allocations: 0.5288 MB / 484.9 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2605, allocations: 146.5 kB / 485 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2607, allocations: 287.2 kB / 485.3 MB, free: 324 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.261, allocations: 375.6 kB / 485.6 MB, free: 0 / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.261, allocations: 0 / 485.6 MB, free: 0 / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001088/0.2621, allocations: 0.7279 MB / 486.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2622, allocations: 10.75 kB / 486.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2622, allocations: 4 kB / 486.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.2634, allocations: 0.5336 MB / 486.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.2635, allocations: 27.98 kB / 486.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.2647, allocations: 1.988 MB / 488.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2648, allocations: 10.06 kB / 488.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.2648, allocations: 23.92 kB / 489 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002471/0.2651, allocations: 277.5 kB / 489.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002167/0.2653, allocations: 289.2 kB / 489.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003618/0.2657, allocations: 372.4 kB / 489.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.2657, allocations: 0 / 489.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001167/0.2668, allocations: 0.6953 MB / 490.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.2668, allocations: 4 kB / 490.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2668, allocations: 4 kB / 490.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007823/0.2676, allocations: 485.8 kB / 491.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.2677, allocations: 38.52 kB / 491.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.2688, allocations: 1.928 MB / 493 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2689, allocations: 12.98 kB / 493 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.269, allocations: 31.17 kB / 493.1 MB, free: 8.934 MB / 378.7 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.2691, allocations: 286.2 kB / 493.4 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.2692, allocations: 61.97 kB / 493.4 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.2709, allocations: 1.88 MB / 495.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.2709, allocations: 11.55 kB / 495.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2709, allocations: 0 / 495.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2709, allocations: 3.938 kB / 495.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.2735, allocations: 2.82 MB / 498.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2735, allocations: 3.938 kB / 498.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.2736, allocations: 41.33 kB / 498.2 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.2747, allocations: 343.9 kB / 498.5 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.2747, allocations: 7.125 kB / 498.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.2766, allocations: 3.528 MB / 0.4903 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2766, allocations: 0 / 0.4903 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.2786, allocations: 2.485 MB / 0.4927 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.2787, allocations: 54.27 kB / 0.4928 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.2787, allocations: 8.812 kB / 0.4928 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2789, allocations: 18.59 kB / 0.4928 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.2789, allocations: 24.77 kB / 0.4928 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2789, allocations: 7.625 kB / 0.4928 GB, free: 13.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.2791, allocations: 264.2 kB / 0.4931 GB, free: 13.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2791, allocations: 4 kB / 0.4931 GB, free: 13.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00254/0.2816, allocations: 0.9849 MB / 0.494 GB, free: 12.57 MB / 394.7 MB 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002953/0.2846, allocations: 1.093 MB / 0.4951 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.2859, allocations: 0.7169 MB / 0.4958 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2859, allocations: 0 / 0.4958 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.2865, allocations: 418.8 kB / 0.4962 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.2872, allocations: 233.2 kB / 0.4964 GB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.289, allocations: 1.195 MB / 0.4976 GB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.563e-05/0.289, allocations: 130.8 kB / 0.4977 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.2892, allocations: 103.2 kB / 0.4978 GB, free: 8.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.2893, allocations: 32.5 kB / 0.4978 GB, free: 8.926 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2893, allocations: 0 / 0.4978 GB, free: 8.926 MB / 394.7 MB Notification: Performance of Templates: time 0.04627/0.3356, allocations: 40.89 MB / 0.5378 GB, free: 188 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.417230360908434]