Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001313/0.001313, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001482/0.001482, allocations: 168.8 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8878/0.8878, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08687/0.08687, allocations: 19.74 MB / 281.6 MB, free: 9.156 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 305.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.185e-05, allocations: 5.078 kB / 305.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.02564/0.02566, allocations: 32.7 MB / 337.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.0364, allocations: 9.307 MB / 347.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/0.03689, allocations: 19.81 kB / 347.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.0375, allocations: 206.3 kB / 347.4 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007152/0.03822, allocations: 468.6 kB / 347.9 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01215/0.05036, allocations: 5.219 MB / 353.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.05187, allocations: 1.237 MB / 354.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.05236, allocations: 334.2 kB / 354.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.05301, allocations: 0.5962 MB / 355.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.05343, allocations: 350.9 kB / 355.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.05349, allocations: 47.94 kB / 355.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0094/0.06289, allocations: 5.908 MB / 361.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.06305, allocations: 119.5 kB / 361.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.06348, allocations: 239.5 kB / 361.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008528/0.07201, allocations: 4.72 MB / 366.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.07201, allocations: 0 / 366.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07202, allocations: 0 / 366.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.07203, allocations: 0 / 366.6 MB, free: 0.6445 MB / 330.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.002825/0.07485, allocations: 1.258 MB / 367.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.07489, allocations: 16.03 kB / 367.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.07534, allocations: 172.7 kB / 368.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.07583, allocations: 348.2 kB / 368.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.07586, allocations: 37.38 kB / 368.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.07593, allocations: 56.36 kB / 368.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.07701, allocations: 0.6628 MB / 369.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.07702, allocations: 0 / 369.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.07705, allocations: 20 kB / 369.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.07707, allocations: 12 kB / 369.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.07782, allocations: 340.9 kB / 369.5 MB, free: 13.63 MB / 346.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.001533/0.07935, allocations: 1.374 MB / 370.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.08015, allocations: 362.4 kB / 371.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.08023, allocations: 56.84 kB / 371.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1004/0.1806, allocations: 58.36 MB / 429.7 MB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1806, allocations: 38.55 kB / 429.7 MB, free: 1.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.1806, allocations: 0 / 429.7 MB, free: 1.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.003802/0.1844, allocations: 1.238 MB / 430.9 MB, free: 44 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.1845, allocations: 110.8 kB / 431 MB, free: 15.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1847, allocations: 319.3 kB / 431.4 MB, free: 15.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1847, allocations: 33.7 kB / 431.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1848, allocations: 261.2 kB / 431.6 MB, free: 15.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.1849, allocations: 114.9 kB / 431.8 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.185, allocations: 81.62 kB / 431.8 MB, free: 15.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003367/0.1853, allocations: 354.7 kB / 432.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1855, allocations: 113.2 kB / 432.3 MB, free: 14.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1856, allocations: 214.2 kB / 432.5 MB, free: 14.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1859, allocations: 286.5 kB / 432.8 MB, free: 14.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1859, allocations: 0 / 432.8 MB, free: 14.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007232/0.1866, allocations: 0.5174 MB / 433.3 MB, free: 13.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1866, allocations: 8 kB / 433.3 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1866, allocations: 0 / 433.3 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009991/0.1876, allocations: 477.9 kB / 433.8 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.1877, allocations: 39.92 kB / 433.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/0.1885, allocations: 1.344 MB / 435.2 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1887, allocations: 11.94 kB / 435.2 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1887, allocations: 11.98 kB / 435.2 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001732/0.1889, allocations: 180.1 kB / 435.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001444/0.189, allocations: 236.9 kB / 435.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002203/0.1892, allocations: 281.9 kB / 435.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.1892, allocations: 0 / 435.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0006151/0.1898, allocations: 0.4976 MB / 436.4 MB, free: 10.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1898, allocations: 11.94 kB / 436.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.1899, allocations: 0 / 436.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/0.1905, allocations: 417.3 kB / 436.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.1906, allocations: 31.98 kB / 436.8 MB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008032/0.1914, allocations: 1.307 MB / 438.1 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1915, allocations: 8 kB / 438.1 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.1915, allocations: 19.97 kB / 438.1 MB, free: 8.512 MB / 410.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 (mixer.fluidState.phase,pressDrop.state.phase,header.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.0001115/0.1917, allocations: 200.3 kB / 438.3 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1917, allocations: 39.91 kB / 438.4 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.1933, allocations: 1.632 MB / 440 MB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.1933, allocations: 11.98 kB / 440 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1933, allocations: 0 / 440 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1933, allocations: 3.984 kB / 440 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.1951, allocations: 2.092 MB / 442.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1951, allocations: 7.984 kB / 442.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.1952, allocations: 43.91 kB / 442.2 MB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009609/0.1961, allocations: 335.6 kB / 442.5 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1962, allocations: 8 kB / 442.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.1975, allocations: 2.376 MB / 444.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1975, allocations: 0 / 444.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1201/0.3176, allocations: 2.054 MB / 446.9 MB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3177, allocations: 47.72 kB / 447 MB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.3177, allocations: 8.531 kB / 447 MB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.3179, allocations: 18.62 kB / 447 MB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.318, allocations: 26.62 kB / 447 MB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.318, allocations: 10.3 kB / 447 MB, free: 120.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3181, allocations: 134 kB / 447.2 MB, free: 120.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3181, allocations: 0 / 447.2 MB, free: 120.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002054/0.3202, allocations: 0.9928 MB / 448.2 MB, free: 120.6 MB / 410.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.002461/0.3226, allocations: 1.144 MB / 449.3 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3238, allocations: 0.5723 MB / 449.9 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.3238, allocations: 4.844 kB / 449.9 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.3243, allocations: 325.3 kB / 450.2 MB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.3249, allocations: 232.5 kB / 450.4 MB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3265, allocations: 1.147 MB / 451.6 MB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3266, allocations: 134.1 kB / 451.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.3268, allocations: 98.22 kB / 451.8 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.3271, allocations: 169.1 kB / 452 MB, free: 119.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3271, allocations: 0 / 452 MB, free: 119.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03989/0.367, allocations: 45.54 MB / 497.5 MB, free: 86.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.279091842006892]