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.000972/0.000972, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001066/0.001066, allocations: 170.8 kB / 24.91 MB, free: 9.156 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.8641/0.8641, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.2015/0.2015, allocations: 36.35 MB / 275.5 MB, free: 10.55 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.392e-06/1.392e-06, allocations: 0 / 305.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.337e-05, allocations: 4.125 kB / 305.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.0441/0.04412, allocations: 32.61 MB / 337.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.05459, allocations: 9.3 MB / 347.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.05506, allocations: 19.81 kB / 347.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.05562, allocations: 222.2 kB / 347.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000613/0.05623, allocations: 444.8 kB / 347.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01342/0.06965, allocations: 5.21 MB / 353 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.07129, allocations: 1.237 MB / 354.2 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006042/0.07189, allocations: 334.2 kB / 354.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.0726, allocations: 0.6001 MB / 355.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.07304, allocations: 350.9 kB / 355.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.07311, allocations: 44 kB / 355.5 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00859/0.0817, allocations: 5.915 MB / 361.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.08182, allocations: 119.5 kB / 361.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.08216, allocations: 243.5 kB / 361.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007848/0.09001, allocations: 4.7 MB / 366.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.09001, allocations: 0 / 366.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09002, allocations: 0 / 366.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.09003, allocations: 0 / 366.5 MB, free: 6.652 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.002917/0.09295, allocations: 1.249 MB / 367.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.09299, allocations: 12.03 kB / 367.8 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.09348, allocations: 168.7 kB / 367.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.094, allocations: 344.2 kB / 368.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.09403, allocations: 41.38 kB / 368.3 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.0941, allocations: 60.31 kB / 368.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.09522, allocations: 0.6528 MB / 369 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.09523, allocations: 3.938 kB / 369 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.09527, allocations: 24 kB / 369 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.09528, allocations: 12 kB / 369 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.09605, allocations: 346.6 kB / 369.4 MB, free: 3.656 MB / 330.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.001587/0.09764, allocations: 1.378 MB / 370.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.09845, allocations: 359.3 kB / 371.1 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.09853, allocations: 60.84 kB / 371.2 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1148/0.2133, allocations: 58.27 MB / 429.4 MB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.2133, allocations: 34.56 kB / 429.5 MB, free: 7.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.2133, allocations: 0 / 429.5 MB, free: 7.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.00363/0.217, allocations: 1.23 MB / 430.7 MB, free: 6.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.217, allocations: 106.8 kB / 430.8 MB, free: 6.043 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.2172, allocations: 327.2 kB / 431.1 MB, free: 5.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2172, allocations: 33.7 kB / 431.2 MB, free: 5.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2174, allocations: 257.2 kB / 431.4 MB, free: 5.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.2174, allocations: 111 kB / 431.5 MB, free: 5.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.2175, allocations: 89.58 kB / 431.6 MB, free: 5.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.2176, allocations: 354.7 kB / 432 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2177, allocations: 104.8 kB / 432.1 MB, free: 4.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2179, allocations: 225.1 kB / 432.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.2181, allocations: 288.6 kB / 432.6 MB, free: 4.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2181, allocations: 4 kB / 432.6 MB, free: 4.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007422/0.2189, allocations: 0.5179 MB / 433.1 MB, free: 3.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2189, allocations: 4 kB / 433.1 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2189, allocations: 0 / 433.1 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/0.2199, allocations: 471.2 kB / 433.5 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.22, allocations: 35.92 kB / 433.6 MB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.2211, allocations: 1.358 MB / 434.9 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2212, allocations: 8 kB / 434.9 MB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.2213, allocations: 15.98 kB / 435 MB, free: 1.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001692/0.2214, allocations: 187.8 kB / 435.1 MB, free: 1.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001385/0.2216, allocations: 219 kB / 435.4 MB, free: 1.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002302/0.2218, allocations: 273.8 kB / 435.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.2218, allocations: 0 / 435.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0006266/0.2224, allocations: 0.5143 MB / 436.1 MB, free: 480 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2224, allocations: 8 kB / 436.2 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.2224, allocations: 0 / 436.2 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/0.2231, allocations: 401.4 kB / 436.5 MB, free: 64 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.2232, allocations: 47.86 kB / 436.6 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008835/0.2241, allocations: 1.3 MB / 437.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2242, allocations: 11.94 kB / 437.9 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2242, allocations: 27.91 kB / 437.9 MB, free: 14.62 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.0001296/0.2244, allocations: 201.5 kB / 438.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.2244, allocations: 31.97 kB / 438.2 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.2258, allocations: 1.631 MB / 439.8 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.2258, allocations: 7.984 kB / 439.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2259, allocations: 0 / 439.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2259, allocations: 3.984 kB / 439.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.2278, allocations: 2.104 MB / 441.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2278, allocations: 0 / 441.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.77e-05/0.2279, allocations: 39.97 kB / 441.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.2292, allocations: 335.6 kB / 442.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.2292, allocations: 8 kB / 442.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.2307, allocations: 2.361 MB / 444.6 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2307, allocations: 0 / 444.6 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.2323, allocations: 2.066 MB / 446.7 MB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.2323, allocations: 47.61 kB / 446.8 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.2324, allocations: 4 kB / 446.8 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2325, allocations: 19.97 kB / 446.8 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.2326, allocations: 31.83 kB / 446.8 MB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2326, allocations: 7.984 kB / 446.8 MB, free: 5.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2327, allocations: 140.7 kB / 447 MB, free: 5.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2327, allocations: 0 / 447 MB, free: 5.355 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002212/0.2349, allocations: 0.9868 MB / 447.9 MB, free: 4.367 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.002837/0.2377, allocations: 1.144 MB / 449.1 MB, free: 3.211 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.239, allocations: 0.5719 MB / 449.7 MB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.2391, allocations: 4 kB / 449.7 MB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.2395, allocations: 327.2 kB / 450 MB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.2401, allocations: 228.8 kB / 450.2 MB, free: 2.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2419, allocations: 1.129 MB / 451.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.242, allocations: 134.8 kB / 451.5 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.2422, allocations: 103.1 kB / 451.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.2425, allocations: 177.2 kB / 451.7 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of SimCode: time 2.495e-06/0.2425, allocations: 0 / 451.7 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of Templates: time 0.185/0.4275, allocations: 45.42 MB / 497.2 MB, free: 117.7 MB / 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.699821476824582]