Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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.001505/0.001505, allocations: 80.8 kB / 21.5 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.001589/0.001589, allocations: 169.4 kB / 24.91 MB, free: 8.77 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 1.036/1.036, allocations: 158.6 MB / 186.8 MB, free: 2.324 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.2026/0.2026, allocations: 36.34 MB / 275.4 MB, free: 10.52 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.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.721e-05, allocations: 3.188 kB / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.01999/0.02001, allocations: 15.92 MB / 321.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009946/0.02996, allocations: 9.154 MB / 330.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.0305, allocations: 11.88 kB / 330.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.03109, allocations: 142.8 kB / 330.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.03175, allocations: 361.3 kB / 330.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.04361, allocations: 4.089 MB / 334.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.0449, allocations: 0.9959 MB / 335.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.0454, allocations: 265.8 kB / 336.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.04605, allocations: 486.8 kB / 336.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.04647, allocations: 291.1 kB / 336.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.04653, allocations: 36 kB / 337 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.05733, allocations: 6.313 MB / 343.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.05748, allocations: 107.5 kB / 343.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.05783, allocations: 199.5 kB / 343.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009273/0.0671, allocations: 4.634 MB / 348.2 MB, free: 9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.0671, allocations: 3.938 kB / 348.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.06711, allocations: 0 / 348.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.06712, allocations: 0 / 348.2 MB, free: 8.996 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00251/0.06963, allocations: 1.152 MB / 349.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.06967, allocations: 12.03 kB / 349.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.0701, allocations: 161.2 kB / 349.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.07046, allocations: 289.4 kB / 349.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.07048, allocations: 29.38 kB / 349.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.07053, allocations: 48.33 kB / 349.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.07137, allocations: 0.6196 MB / 350.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.07138, allocations: 11.88 kB / 350.5 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.07141, allocations: 16 kB / 350.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.07142, allocations: 11.81 kB / 350.5 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.072, allocations: 326.6 kB / 350.9 MB, free: 6.242 MB / 314.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.001245/0.07324, allocations: 1.139 MB / 352 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.07387, allocations: 353.7 kB / 352.3 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.07394, allocations: 67.62 kB / 352.4 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1067/0.1807, allocations: 58.25 MB / 410.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.1807, allocations: 38.5 kB / 410.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.344e-06/0.1807, allocations: 4 kB / 410.7 MB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.00394/0.1847, allocations: 1.207 MB / 411.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.1847, allocations: 106.8 kB / 412 MB, free: 8.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1849, allocations: 291.3 kB / 412.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.185, allocations: 29.7 kB / 412.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1851, allocations: 217.1 kB / 412.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/0.1852, allocations: 115 kB / 412.7 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1853, allocations: 85.58 kB / 412.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004255/0.1857, allocations: 354.7 kB / 413.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1858, allocations: 100.6 kB / 413.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.186, allocations: 228.6 kB / 413.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1863, allocations: 292.8 kB / 413.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1863, allocations: 0 / 413.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008065/0.1871, allocations: 0.5365 MB / 414.2 MB, free: 6.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1871, allocations: 4.156 kB / 414.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1871, allocations: 7.938 kB / 414.2 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.1882, allocations: 477.1 kB / 414.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.1883, allocations: 31.98 kB / 414.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007827/0.1891, allocations: 0.8435 MB / 415.6 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1893, allocations: 12 kB / 415.6 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.1893, allocations: 11.98 kB / 415.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001865/0.1895, allocations: 192.1 kB / 415.8 MB, free: 4.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001548/0.1896, allocations: 222.8 kB / 416 MB, free: 4.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002435/0.1899, allocations: 277.6 kB / 416.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.1899, allocations: 0 / 416.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.000639/0.1905, allocations: 0.4901 MB / 416.8 MB, free: 3.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1905, allocations: 4 kB / 416.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1905, allocations: 4 kB / 416.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.1913, allocations: 408.5 kB / 417.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.1914, allocations: 47.92 kB / 417.2 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007623/0.1921, allocations: 0.8018 MB / 418 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1922, allocations: 12 kB / 418 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.1923, allocations: 19.98 kB / 418.1 MB, free: 2.629 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 (Mixer1.fluidState.phase,PressDrop1.state.phase,Header1.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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.1924, allocations: 196.2 kB / 418.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.1925, allocations: 35.95 kB / 418.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.194, allocations: 1.615 MB / 419.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.194, allocations: 19.92 kB / 419.9 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.194, allocations: 4.062 kB / 419.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.194, allocations: 0 / 419.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.1963, allocations: 2.072 MB / 422 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1963, allocations: 0 / 422 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.1966, allocations: 71.94 kB / 422.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000905/0.1975, allocations: 298.7 kB / 422.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1975, allocations: 15.98 kB / 422.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.1991, allocations: 2.419 MB / 424.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1991, allocations: 0 / 424.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.2008, allocations: 2.054 MB / 426.8 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.2008, allocations: 43.61 kB / 426.9 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.2009, allocations: 12 kB / 426.9 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.201, allocations: 19.91 kB / 426.9 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.2011, allocations: 31.94 kB / 426.9 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2011, allocations: 4 kB / 426.9 MB, free: 9.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.306e-05/0.2012, allocations: 108.7 kB / 427.1 MB, free: 9.395 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2012, allocations: 0 / 427.1 MB, free: 9.395 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003055/0.2042, allocations: 0.9711 MB / 428 MB, free: 8.422 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {2, 1} * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0031/0.2073, allocations: 1.14 MB / 429.2 MB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.2084, allocations: 0.5706 MB / 429.7 MB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.2084, allocations: 4 kB / 429.7 MB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.2091, allocations: 343.2 kB / 430.1 MB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.2096, allocations: 200.6 kB / 430.3 MB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.2112, allocations: 1.039 MB / 431.3 MB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.2113, allocations: 126.8 kB / 431.4 MB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.2115, allocations: 90.86 kB / 431.5 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.2117, allocations: 161.3 kB / 431.7 MB, free: 4.688 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2117, allocations: 0 / 431.7 MB, free: 4.688 MB / 394.7 MB Notification: Performance of Templates: time 0.1995/0.4112, allocations: 44.62 MB / 476.3 MB, free: 132.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.993804675992578]