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.0009131/0.0009135, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.0008975/0.0008979, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.639/1.639, allocations: 205.4 MB / 223.4 MB, free: 5.289 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5119/0.5119, allocations: 48.77 MB / 320.4 MB, free: 3.848 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.0007857/0.0007857, allocations: 16 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2021, allocations: 60.26 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.3257/0.5278, allocations: 52.26 MB / 0.4919 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.54, allocations: 10.03 MB / 0.5017 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.5407, allocations: 11.34 kB / 0.5017 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.5417, allocations: 218.7 kB / 0.5019 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009872/0.5427, allocations: 375.6 kB / 0.5023 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01778/0.5605, allocations: 3.835 MB / 0.506 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.5627, allocations: 1.132 MB / 0.5071 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.5634, allocations: 259 kB / 0.5074 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.564, allocations: 311.5 kB / 0.5077 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.5646, allocations: 335.8 kB / 0.508 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.5647, allocations: 24.69 kB / 0.508 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/0.5832, allocations: 6.01 MB / 0.5139 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.5835, allocations: 82.33 kB / 0.5139 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.5839, allocations: 126 kB / 0.5141 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006759/0.5907, allocations: 2.596 MB / 0.5166 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.5907, allocations: 0 / 0.5166 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.5908, allocations: 0 / 0.5166 GB, free: 15.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5908, allocations: 2 kB / 0.5166 GB, free: 15.48 MB / 398.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.004401/0.5952, allocations: 1.178 MB / 0.5178 GB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5952, allocations: 8.031 kB / 0.5178 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.5957, allocations: 111.2 kB / 0.5179 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.5962, allocations: 346.7 kB / 0.5182 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.5962, allocations: 33 kB / 0.5182 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.5963, allocations: 43.91 kB / 0.5183 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5978, allocations: 0.624 MB / 0.5189 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5978, allocations: 0 / 0.5189 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.5978, allocations: 20 kB / 0.5189 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.5979, allocations: 12 kB / 0.5189 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.5991, allocations: 0.4995 MB / 0.5194 GB, free: 12.8 MB / 398.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.002243/0.6014, allocations: 2.522 MB / 0.5219 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.6026, allocations: 0.5591 MB / 0.5224 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.6028, allocations: 145.8 kB / 0.5225 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05692/0.6598, allocations: 32.29 MB / 0.5541 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.6599, allocations: 38.5 kB / 0.5541 GB, free: 5.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.584e-06/0.6599, allocations: 0 / 0.5541 GB, free: 5.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.005752/0.6656, allocations: 1.764 MB / 0.5558 GB, free: 3.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.6657, allocations: 106.8 kB / 0.5559 GB, free: 3.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.6661, allocations: 357.6 kB / 0.5563 GB, free: 2.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.6661, allocations: 37.7 kB / 0.5563 GB, free: 2.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.6663, allocations: 236.2 kB / 0.5565 GB, free: 2.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.6664, allocations: 118.2 kB / 0.5567 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.6664, allocations: 4 kB / 0.5567 GB, free: 2.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6666, allocations: 362.7 kB / 0.557 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.6669, allocations: 159.9 kB / 0.5572 GB, free: 1.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.6673, allocations: 234.8 kB / 0.5574 GB, free: 1.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.6676, allocations: 183.9 kB / 0.5576 GB, free: 1.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6676, allocations: 0 / 0.5576 GB, free: 1.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001732/0.6694, allocations: 0.7516 MB / 0.5583 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.379e-05/0.6695, allocations: 129.5 kB / 0.5584 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6695, allocations: 7.922 kB / 0.5584 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.6716, allocations: 0.5245 MB / 0.5589 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.6718, allocations: 47.86 kB / 0.559 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.6731, allocations: 0.983 MB / 0.5599 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.6736, allocations: 53.67 kB / 0.56 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.6736, allocations: 27.98 kB / 0.56 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/0.6736, allocations: 4 kB / 0.56 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/0.6751, allocations: 0.6329 MB / 0.5606 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.6751, allocations: 3.938 kB / 0.5606 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.6764, allocations: 468.6 kB / 0.5611 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.6766, allocations: 47.97 kB / 0.5611 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.678, allocations: 0.9352 MB / 0.562 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.6784, allocations: 56 kB / 0.5621 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.6785, allocations: 19.98 kB / 0.5621 GB, free: 12.63 MB / 446.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.0002811/0.6788, allocations: 244.9 kB / 0.5624 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.6789, allocations: 39.53 kB / 0.5624 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/0.6823, allocations: 3.017 MB / 0.5653 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.6824, allocations: 7.984 kB / 0.5653 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.6824, allocations: 1.75 kB / 0.5653 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6824, allocations: 3.953 kB / 0.5653 GB, free: 9.305 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.00464/0.687, allocations: 4.495 MB / 0.5697 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6871, allocations: 7.953 kB / 0.5697 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.6876, allocations: 75.92 kB / 0.5698 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002084/0.6897, allocations: 1.165 MB / 0.571 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.6897, allocations: 15.98 kB / 0.571 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/0.6927, allocations: 2.766 MB / 0.5737 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6927, allocations: 0 / 0.5737 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.6972, allocations: 3.966 MB / 0.5775 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.6975, allocations: 120.5 kB / 0.5777 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.6976, allocations: 19.94 kB / 0.5777 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.698, allocations: 47.84 kB / 0.5777 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.6981, allocations: 27.95 kB / 0.5778 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.6981, allocations: 12 kB / 0.5778 GB, free: 12.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.6984, allocations: 243.2 kB / 0.578 GB, free: 11.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6984, allocations: 0 / 0.578 GB, free: 11.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004076/0.7025, allocations: 0.9645 MB / 0.5789 GB, free: 11 MB / 462.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.005863/0.7083, allocations: 0.9608 MB / 0.5799 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.7108, allocations: 0.8206 MB / 0.5807 GB, free: 9.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7108, allocations: 0 / 0.5807 GB, free: 9.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.7123, allocations: 491.8 kB / 0.5811 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7139, allocations: 250.6 kB / 0.5814 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.7172, allocations: 1.503 MB / 0.5829 GB, free: 6.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.718, allocations: 0.8557 MB / 0.5837 GB, free: 6.086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005485/0.7186, allocations: 113.7 kB / 0.5838 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.7187, allocations: 31.44 kB / 0.5838 GB, free: 5.945 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7187, allocations: 0 / 0.5838 GB, free: 5.945 MB / 462.1 MB Notification: Performance of Templates: time 0.05683/0.7756, allocations: 40.32 MB / 0.6232 GB, free: 13.62 MB / 0.4981 GB 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: