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.002815/0.002815, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.003022/0.003022, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.392/1.392, allocations: 158.6 MB / 186.1 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2883/0.2883, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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 2.255e-06/2.255e-06, allocations: 3.984 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.696e-05, allocations: 13.69 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.07284/0.07287, allocations: 57.51 MB / 410.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.09009, allocations: 10.52 MB / 421.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007747/0.09086, allocations: 15.88 kB / 421.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.09195, allocations: 266 kB / 421.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.09301, allocations: 365.3 kB / 421.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0162/0.1092, allocations: 5.058 MB / 426.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.111, allocations: 1.004 MB / 427.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.1116, allocations: 281 kB / 428.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.1125, allocations: 0.4909 MB / 428.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.113, allocations: 307.1 kB / 428.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.635e-05/0.1131, allocations: 40 kB / 428.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.1271, allocations: 6.048 MB / 434.9 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.1274, allocations: 99.58 kB / 435 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.1278, allocations: 199.5 kB / 435.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2102/0.338, allocations: 4.903 MB / 440.1 MB, free: 26.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.338, allocations: 4.375 kB / 440.1 MB, free: 26.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3381, allocations: 0 / 440.1 MB, free: 26.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.3381, allocations: 0 / 440.1 MB, free: 26.33 MB / 362.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.005189/0.3433, allocations: 1.327 MB / 441.5 MB, free: 25.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3433, allocations: 11.44 kB / 441.5 MB, free: 25.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.3439, allocations: 166.9 kB / 441.6 MB, free: 25.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.3444, allocations: 326 kB / 442 MB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3444, allocations: 29.25 kB / 442 MB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.3445, allocations: 49.8 kB / 442 MB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.346, allocations: 0.7445 MB / 442.8 MB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.346, allocations: 3 kB / 442.8 MB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.3461, allocations: 22.34 kB / 442.8 MB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3461, allocations: 12.34 kB / 442.8 MB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3474, allocations: 0.5231 MB / 443.3 MB, free: 25.18 MB / 362.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.002012/0.3495, allocations: 1.723 MB / 445.1 MB, free: 24.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3507, allocations: 437.1 kB / 445.5 MB, free: 24.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.3509, allocations: 118.9 kB / 445.6 MB, free: 24.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05835/0.4093, allocations: 16.79 MB / 462.4 MB, free: 22.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.4093, allocations: 41.06 kB / 462.4 MB, free: 22.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.4093, allocations: 3 kB / 462.4 MB, free: 22.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.006062/0.4154, allocations: 1.74 MB / 464.2 MB, free: 22.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4154, allocations: 108.4 kB / 464.3 MB, free: 22.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.4158, allocations: 395.9 kB / 464.7 MB, free: 22.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.4158, allocations: 32.64 kB / 464.7 MB, free: 22.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.416, allocations: 307 kB / 465 MB, free: 22.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.4161, allocations: 121.7 kB / 465.1 MB, free: 21.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.4163, allocations: 108.5 kB / 465.2 MB, free: 21.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4164, allocations: 0.5326 MB / 465.8 MB, free: 21.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.4167, allocations: 195.4 kB / 466 MB, free: 21.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.4171, allocations: 344.3 kB / 466.3 MB, free: 21.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/0.4178, allocations: 476.2 kB / 466.8 MB, free: 21.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4178, allocations: 3.938 kB / 466.8 MB, free: 21.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001958/0.4197, allocations: 0.8354 MB / 467.6 MB, free: 21.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4197, allocations: 3.469 kB / 467.6 MB, free: 21.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4198, allocations: 3.531 kB / 467.6 MB, free: 21.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.422, allocations: 0.5571 MB / 468.2 MB, free: 21.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4222, allocations: 42.78 kB / 468.2 MB, free: 21.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.4236, allocations: 1.305 MB / 469.5 MB, free: 20.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.424, allocations: 16.69 kB / 469.5 MB, free: 20.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.424, allocations: 24.03 kB / 469.5 MB, free: 20.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004073/0.4244, allocations: 344.3 kB / 469.9 MB, free: 19.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003221/0.4248, allocations: 331.3 kB / 470.2 MB, free: 19.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005998/0.4254, allocations: 454.3 kB / 470.7 MB, free: 19.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.4254, allocations: 0 / 470.7 MB, free: 19.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001623/0.427, allocations: 0.7607 MB / 471.4 MB, free: 19.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.427, allocations: 11.94 kB / 471.4 MB, free: 19.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.427, allocations: 1.094 kB / 471.4 MB, free: 19.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.4285, allocations: 0.4926 MB / 471.9 MB, free: 18.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4286, allocations: 39.45 kB / 472 MB, free: 18.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.4303, allocations: 1.244 MB / 473.2 MB, free: 17.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.4306, allocations: 7.938 kB / 473.2 MB, free: 17.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.4306, allocations: 31.8 kB / 473.2 MB, free: 17.73 MB / 362.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 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.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.0002098/0.4309, allocations: 290.1 kB / 473.5 MB, free: 17.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.431, allocations: 49.94 kB / 473.6 MB, free: 17.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.4335, allocations: 1.855 MB / 475.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.4335, allocations: 15.23 kB / 475.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4335, allocations: 3.938 kB / 475.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4335, allocations: 7.984 kB / 475.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.4368, allocations: 2.805 MB / 478.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4368, allocations: 7.656 kB / 478.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.4373, allocations: 71.58 kB / 478.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.4392, allocations: 329 kB / 478.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.4393, allocations: 11.55 kB / 478.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.4421, allocations: 3.867 MB / 482.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4421, allocations: 0 / 482.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.4447, allocations: 2.496 MB / 485 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.4449, allocations: 39.66 kB / 485.1 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.4449, allocations: 4.688 kB / 485.1 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.4452, allocations: 27.62 kB / 485.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.4454, allocations: 29.33 kB / 485.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4454, allocations: 15.3 kB / 485.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.4456, allocations: 262 kB / 485.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4456, allocations: 0 / 485.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00459/0.4502, allocations: 0.9673 MB / 486.4 MB, free: 5.418 MB / 362.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.007016/0.4572, allocations: 1.093 MB / 487.5 MB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.4598, allocations: 0.8224 MB / 488.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.4598, allocations: 4 kB / 488.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.4612, allocations: 492.2 kB / 488.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.4625, allocations: 200.5 kB / 489 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4642, allocations: 1.125 MB / 490.1 MB, free: 2.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.4644, allocations: 259.5 kB / 490.3 MB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.4646, allocations: 98.8 kB / 490.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.4647, allocations: 28.5 kB / 490.5 MB, free: 1.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4647, allocations: 0 / 490.5 MB, free: 1.707 MB / 362.7 MB Notification: Performance of Templates: time 0.0731/0.5378, allocations: 40.1 MB / 0.5181 GB, free: 9.789 MB / 410.7 MB " [Timeout remaining time 659] 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: 7.770897923968732]