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.0009539/0.0009539, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009139/0.0009139, allocations: 165 kB / 24.56 MB, free: 12 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 0.7758/0.7758, allocations: 158.6 MB / 186.4 MB, free: 2.91 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.1547/0.1547, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.373e-06/1.373e-06, allocations: 0 / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.059e-05, allocations: 5.688 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.01193/0.01195, allocations: 15.9 MB / 369.7 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007343/0.01929, allocations: 9.157 MB / 378.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.01955, allocations: 15.88 kB / 378.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.01995, allocations: 142.8 kB / 379 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.02037, allocations: 369.3 kB / 379.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007428/0.0278, allocations: 4.511 MB / 383.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.02857, allocations: 0.9921 MB / 384.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.0289, allocations: 277.1 kB / 385.2 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.02927, allocations: 490.8 kB / 385.6 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.02957, allocations: 307.1 kB / 385.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.02961, allocations: 39.94 kB / 386 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006995/0.0366, allocations: 5.896 MB / 391.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.03668, allocations: 107.5 kB / 392 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.03684, allocations: 195.6 kB / 392.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004864/0.04171, allocations: 4.638 MB / 396.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.04171, allocations: 0 / 396.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.04171, allocations: 0 / 396.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.04172, allocations: 0 / 396.8 MB, free: 8.285 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001818/0.04354, allocations: 1.269 MB / 398.1 MB, free: 6.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.04358, allocations: 12.03 kB / 398.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.04393, allocations: 168.4 kB / 398.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.04429, allocations: 322.9 kB / 398.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.04432, allocations: 33.38 kB / 398.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.04437, allocations: 40.38 kB / 398.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009562/0.04533, allocations: 0.6819 MB / 399.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.04534, allocations: 3.938 kB / 399.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.04537, allocations: 16 kB / 399.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.04538, allocations: 8 kB / 399.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.04606, allocations: 420.6 kB / 399.8 MB, free: 5.207 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.00128/0.04734, allocations: 1.596 MB / 401.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.04803, allocations: 430.8 kB / 401.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.04813, allocations: 83.64 kB / 401.9 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0276/0.07574, allocations: 16.8 MB / 418.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.07577, allocations: 45.33 kB / 418.7 MB, free: 2.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.07577, allocations: 4 kB / 418.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.003109/0.07888, allocations: 1.557 MB / 420.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.07892, allocations: 114.8 kB / 420.4 MB, free: 424 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.07914, allocations: 338.8 kB / 420.7 MB, free: 72 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.07916, allocations: 29.7 kB / 420.7 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.07931, allocations: 303.2 kB / 421 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.07938, allocations: 115 kB / 421.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.07948, allocations: 99.31 kB / 421.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.07962, allocations: 0.5195 MB / 421.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.07981, allocations: 155.6 kB / 421.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.08003, allocations: 288.5 kB / 422.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.08041, allocations: 373.8 kB / 422.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.08042, allocations: 4 kB / 422.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001024/0.08144, allocations: 0.7342 MB / 423.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.08145, allocations: 4 kB / 423.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.08146, allocations: 4.156 kB / 423.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.08257, allocations: 0.5459 MB / 423.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.08265, allocations: 31.98 kB / 423.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008962/0.08354, allocations: 1.206 MB / 425.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.08366, allocations: 12 kB / 425.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.08369, allocations: 23.98 kB / 425.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002242/0.08392, allocations: 278.5 kB / 425.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002214/0.08414, allocations: 296.4 kB / 425.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000346/0.08449, allocations: 369.6 kB / 426 MB, free: 10.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.08449, allocations: 3.938 kB / 426 MB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0008727/0.08536, allocations: 0.6762 MB / 426.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.08537, allocations: 4 kB / 426.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.08537, allocations: 0 / 426.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/0.08615, allocations: 487.4 kB / 427.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.08623, allocations: 39.92 kB / 427.2 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009467/0.08718, allocations: 1.155 MB / 428.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.08729, allocations: 15.98 kB / 428.4 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.08731, allocations: 35.98 kB / 428.4 MB, free: 8.031 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.0001183/0.08743, allocations: 284 kB / 428.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.0875, allocations: 51.7 kB / 428.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.08925, allocations: 1.867 MB / 430.6 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.08926, allocations: 15.92 kB / 430.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.08926, allocations: 4 kB / 430.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.08927, allocations: 0 / 430.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.09149, allocations: 2.773 MB / 433.4 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.0915, allocations: 0 / 433.4 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.09177, allocations: 71.95 kB / 433.5 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009347/0.0927, allocations: 306.8 kB / 433.8 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.09272, allocations: 15.98 kB / 433.8 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.09464, allocations: 3.6 MB / 437.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09464, allocations: 0 / 437.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.09652, allocations: 2.481 MB / 439.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.09655, allocations: 43.61 kB / 439.9 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.09658, allocations: 8 kB / 439.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.09671, allocations: 19.97 kB / 440 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.09677, allocations: 23.95 kB / 440 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.09678, allocations: 19.92 kB / 440 MB, free: 12.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.09689, allocations: 235 kB / 440.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09689, allocations: 0 / 440.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001992/0.09889, allocations: 0.9633 MB / 441.2 MB, free: 10.91 MB / 378.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.002262/0.1011, allocations: 1.083 MB / 442.3 MB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.1023, allocations: 0.7052 MB / 443 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1023, allocations: 0 / 443 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.103, allocations: 447.8 kB / 443.4 MB, free: 8.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.1035, allocations: 196.8 kB / 443.6 MB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1049, allocations: 1.1 MB / 444.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.609e-05/0.105, allocations: 126.8 kB / 444.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1051, allocations: 90.88 kB / 444.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.1052, allocations: 28.5 kB / 445 MB, free: 7.055 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1052, allocations: 0 / 445 MB, free: 7.055 MB / 378.7 MB Notification: Performance of Templates: time 0.1549/0.2601, allocations: 46.64 MB / 491.6 MB, free: 59.11 MB / 378.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.934256868902594]