Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008359/0.000836, allocations: 93.86 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.0008987/0.0008988, allocations: 176.6 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.489/1.489, allocations: 205.4 MB / 223.7 MB, free: 12.97 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2729/0.2729, allocations: 48.79 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.0005393/0.0005394, allocations: 19.22 kB / 391.8 MB, free: 49.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08399/0.08454, allocations: 60.27 MB / 452.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03485/0.1194, allocations: 34.72 MB / 486.8 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1336, allocations: 9.178 MB / 496 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.1342, allocations: 11.94 kB / 496 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.1348, allocations: 119.3 kB / 496.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1359, allocations: 254.7 kB / 496.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01672/0.1527, allocations: 3.564 MB / 499.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1541, allocations: 0.7751 MB / 0.489 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.1546, allocations: 188.8 kB / 0.4891 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.1558, allocations: 438.7 kB / 0.4896 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006317/0.1564, allocations: 278.9 kB / 0.4898 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.1565, allocations: 12 kB / 0.4898 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01659/0.1731, allocations: 6.161 MB / 0.4958 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1733, allocations: 55.73 kB / 0.4959 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003947/0.1737, allocations: 192.8 kB / 0.4961 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.1849, allocations: 3.629 MB / 0.4996 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.185, allocations: 0 / 0.4996 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.185, allocations: 0 / 0.4996 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.185, allocations: 0 / 0.4996 GB, free: 13.43 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004192/0.1892, allocations: 1.002 MB / 0.5006 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1893, allocations: 8.031 kB / 0.5006 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.1897, allocations: 56.45 kB / 0.5007 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.1903, allocations: 303.4 kB / 0.501 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.1904, allocations: 46.83 kB / 0.501 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.1905, allocations: 28.12 kB / 0.501 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1918, allocations: 353.2 kB / 0.5014 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1918, allocations: 0 / 0.5014 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.1919, allocations: 12 kB / 0.5014 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1919, allocations: 8 kB / 0.5014 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.1933, allocations: 294 kB / 0.5017 GB, free: 11.23 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.00254/0.1958, allocations: 1.442 MB / 0.5031 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1969, allocations: 236.7 kB / 0.5033 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.1975, allocations: 121 kB / 0.5034 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2921/0.4897, allocations: 32.41 MB / 0.5351 GB, free: 79.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4898, allocations: 38.31 kB / 0.5351 GB, free: 79.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/0.4898, allocations: 0 / 0.5351 GB, free: 79.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.003144/0.4929, allocations: 0.7081 MB / 0.5358 GB, free: 79.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.493, allocations: 56.27 kB / 0.5358 GB, free: 79.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.4933, allocations: 283.2 kB / 0.5361 GB, free: 79.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4934, allocations: 28.5 kB / 0.5361 GB, free: 79.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.4935, allocations: 170.9 kB / 0.5363 GB, free: 79.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.4936, allocations: 77.3 kB / 0.5364 GB, free: 79.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.4936, allocations: 26.06 kB / 0.5364 GB, free: 79.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.4937, allocations: 337.3 kB / 0.5367 GB, free: 79.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.4941, allocations: 111.8 kB / 0.5368 GB, free: 79.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.4945, allocations: 146 kB / 0.537 GB, free: 78.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/0.4953, allocations: 264.6 kB / 0.5372 GB, free: 78.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4953, allocations: 1.094 kB / 0.5372 GB, free: 78.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00119/0.4965, allocations: 387.8 kB / 0.5376 GB, free: 78.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.4966, allocations: 115.2 kB / 0.5377 GB, free: 78.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4966, allocations: 3.547 kB / 0.5377 GB, free: 78.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.4972, allocations: 109.1 kB / 0.5378 GB, free: 78.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.4975, allocations: 52.59 kB / 0.5379 GB, free: 78.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005571/0.4981, allocations: 0.6431 MB / 0.5385 GB, free: 78.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.4984, allocations: 50.41 kB / 0.5385 GB, free: 78.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.4985, allocations: 11.83 kB / 0.5386 GB, free: 78.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.4985, allocations: 4.375 kB / 0.5386 GB, free: 78.18 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009655/0.4994, allocations: 315 kB / 0.5389 GB, free: 78.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4995, allocations: 4.875 kB / 0.5389 GB, free: 78.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.4997, allocations: 63.09 kB / 0.5389 GB, free: 78.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.5, allocations: 65.94 kB / 0.539 GB, free: 78.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.502, allocations: 1.645 MB / 0.5406 GB, free: 76.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.5024, allocations: 57.17 kB / 0.5406 GB, free: 76.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.5024, allocations: 13.69 kB / 0.5407 GB, free: 76.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.5026, allocations: 217.6 kB / 0.5409 GB, free: 76.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.5027, allocations: 30.56 kB / 0.5409 GB, free: 76.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.5041, allocations: 0.6454 MB / 0.5415 GB, free: 76.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5042, allocations: 4.25 kB / 0.5415 GB, free: 76.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5042, allocations: 4.656 kB / 0.5415 GB, free: 76.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5042, allocations: 3.734 kB / 0.5415 GB, free: 76.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.5047, allocations: 410.6 kB / 0.5419 GB, free: 76.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5047, allocations: 0 / 0.5419 GB, free: 76.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.505, allocations: 50.98 kB / 0.542 GB, free: 76.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/0.5056, allocations: 356 kB / 0.5423 GB, free: 76.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.5057, allocations: 7.484 kB / 0.5423 GB, free: 76.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/0.5064, allocations: 0.8533 MB / 0.5432 GB, free: 75.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5065, allocations: 0 / 0.5432 GB, free: 75.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.508, allocations: 0.8745 MB / 0.544 GB, free: 74.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.5081, allocations: 129.7 kB / 0.5441 GB, free: 74.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.5082, allocations: 6.625 kB / 0.5441 GB, free: 74.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.5085, allocations: 40.8 kB / 0.5442 GB, free: 74.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.5086, allocations: 19.59 kB / 0.5442 GB, free: 74.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.5086, allocations: 13.16 kB / 0.5442 GB, free: 74.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.5088, allocations: 199.1 kB / 0.5444 GB, free: 74.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5088, allocations: 0 / 0.5444 GB, free: 74.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002916/0.5117, allocations: 0.914 MB / 0.5453 GB, free: 74.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0042/0.5159, allocations: 1.019 MB / 0.5463 GB, free: 74.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.5175, allocations: 0.5717 MB / 0.5468 GB, free: 74.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5175, allocations: 7.938 kB / 0.5469 GB, free: 74.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.5181, allocations: 212.2 kB / 0.5471 GB, free: 74.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009052/0.519, allocations: 141.3 kB / 0.5472 GB, free: 74.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.5203, allocations: 0.9323 MB / 0.5481 GB, free: 73.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.5206, allocations: 0.7855 MB / 0.5489 GB, free: 72.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.5209, allocations: 75.2 kB / 0.5489 GB, free: 72.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.5209, allocations: 23.91 kB / 0.549 GB, free: 72.82 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.521, allocations: 0 / 0.549 GB, free: 72.82 MB / 414.1 MB Notification: Performance of Templates: time 0.04183/0.5628, allocations: 33.51 MB / 0.5817 GB, free: 44.29 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) Environment - environmentSimulation: