Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.0009089/0.0009089, 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.0009994/0.0009994, allocations: 176.9 kB / 24.92 MB, free: 8.734 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.8826/0.8826, allocations: 158.6 MB / 186.8 MB, free: 2.738 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.2002/0.2002, allocations: 36.34 MB / 275.5 MB, free: 10.53 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.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.508e-05, allocations: 2.312 kB / 305.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.01778/0.01779, allocations: 15.87 MB / 321.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.02833, allocations: 9.133 MB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.02877, allocations: 15.88 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.02921, allocations: 146.8 kB / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.0297, allocations: 369.2 kB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01043/0.04013, allocations: 4.544 MB / 335.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009282/0.04106, allocations: 0.9959 MB / 336.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.04145, allocations: 265.8 kB / 336.5 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.04191, allocations: 490.8 kB / 337 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.04221, allocations: 295.1 kB / 337.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.04225, allocations: 36 kB / 337.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.0533, allocations: 5.899 MB / 343.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.05344, allocations: 99.53 kB / 343.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.05372, allocations: 203.6 kB / 343.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.06414, allocations: 4.638 MB / 348.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.06415, allocations: 0 / 348.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.06415, allocations: 0 / 348.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.06417, allocations: 4 kB / 348.2 MB, free: 9.027 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.003208/0.06738, allocations: 1.163 MB / 349.3 MB, free: 7.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.06743, allocations: 8.031 kB / 349.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.06782, allocations: 148.8 kB / 349.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.06827, allocations: 289.3 kB / 349.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.0683, allocations: 37.31 kB / 349.8 MB, free: 7.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.06836, allocations: 44.33 kB / 349.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.06924, allocations: 0.6235 MB / 350.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.06925, allocations: 7.922 kB / 350.5 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.06928, allocations: 16 kB / 350.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.06929, allocations: 12 kB / 350.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.06983, allocations: 330.6 kB / 350.8 MB, free: 6.266 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.001318/0.07115, allocations: 1.132 MB / 352 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.07177, allocations: 361.3 kB / 352.3 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.07185, allocations: 56.84 kB / 352.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.104/0.1758, allocations: 58.26 MB / 410.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.1759, allocations: 34.56 kB / 410.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/0.1759, allocations: 0 / 410.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003875/0.1798, allocations: 1.203 MB / 411.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.1798, allocations: 110.8 kB / 412 MB, free: 8.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.18, allocations: 295.3 kB / 412.3 MB, free: 8.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1801, allocations: 33.7 kB / 412.3 MB, free: 8.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1802, allocations: 221.1 kB / 412.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.1803, allocations: 111 kB / 412.6 MB, free: 8.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1804, allocations: 89.58 kB / 412.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.1805, allocations: 346.7 kB / 413 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1806, allocations: 111.9 kB / 413.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1808, allocations: 221.9 kB / 413.4 MB, free: 7.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.1811, allocations: 292.7 kB / 413.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1811, allocations: 0 / 413.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007836/0.1819, allocations: 0.5288 MB / 414.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.1819, allocations: 8 kB / 414.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.1819, allocations: 3.984 kB / 414.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.183, allocations: 469.3 kB / 414.7 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1831, allocations: 35.98 kB / 414.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008152/0.1839, allocations: 0.8396 MB / 415.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1841, allocations: 8 kB / 415.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1841, allocations: 23.97 kB / 415.6 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001741/0.1843, allocations: 183.9 kB / 415.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001473/0.1844, allocations: 219 kB / 416 MB, free: 4.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002504/0.1847, allocations: 289.6 kB / 416.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.1847, allocations: 4 kB / 416.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0006311/0.1853, allocations: 497.9 kB / 416.7 MB, free: 3.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1853, allocations: 4 kB / 416.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1853, allocations: 4 kB / 416.7 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006993/0.186, allocations: 408.5 kB / 417.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.1861, allocations: 39.86 kB / 417.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007811/0.1869, allocations: 0.8096 MB / 418 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.187, allocations: 16 kB / 418 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1871, allocations: 11.98 kB / 418 MB, free: 2.664 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.0001476/0.1872, allocations: 204.1 kB / 418.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.1873, allocations: 35.95 kB / 418.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.1887, allocations: 1.611 MB / 419.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.1888, allocations: 15.92 kB / 419.9 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1888, allocations: 4 kB / 419.9 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1888, allocations: 4.062 kB / 419.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.1906, allocations: 2.064 MB / 421.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.1906, allocations: 7.984 kB / 421.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.1909, allocations: 67.89 kB / 422 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008555/0.1918, allocations: 298.8 kB / 422.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.1918, allocations: 8 kB / 422.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.1934, allocations: 2.425 MB / 424.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1934, allocations: 192 / 424.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.1951, allocations: 2.046 MB / 426.8 MB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1952, allocations: 47.59 kB / 426.8 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.1952, allocations: 4 kB / 426.8 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1954, allocations: 27.97 kB / 426.9 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.1955, allocations: 27.89 kB / 426.9 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1955, allocations: 7.984 kB / 426.9 MB, free: 9.539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1956, allocations: 108.7 kB / 427 MB, free: 9.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1956, allocations: 4 kB / 427 MB, free: 9.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002611/0.1982, allocations: 0.9633 MB / 428 MB, free: 8.465 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.002959/0.2012, allocations: 1.133 MB / 429.1 MB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.2024, allocations: 0.5747 MB / 429.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.2024, allocations: 4.062 kB / 429.7 MB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.2031, allocations: 338.9 kB / 430 MB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.2037, allocations: 201.3 kB / 430.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2054, allocations: 1.032 MB / 431.2 MB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.945e-05/0.2055, allocations: 126.8 kB / 431.4 MB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.2057, allocations: 90.88 kB / 431.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.2059, allocations: 157.3 kB / 431.6 MB, free: 4.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2059, allocations: 0 / 431.6 MB, free: 4.75 MB / 394.7 MB Notification: Performance of Templates: time 0.1809/0.3868, allocations: 44.59 MB / 476.2 MB, free: 132.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.74190297909081]