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.001191/0.001191, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.00113/0.00113, allocations: 191 kB / 18.67 MB, free: 4.434 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.218/1.218, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.245/0.245, allocations: 48.85 MB / 320.7 MB, free: 11.02 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.001499/0.001499, allocations: 63.91 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 59.17 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.2621/0.3647, allocations: 72.53 MB / 0.5692 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.3779, allocations: 10.85 MB / 0.5798 GB, free: 15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008271/0.3788, allocations: 19.47 kB / 0.5798 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3801, allocations: 334.3 kB / 0.5802 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.3813, allocations: 432.7 kB / 0.5806 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01617/0.3975, allocations: 5.349 MB / 0.5858 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.3996, allocations: 1.188 MB / 0.587 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008147/0.4004, allocations: 387.3 kB / 0.5873 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/0.4013, allocations: 441.7 kB / 0.5878 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008516/0.4022, allocations: 434.2 kB / 0.5882 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.4023, allocations: 44 kB / 0.5882 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.4152, allocations: 6.338 MB / 0.5944 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.4154, allocations: 116.4 kB / 0.5945 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006666/0.4161, allocations: 338.9 kB / 0.5948 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009171/0.4253, allocations: 4.012 MB / 0.5987 GB, free: 3.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4253, allocations: 0 / 0.5987 GB, free: 3.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4253, allocations: 0 / 0.5987 GB, free: 3.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.4253, allocations: 2.906 kB / 0.5988 GB, free: 3.09 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.003814/0.4292, allocations: 1.337 MB / 0.6001 GB, free: 1.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4292, allocations: 19.89 kB / 0.6001 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.4298, allocations: 120 kB / 0.6002 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/0.4305, allocations: 429.7 kB / 0.6006 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.4306, allocations: 41.38 kB / 0.6006 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.4307, allocations: 52.28 kB / 0.6007 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.4322, allocations: 0.6881 MB / 0.6014 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4323, allocations: 0 / 0.6014 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.4323, allocations: 23.94 kB / 0.6014 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.4323, allocations: 13.08 kB / 0.6014 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.4337, allocations: 0.5229 MB / 0.6019 GB, free: 8 kB / 446.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.002767/0.4364, allocations: 2.637 MB / 0.6045 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.4377, allocations: 0.5668 MB / 0.605 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.438, allocations: 120.8 kB / 0.6052 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06114/0.4991, allocations: 32.11 MB / 0.6365 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.4992, allocations: 42.5 kB / 0.6366 GB, free: 8.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.4992, allocations: 0 / 0.6366 GB, free: 8.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.005777/0.505, allocations: 1.852 MB / 0.6384 GB, free: 6.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.5051, allocations: 110.8 kB / 0.6385 GB, free: 6.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.5056, allocations: 458.8 kB / 0.6389 GB, free: 5.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.5057, allocations: 33.7 kB / 0.6389 GB, free: 5.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.5059, allocations: 272.1 kB / 0.6392 GB, free: 5.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.506, allocations: 118.4 kB / 0.6393 GB, free: 5.414 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.5062, allocations: 93.56 kB / 0.6394 GB, free: 5.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5063, allocations: 362.7 kB / 0.6397 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.5067, allocations: 160.8 kB / 0.6399 GB, free: 4.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.5071, allocations: 234.3 kB / 0.6401 GB, free: 4.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.5077, allocations: 372.9 kB / 0.6405 GB, free: 4.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5077, allocations: 2.531 kB / 0.6405 GB, free: 4.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00185/0.5096, allocations: 0.7362 MB / 0.6412 GB, free: 3.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5096, allocations: 8 kB / 0.6412 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5096, allocations: 0 / 0.6412 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.5117, allocations: 0.5247 MB / 0.6417 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.5119, allocations: 35.98 kB / 0.6418 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.5137, allocations: 1.507 MB / 0.6432 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.514, allocations: 8 kB / 0.6432 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.5141, allocations: 28.11 kB / 0.6433 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003946/0.5145, allocations: 272 kB / 0.6435 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003489/0.5148, allocations: 219.7 kB / 0.6437 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005618/0.5154, allocations: 373.9 kB / 0.6441 GB, free: 344 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.5154, allocations: 3.938 kB / 0.6441 GB, free: 340 kB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001573/0.517, allocations: 0.6896 MB / 0.6448 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.517, allocations: 4 kB / 0.6448 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.517, allocations: 4 kB / 0.6448 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5184, allocations: 449.5 kB / 0.6452 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.5186, allocations: 43.91 kB / 0.6452 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.5204, allocations: 1.444 MB / 0.6467 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.5207, allocations: 12.03 kB / 0.6467 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.5207, allocations: 23.98 kB / 0.6467 GB, free: 13.6 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.0001845/0.5209, allocations: 208.1 kB / 0.6469 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.521, allocations: 55.34 kB / 0.6469 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.5247, allocations: 3.009 MB / 0.6499 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5247, allocations: 7.984 kB / 0.6499 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.5247, allocations: 4.812 kB / 0.6499 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5247, allocations: 0 / 0.6499 GB, free: 10.3 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.004978/0.5297, allocations: 4.519 MB / 0.6543 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5297, allocations: 0 / 0.6543 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.5299, allocations: 47.92 kB / 0.6543 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/0.5324, allocations: 1.198 MB / 0.6555 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.5325, allocations: 15.98 kB / 0.6555 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003036/0.5355, allocations: 2.858 MB / 0.6583 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5356, allocations: 0 / 0.6583 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.5399, allocations: 3.956 MB / 0.6622 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.54, allocations: 148.1 kB / 0.6623 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.5401, allocations: 8 kB / 0.6623 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.5405, allocations: 19.97 kB / 0.6624 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.848e-05/0.5405, allocations: 23.28 kB / 0.6624 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.5406, allocations: 11.98 kB / 0.6624 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003474/0.5409, allocations: 318.9 kB / 0.6627 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5409, allocations: 0 / 0.6627 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002778/0.5437, allocations: 0.9918 MB / 0.6637 GB, free: 11.8 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.004134/0.5479, allocations: 0.9712 MB / 0.6646 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.5501, allocations: 0.8015 MB / 0.6654 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5501, allocations: 0 / 0.6654 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5511, allocations: 460 kB / 0.6658 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.5526, allocations: 320.3 kB / 0.6661 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.5547, allocations: 1.393 MB / 0.6675 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.5552, allocations: 0.8872 MB / 0.6684 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.5553, allocations: 43.44 kB / 0.6684 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.5553, allocations: 0 / 0.6684 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of Templates: time 0.03444/0.5897, allocations: 28.04 MB / 0.6958 GB, free: 10.76 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)