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.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.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 99.22 kB / 16.31 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.00119/0.00119, allocations: 183.2 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.574/1.574, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5039/0.5039, allocations: 48.78 MB / 320.4 MB, free: 3.824 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 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.0004912/0.0004913, allocations: 16 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1406, allocations: 60.26 MB / 451.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.2728/0.4135, allocations: 47.16 MB / 498.6 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.425, allocations: 9.272 MB / 0.4959 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006808/0.4257, allocations: 14.84 kB / 0.4959 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000962/0.4267, allocations: 222.2 kB / 0.4962 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008261/0.4275, allocations: 328.9 kB / 0.4965 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01542/0.4429, allocations: 3.903 MB / 0.5003 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.4444, allocations: 0.6192 MB / 0.5009 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.4451, allocations: 263.6 kB / 0.5011 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.4455, allocations: 276.5 kB / 0.5014 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.4459, allocations: 260.2 kB / 0.5016 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.4459, allocations: 25.5 kB / 0.5017 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.46, allocations: 6.172 MB / 0.5077 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.4602, allocations: 77.83 kB / 0.5078 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.4606, allocations: 126.7 kB / 0.5079 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00775/0.4684, allocations: 2.595 MB / 0.5104 GB, free: 5.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4684, allocations: 0 / 0.5104 GB, free: 5.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4684, allocations: 0 / 0.5104 GB, free: 5.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4684, allocations: 0 / 0.5104 GB, free: 5.227 MB / 382.1 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.004669/0.4731, allocations: 1.169 MB / 0.5116 GB, free: 4.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4732, allocations: 9.219 kB / 0.5116 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.4737, allocations: 107 kB / 0.5117 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.4742, allocations: 357.6 kB / 0.512 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.4742, allocations: 29.5 kB / 0.512 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.4743, allocations: 43.41 kB / 0.5121 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.4758, allocations: 0.6236 MB / 0.5127 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4758, allocations: 3.984 kB / 0.5127 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.4758, allocations: 17 kB / 0.5127 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4758, allocations: 9.094 kB / 0.5127 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.4771, allocations: 0.5025 MB / 0.5132 GB, free: 3.148 MB / 382.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.001962/0.4791, allocations: 2.522 MB / 0.5157 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.4804, allocations: 0.5592 MB / 0.5162 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06665/0.5471, allocations: 32.28 MB / 0.5477 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.522e-05/0.5472, allocations: 51.08 kB / 0.5478 GB, free: 11.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 3.336e-06/0.5472, allocations: 0 / 0.5478 GB, free: 11.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.00605/0.5533, allocations: 1.764 MB / 0.5495 GB, free: 9.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.5534, allocations: 106.8 kB / 0.5496 GB, free: 9.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.5538, allocations: 353.6 kB / 0.55 GB, free: 9.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.5539, allocations: 33.7 kB / 0.55 GB, free: 9.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.554, allocations: 232.2 kB / 0.5502 GB, free: 8.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.5541, allocations: 114.3 kB / 0.5503 GB, free: 8.859 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.5542, allocations: 8 kB / 0.5503 GB, free: 8.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5543, allocations: 358.7 kB / 0.5507 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.5546, allocations: 171.9 kB / 0.5508 GB, free: 8.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.5551, allocations: 230.7 kB / 0.5511 GB, free: 8.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.5554, allocations: 183.9 kB / 0.5512 GB, free: 7.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5554, allocations: 0 / 0.5512 GB, free: 7.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001846/0.5573, allocations: 0.7555 MB / 0.552 GB, free: 7.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.5575, allocations: 0.5294 MB / 0.5525 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5575, allocations: 0 / 0.5525 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.5598, allocations: 0.5284 MB / 0.553 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.56, allocations: 39.92 kB / 0.553 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.5615, allocations: 0.9918 MB / 0.554 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.562, allocations: 55.92 kB / 0.5541 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.5621, allocations: 23.98 kB / 0.5541 GB, free: 4.895 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5621, allocations: 4 kB / 0.5541 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/0.5637, allocations: 0.6329 MB / 0.5547 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5637, allocations: 4 kB / 0.5547 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.5652, allocations: 468.5 kB / 0.5552 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.5654, allocations: 43.97 kB / 0.5552 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.567, allocations: 0.9419 MB / 0.5561 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.5674, allocations: 57.31 kB / 0.5562 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.5675, allocations: 23.97 kB / 0.5562 GB, free: 2.703 MB / 430.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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 17} Notification: Performance of prepare postOptimizeDAE: time 0.000247/0.5677, allocations: 241 kB / 0.5564 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.5678, allocations: 43.53 kB / 0.5565 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.5714, allocations: 3.008 MB / 0.5594 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.5714, allocations: 8.078 kB / 0.5594 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5714, allocations: 3.984 kB / 0.5594 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5714, allocations: 11.92 kB / 0.5594 GB, free: 15.37 MB / 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 postOpt removeSimpleEquations (simulation): time 0.005131/0.5766, allocations: 4.491 MB / 0.5638 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.5766, allocations: 1.688 kB / 0.5638 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.5772, allocations: 75.94 kB / 0.5639 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.5796, allocations: 1.161 MB / 0.565 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.5796, allocations: 19.94 kB / 0.565 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.5827, allocations: 2.781 MB / 0.5678 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.5827, allocations: 7.984 kB / 0.5678 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.5872, allocations: 3.962 MB / 0.5716 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.5875, allocations: 120.4 kB / 0.5717 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.5875, allocations: 8.047 kB / 0.5718 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.5879, allocations: 55.8 kB / 0.5718 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.588, allocations: 27.95 kB / 0.5718 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.5881, allocations: 12 kB / 0.5718 GB, free: 2.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.5883, allocations: 247.2 kB / 0.5721 GB, free: 2.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5883, allocations: 0 / 0.5721 GB, free: 2.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003763/0.5921, allocations: 0.9645 MB / 0.573 GB, free: 1.059 MB / 446.1 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004799/0.5969, allocations: 0.9725 MB / 0.574 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.5996, allocations: 0.8129 MB / 0.5748 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5996, allocations: 0 / 0.5748 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.6012, allocations: 0.492 MB / 0.5753 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.6025, allocations: 228.6 kB / 0.5755 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.6045, allocations: 1.515 MB / 0.5769 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.6049, allocations: 0.8634 MB / 0.5778 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.6053, allocations: 101.5 kB / 0.5779 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.6053, allocations: 35.38 kB / 0.5779 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6053, allocations: 0 / 0.5779 GB, free: 12 MB / 462.1 MB Notification: Performance of Templates: time 0.05368/0.659, allocations: 40.31 MB / 0.6173 GB, free: 3.68 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1) Environment - environmentSimulation: