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.0008306/0.0008306, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0008331/0.0008331, allocations: 177 kB / 17.56 MB, free: 6.18 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.4/1.4, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2941/0.2941, allocations: 48.8 MB / 320.8 MB, free: 11.11 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.0004955/0.0004954, allocations: 21 kB / 391.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09155, allocations: 60.27 MB / 452.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.06854/0.1601, allocations: 72.26 MB / 0.512 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.1749, allocations: 11.51 MB / 0.5233 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009625/0.1759, allocations: 15.88 kB / 0.5233 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.1772, allocations: 282.4 kB / 0.5236 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.1785, allocations: 417.5 kB / 0.524 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.1942, allocations: 4.337 MB / 0.5282 GB, free: 104 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2501/0.4443, allocations: 1.679 MB / 0.5298 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.4451, allocations: 310.3 kB / 0.5301 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008327/0.4459, allocations: 392.9 kB / 0.5305 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007662/0.4467, allocations: 437.4 kB / 0.5309 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.4468, allocations: 25.59 kB / 0.531 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/0.4605, allocations: 6.266 MB / 0.5371 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.4608, allocations: 96.09 kB / 0.5372 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.4616, allocations: 344 kB / 0.5375 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.4774, allocations: 3.986 MB / 0.5414 GB, free: 10.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.4775, allocations: 1.281 kB / 0.5414 GB, free: 10.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.4775, allocations: 1.906 kB / 0.5414 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4775, allocations: 0 / 0.5414 GB, free: 10.67 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.004921/0.4824, allocations: 1.234 MB / 0.5426 GB, free: 9.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4825, allocations: 9.188 kB / 0.5426 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.483, allocations: 119.3 kB / 0.5427 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.4835, allocations: 419.3 kB / 0.5431 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.4835, allocations: 36.94 kB / 0.5432 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.4836, allocations: 53.12 kB / 0.5432 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.4852, allocations: 0.6919 MB / 0.5439 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4853, allocations: 1.062 kB / 0.5439 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.4853, allocations: 23.69 kB / 0.5439 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.4853, allocations: 14.3 kB / 0.5439 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.4868, allocations: 0.5181 MB / 0.5444 GB, free: 9.562 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.002327/0.4891, allocations: 2.64 MB / 0.547 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4905, allocations: 0.5634 MB / 0.5475 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.4907, allocations: 131.4 kB / 0.5477 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06448/0.5552, allocations: 32.29 MB / 0.5792 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.5553, allocations: 40.78 kB / 0.5792 GB, free: 16.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.255e-06/0.5553, allocations: 0 / 0.5792 GB, free: 16.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006002/0.5613, allocations: 1.871 MB / 0.5811 GB, free: 15.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.5614, allocations: 106.5 kB / 0.5812 GB, free: 15.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.562, allocations: 454.4 kB / 0.5816 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.562, allocations: 32.67 kB / 0.5816 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.5622, allocations: 281 kB / 0.5819 GB, free: 15.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.5623, allocations: 111.6 kB / 0.582 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.5624, allocations: 40.83 kB / 0.5821 GB, free: 15.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5625, allocations: 365.2 kB / 0.5824 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.5628, allocations: 155.9 kB / 0.5825 GB, free: 14.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.5632, allocations: 227 kB / 0.5828 GB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.5638, allocations: 380.3 kB / 0.5831 GB, free: 14.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5638, allocations: 0 / 0.5831 GB, free: 14.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001885/0.5657, allocations: 0.7502 MB / 0.5839 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.5658, allocations: 128.5 kB / 0.584 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5658, allocations: 2.031 kB / 0.584 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002409/0.5682, allocations: 0.5272 MB / 0.5845 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.5684, allocations: 39.45 kB / 0.5845 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.5701, allocations: 1.517 MB / 0.586 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.5707, allocations: 51.41 kB / 0.5861 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.5707, allocations: 24.48 kB / 0.5861 GB, free: 12.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5708, allocations: 2.969 kB / 0.5861 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/0.5723, allocations: 0.6285 MB / 0.5867 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5724, allocations: 1.562 kB / 0.5867 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.5739, allocations: 466.7 kB / 0.5872 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5741, allocations: 39.3 kB / 0.5872 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.5759, allocations: 1.439 MB / 0.5886 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.5764, allocations: 59.67 kB / 0.5887 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.5765, allocations: 23.86 kB / 0.5887 GB, free: 11.57 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 (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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003266/0.5768, allocations: 241.9 kB / 0.5889 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.5769, allocations: 50.44 kB / 0.589 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.5805, allocations: 3.016 MB / 0.5919 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.5806, allocations: 11.92 kB / 0.5919 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5806, allocations: 3.984 kB / 0.5919 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5806, allocations: 8 kB / 0.5919 GB, free: 10.51 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.005152/0.5858, allocations: 4.519 MB / 0.5963 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.5858, allocations: 4.938 kB / 0.5963 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.586, allocations: 39.55 kB / 0.5964 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.5889, allocations: 1.214 MB / 0.5976 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.589, allocations: 4.438 kB / 0.5976 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.5923, allocations: 2.736 MB / 0.6002 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5923, allocations: 3.938 kB / 0.6002 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.597, allocations: 3.965 MB / 0.6041 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.5974, allocations: 140.1 kB / 0.6043 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5976, allocations: 6.25 kB / 0.6043 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.5981, allocations: 54.91 kB / 0.6043 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5982, allocations: 22.62 kB / 0.6043 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.5983, allocations: 15.61 kB / 0.6043 GB, free: 1.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005396/0.5988, allocations: 315.8 kB / 0.6046 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5988, allocations: 0 / 0.6046 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004484/0.6033, allocations: 0.9938 MB / 0.6056 GB, free: 15.95 MB / 462.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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006556/0.6099, allocations: 0.9703 MB / 0.6066 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.6125, allocations: 0.8003 MB / 0.6073 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6126, allocations: 3.562 kB / 0.6073 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.6138, allocations: 461.3 kB / 0.6078 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.616, allocations: 305.2 kB / 0.6081 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.6187, allocations: 1.707 MB / 0.6097 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.6191, allocations: 0.8873 MB / 0.6106 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.6196, allocations: 112.5 kB / 0.6107 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.6197, allocations: 42.75 kB / 0.6108 GB, free: 11.33 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6197, allocations: 0 / 0.6108 GB, free: 11.33 MB / 462.1 MB Notification: Performance of Templates: time 0.05941/0.6791, allocations: 41.94 MB / 0.6517 GB, free: 1.574 MB / 494.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: