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.0009754/0.0009754, 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.001084/0.001084, allocations: 171.5 kB / 24.91 MB, free: 8.723 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.8905/0.8905, allocations: 158.6 MB / 186.8 MB, free: 2.328 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.1974/0.1974, allocations: 36.33 MB / 275.4 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.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.312e-06/1.312e-06, allocations: 0 / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.527e-05, allocations: 7.156 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.01567/0.01569, allocations: 15.87 MB / 321.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008085/0.02377, allocations: 9.136 MB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.02407, allocations: 15.88 kB / 330.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.0245, allocations: 142.8 kB / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.02497, allocations: 365.2 kB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009641/0.03461, allocations: 4.543 MB / 335.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000833/0.03544, allocations: 0.9881 MB / 336.2 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.03581, allocations: 285.8 kB / 336.5 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.03621, allocations: 486.8 kB / 337 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.0365, allocations: 295.1 kB / 337.3 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.03654, allocations: 40 kB / 337.3 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006446/0.04299, allocations: 5.892 MB / 343.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.04306, allocations: 111.5 kB / 343.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.0432, allocations: 195.6 kB / 343.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.04734, allocations: 4.638 MB / 348.2 MB, free: 9.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.04734, allocations: 0 / 348.2 MB, free: 9.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.04734, allocations: 0 / 348.2 MB, free: 9.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.04735, allocations: 0 / 348.2 MB, free: 9.023 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.001694/0.04904, allocations: 1.156 MB / 349.3 MB, free: 7.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.04908, allocations: 15.97 kB / 349.3 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.04939, allocations: 148.8 kB / 349.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.04969, allocations: 289.4 kB / 349.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.04972, allocations: 29.38 kB / 349.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.04977, allocations: 60.25 kB / 349.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007788/0.05055, allocations: 0.6118 MB / 350.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.05056, allocations: 7.938 kB / 350.5 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.05058, allocations: 16 kB / 350.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.05059, allocations: 8 kB / 350.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.05111, allocations: 326.6 kB / 350.8 MB, free: 6.273 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.001067/0.05218, allocations: 1.139 MB / 351.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.05278, allocations: 362.4 kB / 352.3 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.05285, allocations: 71.62 kB / 352.4 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09778/0.1506, allocations: 58.26 MB / 410.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1507, allocations: 34.56 kB / 410.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.1507, allocations: 0 / 410.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003565/0.1542, allocations: 1.214 MB / 411.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1543, allocations: 106.8 kB / 412 MB, free: 8.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1544, allocations: 287.3 kB / 412.3 MB, free: 8.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1545, allocations: 29.7 kB / 412.3 MB, free: 8.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.1546, allocations: 225.1 kB / 412.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.1546, allocations: 115 kB / 412.6 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.1547, allocations: 85.58 kB / 412.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1548, allocations: 350.7 kB / 413 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1549, allocations: 104.8 kB / 413.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1551, allocations: 221.9 kB / 413.4 MB, free: 7.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1553, allocations: 291.5 kB / 413.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1553, allocations: 0 / 413.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007334/0.1561, allocations: 0.5367 MB / 414.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1561, allocations: 4 kB / 414.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1561, allocations: 0 / 414.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009819/0.1571, allocations: 478.2 kB / 414.7 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.1572, allocations: 31.92 kB / 414.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000693/0.1579, allocations: 0.8378 MB / 415.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.158, allocations: 12 kB / 415.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.158, allocations: 19.98 kB / 415.6 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001583/0.1582, allocations: 186.6 kB / 415.7 MB, free: 5.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000149/0.1583, allocations: 219 kB / 416 MB, free: 4.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002313/0.1585, allocations: 285.5 kB / 416.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.1585, allocations: 0 / 416.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0006155/0.1592, allocations: 497.8 kB / 416.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.1592, allocations: 8.188 kB / 416.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.1592, allocations: 4 kB / 416.7 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/0.1598, allocations: 412.4 kB / 417.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.1599, allocations: 43.92 kB / 417.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.1606, allocations: 0.8018 MB / 418 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1607, allocations: 19.92 kB / 418 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.1608, allocations: 15.98 kB / 418 MB, free: 2.656 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.0001171/0.1609, allocations: 196.2 kB / 418.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.1609, allocations: 31.97 kB / 418.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.1623, allocations: 1.626 MB / 419.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.1624, allocations: 11.92 kB / 419.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1624, allocations: 0 / 419.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1624, allocations: 4.094 kB / 419.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.1642, allocations: 2.068 MB / 421.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1642, allocations: 0 / 421.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.1644, allocations: 79.88 kB / 422 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008356/0.1653, allocations: 294.8 kB / 422.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1653, allocations: 4 kB / 422.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.1667, allocations: 2.422 MB / 424.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1667, allocations: 0 / 424.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.1683, allocations: 2.05 MB / 426.8 MB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1684, allocations: 43.61 kB / 426.8 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1684, allocations: 8 kB / 426.8 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1685, allocations: 19.97 kB / 426.9 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.1686, allocations: 27.94 kB / 426.9 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1686, allocations: 8 kB / 426.9 MB, free: 9.543 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.242e-05/0.1687, allocations: 112.7 kB / 427 MB, free: 9.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1687, allocations: 0 / 427 MB, free: 9.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002189/0.1709, allocations: 0.9672 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.002266/0.1732, allocations: 1.14 MB / 429.1 MB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.1741, allocations: 0.5667 MB / 429.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.1741, allocations: 4 kB / 429.7 MB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.1747, allocations: 343.2 kB / 430 MB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1752, allocations: 200.4 kB / 430.2 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1767, allocations: 1.035 MB / 431.2 MB, free: 5.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.1768, allocations: 126.8 kB / 431.4 MB, free: 4.988 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.1769, allocations: 98.75 kB / 431.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.1772, allocations: 161.3 kB / 431.6 MB, free: 4.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1772, allocations: 0 / 431.6 MB, free: 4.73 MB / 394.7 MB Notification: Performance of Templates: time 0.1717/0.3489, allocations: 44.58 MB / 476.2 MB, free: 132.6 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.585529880132526]