Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111 kB / 17.74 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 188.4 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.248/0.248, allocations: 48.84 MB / 320.7 MB, free: 10.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.89 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09891, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.2576/0.3566, allocations: 72.52 MB / 0.5692 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.3687, allocations: 10.86 MB / 0.5798 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/0.3693, allocations: 17.09 kB / 0.5798 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.3702, allocations: 333.1 kB / 0.5802 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008066/0.371, allocations: 436.7 kB / 0.5806 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01231/0.3834, allocations: 5.35 MB / 0.5858 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.3848, allocations: 1.195 MB / 0.587 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000608/0.3854, allocations: 383.7 kB / 0.5873 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007113/0.3861, allocations: 441.1 kB / 0.5878 GB, free: 9.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006961/0.3868, allocations: 445.5 kB / 0.5882 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.806e-05/0.3869, allocations: 44 kB / 0.5882 GB, free: 9.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009747/0.3967, allocations: 6.331 MB / 0.5944 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3968, allocations: 115.3 kB / 0.5945 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3972, allocations: 335.3 kB / 0.5948 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005687/0.4029, allocations: 4.02 MB / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4029, allocations: 0 / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4029, allocations: 0 / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.4029, allocations: 0 / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003195/0.4061, allocations: 1.337 MB / 0.6001 GB, free: 1.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4062, allocations: 19.89 kB / 0.6001 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.4066, allocations: 124 kB / 0.6002 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.4073, allocations: 425.8 kB / 0.6006 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.4074, allocations: 41.38 kB / 0.6006 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.4074, allocations: 52.28 kB / 0.6007 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.4089, allocations: 0.6881 MB / 0.6014 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4089, allocations: 3.938 kB / 0.6014 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.409, allocations: 20 kB / 0.6014 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.409, allocations: 12 kB / 0.6014 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.4103, allocations: 0.5114 MB / 0.6019 GB, free: 15.97 MB / 462.1 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.002409/0.4127, allocations: 2.65 MB / 0.6045 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.4139, allocations: 0.558 MB / 0.605 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.4142, allocations: 128.8 kB / 0.6052 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06043/0.4746, allocations: 32.12 MB / 0.6365 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4747, allocations: 44.8 kB / 0.6366 GB, free: 8.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.4747, allocations: 0 / 0.6366 GB, free: 8.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.005424/0.4801, allocations: 1.852 MB / 0.6384 GB, free: 6.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.4802, allocations: 106.8 kB / 0.6385 GB, free: 6.254 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.4807, allocations: 458.8 kB / 0.6389 GB, free: 5.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.4807, allocations: 33.7 kB / 0.6389 GB, free: 5.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.4809, allocations: 272.1 kB / 0.6392 GB, free: 5.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/0.481, allocations: 110.5 kB / 0.6393 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.4811, allocations: 97.56 kB / 0.6394 GB, free: 5.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4813, allocations: 370.7 kB / 0.6398 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.4816, allocations: 160.8 kB / 0.6399 GB, free: 4.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.482, allocations: 230.3 kB / 0.6401 GB, free: 4.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.4826, allocations: 364.8 kB / 0.6405 GB, free: 4.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4826, allocations: 4 kB / 0.6405 GB, free: 4.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001786/0.4844, allocations: 0.7401 MB / 0.6412 GB, free: 3.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4844, allocations: 4 kB / 0.6412 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4844, allocations: 4 kB / 0.6412 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/0.4866, allocations: 0.5209 MB / 0.6417 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4867, allocations: 35.91 kB / 0.6418 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.4883, allocations: 1.507 MB / 0.6432 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.4886, allocations: 16.03 kB / 0.6432 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.4887, allocations: 23.98 kB / 0.6433 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003769/0.4891, allocations: 272 kB / 0.6435 GB, free: 0.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003064/0.4894, allocations: 223.6 kB / 0.6437 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005597/0.49, allocations: 369.9 kB / 0.6441 GB, free: 296 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.49, allocations: 0 / 0.6441 GB, free: 296 kB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001553/0.4915, allocations: 0.6895 MB / 0.6448 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/0.4916, allocations: 4 kB / 0.6448 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.4916, allocations: 96 / 0.6448 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.493, allocations: 461.3 kB / 0.6452 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4931, allocations: 35.98 kB / 0.6452 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.4949, allocations: 1.448 MB / 0.6467 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.4951, allocations: 20.7 kB / 0.6467 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.4952, allocations: 23.92 kB / 0.6467 GB, free: 13.55 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.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): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.4954, allocations: 204.1 kB / 0.6469 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4955, allocations: 55.34 kB / 0.6469 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/0.4989, allocations: 3.006 MB / 0.6499 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4989, allocations: 11.98 kB / 0.6499 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4989, allocations: 4 kB / 0.6499 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4989, allocations: 3.984 kB / 0.6499 GB, free: 10.25 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.004557/0.5035, allocations: 4.519 MB / 0.6543 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5035, allocations: 3.984 kB / 0.6543 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.5037, allocations: 49.72 kB / 0.6544 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/0.5062, allocations: 1.201 MB / 0.6555 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.5062, allocations: 8 kB / 0.6555 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/0.5091, allocations: 2.845 MB / 0.6583 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5091, allocations: 4.031 kB / 0.6583 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.5132, allocations: 3.964 MB / 0.6622 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.5133, allocations: 140.1 kB / 0.6623 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.5134, allocations: 14.81 kB / 0.6623 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.5137, allocations: 16.02 kB / 0.6624 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.5138, allocations: 23.95 kB / 0.6624 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.5138, allocations: 12 kB / 0.6624 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003276/0.5142, allocations: 318.9 kB / 0.6627 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5142, allocations: 3.938 kB / 0.6627 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002573/0.5167, allocations: 0.9918 MB / 0.6637 GB, free: 11.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {2} * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003873/0.5206, allocations: 0.9676 MB / 0.6646 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.5229, allocations: 0.8015 MB / 0.6654 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5229, allocations: 0 / 0.6654 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.5239, allocations: 463.9 kB / 0.6658 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.5255, allocations: 311.2 kB / 0.6661 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.5274, allocations: 1.401 MB / 0.6675 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.5278, allocations: 0.8795 MB / 0.6684 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.5279, allocations: 51.42 kB / 0.6684 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.5279, allocations: 0 / 0.6684 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of Templates: time 0.03431/0.5623, allocations: 28.18 MB / 0.6959 GB, free: 10.57 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)