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.001259/0.001259, allocations: 94.17 kB / 16.3 MB, free: 5.996 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.00136/0.00136, allocations: 182.6 kB / 17.2 MB, free: 5.914 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.53/1.53, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3245/0.3245, allocations: 48.79 MB / 320.4 MB, free: 11.31 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.0005364/0.0005365, allocations: 16.5 kB / 391.1 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1368, allocations: 60.26 MB / 451.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.0605/0.1974, allocations: 60.84 MB / 0.5002 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.2098, allocations: 9.463 MB / 0.5095 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006307/0.2105, allocations: 19.88 kB / 0.5095 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.2114, allocations: 266.6 kB / 0.5097 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009797/0.2124, allocations: 418.8 kB / 0.5101 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01407/0.2265, allocations: 4.188 MB / 0.5142 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.2281, allocations: 0.7609 MB / 0.515 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000567/0.2287, allocations: 307 kB / 0.5153 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.2292, allocations: 338.8 kB / 0.5156 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.2296, allocations: 310.7 kB / 0.5159 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.2297, allocations: 28 kB / 0.5159 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.2417, allocations: 6.184 MB / 0.5219 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.2419, allocations: 91.59 kB / 0.522 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.2422, allocations: 153.3 kB / 0.5222 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00571/0.248, allocations: 2.655 MB / 0.5248 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.248, allocations: 0 / 0.5248 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.248, allocations: 0 / 0.5248 GB, free: 3.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.248, allocations: 0 / 0.5248 GB, free: 3.41 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.003756/0.2518, allocations: 1.239 MB / 0.526 GB, free: 2.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2518, allocations: 12.03 kB / 0.526 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.2523, allocations: 119.2 kB / 0.5261 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.2529, allocations: 396.8 kB / 0.5265 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.253, allocations: 37 kB / 0.5265 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.2531, allocations: 48 kB / 0.5266 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2546, allocations: 0.6842 MB / 0.5272 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2547, allocations: 3.953 kB / 0.5272 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.2547, allocations: 20 kB / 0.5273 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2547, allocations: 12 kB / 0.5273 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.2561, allocations: 0.5269 MB / 0.5278 GB, free: 196 kB / 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.2332/0.4893, allocations: 2.628 MB / 0.5304 GB, free: 84.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.4907, allocations: 0.5615 MB / 0.5309 GB, free: 84.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06223/0.553, allocations: 32.3 MB / 0.5624 GB, free: 61.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.5531, allocations: 39.97 kB / 0.5625 GB, free: 61.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/0.5531, allocations: 0 / 0.5625 GB, free: 61.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.005447/0.5586, allocations: 1.866 MB / 0.5643 GB, free: 61.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.5586, allocations: 110.6 kB / 0.5644 GB, free: 60.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.5591, allocations: 459.6 kB / 0.5648 GB, free: 60.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.5591, allocations: 29.7 kB / 0.5649 GB, free: 60.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5593, allocations: 275.1 kB / 0.5651 GB, free: 60.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.5593, allocations: 106.2 kB / 0.5652 GB, free: 60.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.5594, allocations: 15.97 kB / 0.5653 GB, free: 60.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.5595, allocations: 358.6 kB / 0.5656 GB, free: 59.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.5597, allocations: 154.3 kB / 0.5657 GB, free: 59.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.56, allocations: 223.9 kB / 0.566 GB, free: 59.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.5603, allocations: 173.2 kB / 0.5661 GB, free: 59.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5603, allocations: 0 / 0.5661 GB, free: 59.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001688/0.562, allocations: 0.7584 MB / 0.5669 GB, free: 59.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.5621, allocations: 0.5346 MB / 0.5674 GB, free: 58.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5621, allocations: 0 / 0.5674 GB, free: 58.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/0.5643, allocations: 0.5351 MB / 0.5679 GB, free: 58.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.5644, allocations: 32.55 kB / 0.5679 GB, free: 58.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.5657, allocations: 1.517 MB / 0.5694 GB, free: 56.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.5662, allocations: 54.44 kB / 0.5695 GB, free: 56.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.5662, allocations: 23.98 kB / 0.5695 GB, free: 56.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.5662, allocations: 8 kB / 0.5695 GB, free: 56.59 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/0.5676, allocations: 0.6259 MB / 0.5701 GB, free: 55.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5676, allocations: 0 / 0.5701 GB, free: 55.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.5689, allocations: 453.5 kB / 0.5705 GB, free: 55.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5691, allocations: 47.92 kB / 0.5706 GB, free: 55.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.5705, allocations: 1.437 MB / 0.572 GB, free: 53.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.5709, allocations: 59.89 kB / 0.5721 GB, free: 53.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.571, allocations: 23.98 kB / 0.5721 GB, free: 53.89 MB / 414.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.0002629/0.5712, allocations: 241.9 kB / 0.5723 GB, free: 53.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.5713, allocations: 51.39 kB / 0.5724 GB, free: 53.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.5743, allocations: 3.018 MB / 0.5753 GB, free: 50.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5743, allocations: 7.984 kB / 0.5753 GB, free: 50.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5743, allocations: 0 / 0.5753 GB, free: 50.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5743, allocations: 0 / 0.5753 GB, free: 50.54 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 postOpt removeSimpleEquations (simulation): time 0.004045/0.5784, allocations: 4.529 MB / 0.5797 GB, free: 45.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5784, allocations: 4 kB / 0.5797 GB, free: 45.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.5786, allocations: 46.61 kB / 0.5798 GB, free: 45.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.5809, allocations: 1.208 MB / 0.581 GB, free: 44.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.581, allocations: 12 kB / 0.581 GB, free: 44.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.5835, allocations: 2.745 MB / 0.5837 GB, free: 41.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5835, allocations: 256 / 0.5837 GB, free: 41.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.5871, allocations: 3.967 MB / 0.5875 GB, free: 37.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.5873, allocations: 140.2 kB / 0.5877 GB, free: 37.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.5874, allocations: 11.95 kB / 0.5877 GB, free: 37.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.5878, allocations: 47.94 kB / 0.5877 GB, free: 37.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.5879, allocations: 27.95 kB / 0.5877 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.5879, allocations: 4 kB / 0.5877 GB, free: 37.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.5882, allocations: 322.9 kB / 0.5881 GB, free: 37.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.5882, allocations: 0 / 0.5881 GB, free: 37.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00307/0.5913, allocations: 0.9924 MB / 0.589 GB, free: 36.18 MB / 414.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.003421/0.5947, allocations: 0.9681 MB / 0.59 GB, free: 35.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.5968, allocations: 0.7971 MB / 0.5907 GB, free: 34.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5969, allocations: 0 / 0.5907 GB, free: 34.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009772/0.5979, allocations: 467.8 kB / 0.5912 GB, free: 34.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.5994, allocations: 309.2 kB / 0.5915 GB, free: 33.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.6014, allocations: 1.65 MB / 0.5931 GB, free: 32.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.6017, allocations: 0.9066 MB / 0.594 GB, free: 31.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.602, allocations: 110.4 kB / 0.5941 GB, free: 31.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.6021, allocations: 43.42 kB / 0.5941 GB, free: 31.05 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6021, allocations: 0 / 0.5941 GB, free: 31.05 MB / 414.1 MB Notification: Performance of Templates: time 0.04843/0.6506, allocations: 42.1 MB / 0.6352 GB, free: 4.91 MB / 430.1 MB 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: