Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009992, allocations: 97.92 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.0009916/0.0009916, allocations: 184.5 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.57/1.57, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4597/0.4597, allocations: 48.79 MB / 320.4 MB, free: 3.828 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.0005203/0.0005204, allocations: 16 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1423, allocations: 60.26 MB / 451.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.2573/0.3996, allocations: 47.16 MB / 498.6 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.411, allocations: 9.269 MB / 0.4959 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.4116, allocations: 14.5 kB / 0.4959 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.4125, allocations: 221.8 kB / 0.4962 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006412/0.4131, allocations: 331.4 kB / 0.4965 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01434/0.4275, allocations: 3.907 MB / 0.5003 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.4289, allocations: 0.6155 MB / 0.5009 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.4294, allocations: 261.7 kB / 0.5011 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.43, allocations: 279.4 kB / 0.5014 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.4306, allocations: 256.9 kB / 0.5016 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.4307, allocations: 24.25 kB / 0.5017 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/0.4452, allocations: 6.177 MB / 0.5077 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.4454, allocations: 77.8 kB / 0.5078 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.4459, allocations: 127 kB / 0.5079 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.4522, allocations: 2.59 MB / 0.5104 GB, free: 5.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4522, allocations: 1.375 kB / 0.5104 GB, free: 5.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4522, allocations: 0 / 0.5104 GB, free: 5.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.4523, allocations: 0 / 0.5104 GB, free: 5.219 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.004323/0.4566, allocations: 1.168 MB / 0.5116 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4566, allocations: 9.812 kB / 0.5116 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.4572, allocations: 112.8 kB / 0.5117 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.4578, allocations: 350.7 kB / 0.512 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.4578, allocations: 37.19 kB / 0.5121 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.4579, allocations: 43.41 kB / 0.5121 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4593, allocations: 0.6238 MB / 0.5127 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4593, allocations: 0 / 0.5127 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.4594, allocations: 17.31 kB / 0.5127 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.4594, allocations: 10.06 kB / 0.5127 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.4607, allocations: 0.5077 MB / 0.5132 GB, free: 3.133 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.001867/0.4625, allocations: 2.305 MB / 0.5155 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4637, allocations: 0.567 MB / 0.516 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06755/0.5313, allocations: 32.28 MB / 0.5476 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.5313, allocations: 50.45 kB / 0.5476 GB, free: 11.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/0.5314, allocations: 0 / 0.5476 GB, free: 11.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.005742/0.5371, allocations: 1.76 MB / 0.5493 GB, free: 9.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.5372, allocations: 106.8 kB / 0.5494 GB, free: 9.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.5376, allocations: 353.6 kB / 0.5498 GB, free: 9.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.5377, allocations: 33.7 kB / 0.5498 GB, free: 9.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.5379, allocations: 232.2 kB / 0.55 GB, free: 9.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.538, allocations: 110.3 kB / 0.5501 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.538, allocations: 12 kB / 0.5501 GB, free: 9.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5382, allocations: 354.7 kB / 0.5505 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.5386, allocations: 175.9 kB / 0.5506 GB, free: 8.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.5389, allocations: 230.7 kB / 0.5509 GB, free: 8.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.5393, allocations: 179.9 kB / 0.551 GB, free: 8.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5393, allocations: 0 / 0.551 GB, free: 8.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001903/0.5412, allocations: 0.7594 MB / 0.5518 GB, free: 7.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.5415, allocations: 0.5294 MB / 0.5523 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5415, allocations: 1.438 kB / 0.5523 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/0.5438, allocations: 0.5245 MB / 0.5528 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.544, allocations: 47.91 kB / 0.5529 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.5455, allocations: 0.9919 MB / 0.5538 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.5461, allocations: 55.92 kB / 0.5539 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.5461, allocations: 19.98 kB / 0.5539 GB, free: 5.137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5461, allocations: 4 kB / 0.5539 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001575/0.5477, allocations: 0.6329 MB / 0.5545 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5477, allocations: 4 kB / 0.5545 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.5493, allocations: 472.5 kB / 0.555 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.5495, allocations: 43.97 kB / 0.555 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.5511, allocations: 0.9372 MB / 0.5559 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.5516, allocations: 62.5 kB / 0.556 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.5516, allocations: 23.97 kB / 0.556 GB, free: 2.941 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.0003017/0.552, allocations: 237 kB / 0.5562 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.552, allocations: 43.53 kB / 0.5563 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.556, allocations: 3.008 MB / 0.5592 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.556, allocations: 15.97 kB / 0.5592 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.556, allocations: 0 / 0.5592 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.556, allocations: 3.938 kB / 0.5592 GB, free: 15.62 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.005052/0.5611, allocations: 4.499 MB / 0.5636 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5611, allocations: 0 / 0.5636 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.5617, allocations: 79.94 kB / 0.5637 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.564, allocations: 1.161 MB / 0.5648 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.564, allocations: 15.94 kB / 0.5649 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.5671, allocations: 2.787 MB / 0.5676 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5672, allocations: 3.953 kB / 0.5676 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.5717, allocations: 3.962 MB / 0.5714 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.5719, allocations: 124.4 kB / 0.5716 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.572, allocations: 12.03 kB / 0.5716 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.5724, allocations: 51.81 kB / 0.5716 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5725, allocations: 27.95 kB / 0.5717 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.5725, allocations: 9.438 kB / 0.5717 GB, free: 2.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.5728, allocations: 251.2 kB / 0.5719 GB, free: 2.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5728, allocations: 0 / 0.5719 GB, free: 2.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004138/0.5769, allocations: 0.9645 MB / 0.5728 GB, free: 1.293 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.00494/0.5819, allocations: 0.9766 MB / 0.5738 GB, free: 320 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.5844, allocations: 0.8089 MB / 0.5746 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5844, allocations: 0 / 0.5746 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.5859, allocations: 0.492 MB / 0.5751 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5873, allocations: 227.1 kB / 0.5753 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.5896, allocations: 1.522 MB / 0.5768 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.5903, allocations: 0.8673 MB / 0.5776 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.5907, allocations: 103.9 kB / 0.5777 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.5908, allocations: 31.44 kB / 0.5777 GB, free: 12.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.694e-06/0.5908, allocations: 0 / 0.5777 GB, free: 12.23 MB / 462.1 MB Notification: Performance of Templates: time 0.05873/0.6495, allocations: 40.34 MB / 0.6171 GB, free: 3.875 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1) Environment - environmentSimulation: