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.001096/0.001096, allocations: 86.06 kB / 16.31 MB, free: 6.457 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.001284/0.001284, allocations: 183 kB / 17.21 MB, free: 6.328 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.663/1.663, allocations: 205.4 MB / 223.4 MB, free: 5.812 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5286/0.5286, allocations: 48.78 MB / 320.4 MB, free: 3.82 MB / 254.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.0005996/0.0005996, allocations: 16 kB / 391.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1508, allocations: 60.26 MB / 451.4 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.3387/0.4896, allocations: 67.56 MB / 0.5068 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.5047, allocations: 10.21 MB / 0.5168 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.5059, allocations: 21.66 kB / 0.5168 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.5072, allocations: 258.5 kB / 0.5171 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.5087, allocations: 472.3 kB / 0.5175 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01829/0.527, allocations: 4.102 MB / 0.5215 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002937/0.53, allocations: 1.433 MB / 0.5229 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006945/0.5307, allocations: 299.2 kB / 0.5232 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009234/0.5316, allocations: 381.9 kB / 0.5236 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.5323, allocations: 425.4 kB / 0.524 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.5324, allocations: 25.16 kB / 0.524 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01689/0.5493, allocations: 6.011 MB / 0.5299 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.5496, allocations: 87.61 kB / 0.5299 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.5502, allocations: 157.3 kB / 0.5301 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007622/0.5578, allocations: 2.674 MB / 0.5327 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.5579, allocations: 4 kB / 0.5327 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5579, allocations: 0 / 0.5327 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.5579, allocations: 0 / 0.5327 GB, free: 15.3 MB / 414.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.004084/0.562, allocations: 1.232 MB / 0.5339 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5621, allocations: 12.03 kB / 0.5339 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.5625, allocations: 115.1 kB / 0.534 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.5631, allocations: 396.8 kB / 0.5344 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.5631, allocations: 37 kB / 0.5344 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.5632, allocations: 51.94 kB / 0.5345 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.5648, allocations: 0.6843 MB / 0.5352 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5648, allocations: 7.891 kB / 0.5352 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.5649, allocations: 20 kB / 0.5352 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.5649, allocations: 12 kB / 0.5352 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.5663, allocations: 0.523 MB / 0.5357 GB, free: 12.09 MB / 414.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.002946/0.5692, allocations: 2.636 MB / 0.5383 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.5705, allocations: 0.5673 MB / 0.5388 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.5707, allocations: 125.3 kB / 0.539 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05772/0.6285, allocations: 32.29 MB / 0.5705 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/0.6286, allocations: 39.03 kB / 0.5705 GB, free: 4.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.978e-06/0.6286, allocations: 3.984 kB / 0.5705 GB, free: 4.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.005981/0.6346, allocations: 1.858 MB / 0.5724 GB, free: 2.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.6347, allocations: 110.8 kB / 0.5725 GB, free: 2.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.6352, allocations: 454.8 kB / 0.5729 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.6353, allocations: 37.7 kB / 0.5729 GB, free: 1.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.6355, allocations: 276.1 kB / 0.5732 GB, free: 1.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.6357, allocations: 114.3 kB / 0.5733 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.6357, allocations: 8 kB / 0.5733 GB, free: 1.312 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6359, allocations: 362.8 kB / 0.5737 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.6362, allocations: 155.9 kB / 0.5738 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.6365, allocations: 226.8 kB / 0.574 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.6368, allocations: 171.9 kB / 0.5742 GB, free: 392 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6369, allocations: 0 / 0.5742 GB, free: 392 kB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001771/0.6386, allocations: 0.7557 MB / 0.5749 GB, free: 15.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/0.6387, allocations: 129.4 kB / 0.575 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6388, allocations: 4 kB / 0.5751 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.6409, allocations: 0.5285 MB / 0.5756 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.6411, allocations: 31.98 kB / 0.5756 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.6427, allocations: 1.508 MB / 0.5771 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.6432, allocations: 55.86 kB / 0.5771 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.6432, allocations: 27.98 kB / 0.5772 GB, free: 13.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.6433, allocations: 4 kB / 0.5772 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/0.6447, allocations: 0.6297 MB / 0.5778 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6448, allocations: 0 / 0.5778 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.6462, allocations: 462.7 kB / 0.5782 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6463, allocations: 41.55 kB / 0.5783 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.6481, allocations: 1.438 MB / 0.5797 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.6486, allocations: 55.95 kB / 0.5797 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.6487, allocations: 27.98 kB / 0.5797 GB, free: 10.55 MB / 462.1 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004452/0.6491, allocations: 250.1 kB / 0.58 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.6493, allocations: 51.34 kB / 0.58 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.653, allocations: 3.014 MB / 0.583 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.6531, allocations: 7.984 kB / 0.583 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.6531, allocations: 7.938 kB / 0.583 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6531, allocations: 0 / 0.583 GB, free: 7.203 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 postOpt removeSimpleEquations (simulation): time 0.005133/0.6582, allocations: 4.527 MB / 0.5874 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.6583, allocations: 1.125 kB / 0.5874 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.6585, allocations: 47.92 kB / 0.5874 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/0.661, allocations: 1.208 MB / 0.5886 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.6611, allocations: 8 kB / 0.5886 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.664, allocations: 2.739 MB / 0.5913 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6641, allocations: 0 / 0.5913 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/0.6685, allocations: 3.963 MB / 0.5952 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.6688, allocations: 138.1 kB / 0.5953 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.6689, allocations: 8 kB / 0.5953 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.6692, allocations: 47.94 kB / 0.5954 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.6693, allocations: 27.95 kB / 0.5954 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.6694, allocations: 4 kB / 0.5954 GB, free: 10.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003868/0.6698, allocations: 322.9 kB / 0.5957 GB, free: 9.777 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6698, allocations: 4 kB / 0.5957 GB, free: 9.773 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003393/0.6732, allocations: 0.984 MB / 0.5967 GB, free: 8.789 MB / 478.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00423/0.6774, allocations: 0.9784 MB / 0.5976 GB, free: 7.801 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.6799, allocations: 0.7936 MB / 0.5984 GB, free: 7.008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6799, allocations: 0 / 0.5984 GB, free: 7.008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.681, allocations: 464.2 kB / 0.5988 GB, free: 6.539 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.6828, allocations: 317.4 kB / 0.5991 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.6853, allocations: 1.645 MB / 0.6008 GB, free: 4.574 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.6857, allocations: 0.8873 MB / 0.6016 GB, free: 3.656 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.6861, allocations: 113 kB / 0.6017 GB, free: 3.551 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.6862, allocations: 39.44 kB / 0.6018 GB, free: 3.512 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6862, allocations: 0 / 0.6018 GB, free: 3.512 MB / 478.1 MB Notification: Performance of Templates: time 0.3137/0.9999, allocations: 42.1 MB / 0.6429 GB, free: 167.1 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: