Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 104.8 kB / 16.51 MB, free: 6.707 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.001037/0.001037, allocations: 186.5 kB / 17.42 MB, free: 6.074 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.495/1.495, allocations: 205.1 MB / 223.3 MB, free: 12.51 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3087/0.3087, allocations: 48.84 MB / 319.5 MB, free: 11.32 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.001327/0.001327, allocations: 64.42 kB / 389.4 MB, free: 49.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 59.16 MB / 448.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.04284/0.1483, allocations: 36.65 MB / 485.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1613, allocations: 9.512 MB / 494.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007701/0.1622, allocations: 19.88 kB / 494.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007847/0.163, allocations: 143 kB / 494.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1643, allocations: 314.2 kB / 495.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.1763, allocations: 3.626 MB / 498.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.1778, allocations: 1.051 MB / 499.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.1785, allocations: 358.8 kB / 0.4885 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.1797, allocations: 0.5179 MB / 0.489 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.1804, allocations: 386.4 kB / 0.4893 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.1805, allocations: 32 kB / 0.4894 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.1926, allocations: 6.192 MB / 0.4954 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.1928, allocations: 99.55 kB / 0.4955 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.1933, allocations: 290.5 kB / 0.4958 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008504/0.2019, allocations: 3.991 MB / 0.4997 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2019, allocations: 0 / 0.4997 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2019, allocations: 0 / 0.4997 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.2019, allocations: 0 / 0.4997 GB, free: 10.93 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003319/0.2053, allocations: 1.236 MB / 0.5009 GB, free: 9.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2053, allocations: 8.031 kB / 0.5009 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.2056, allocations: 72.17 kB / 0.501 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.2062, allocations: 395.5 kB / 0.5013 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.2063, allocations: 71.27 kB / 0.5014 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.2064, allocations: 52.06 kB / 0.5015 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2075, allocations: 0.5192 MB / 0.502 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2075, allocations: 4 kB / 0.502 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.2076, allocations: 20 kB / 0.502 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.2076, allocations: 16 kB / 0.502 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.2086, allocations: 395.7 kB / 0.5024 GB, free: 8.047 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.002873/0.2115, allocations: 2.052 MB / 0.5044 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.2122, allocations: 329.8 kB / 0.5047 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.2126, allocations: 172.7 kB / 0.5049 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2661/0.4787, allocations: 31.96 MB / 0.5361 GB, free: 78.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.4788, allocations: 34.19 kB / 0.5361 GB, free: 78.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.215e-06/0.4788, allocations: 0 / 0.5361 GB, free: 78.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.00416/0.483, allocations: 1.612 MB / 0.5377 GB, free: 77.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.483, allocations: 55.84 kB / 0.5377 GB, free: 77.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.4835, allocations: 373.2 kB / 0.5381 GB, free: 77.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4835, allocations: 32.62 kB / 0.5381 GB, free: 77.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4837, allocations: 255.2 kB / 0.5384 GB, free: 77.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.4838, allocations: 137.1 kB / 0.5385 GB, free: 77.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.4839, allocations: 71.5 kB / 0.5386 GB, free: 77.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.484, allocations: 358.3 kB / 0.5389 GB, free: 77.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.4844, allocations: 133.7 kB / 0.539 GB, free: 77.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.4847, allocations: 196.5 kB / 0.5392 GB, free: 76.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.4854, allocations: 341.4 kB / 0.5395 GB, free: 76.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4854, allocations: 2 kB / 0.5395 GB, free: 76.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001016/0.4864, allocations: 482.8 kB / 0.54 GB, free: 76.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4865, allocations: 5.312 kB / 0.54 GB, free: 76.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4865, allocations: 2.25 kB / 0.54 GB, free: 76.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.4871, allocations: 103.1 kB / 0.5401 GB, free: 76.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.4875, allocations: 84.05 kB / 0.5402 GB, free: 76.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005352/0.488, allocations: 0.6352 MB / 0.5408 GB, free: 76.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.4884, allocations: 36.94 kB / 0.5408 GB, free: 76.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.4884, allocations: 14.31 kB / 0.5409 GB, free: 76.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000443/0.4889, allocations: 254.2 kB / 0.5411 GB, free: 76.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003103/0.4892, allocations: 187 kB / 0.5413 GB, free: 76.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005908/0.4898, allocations: 321.6 kB / 0.5416 GB, free: 76.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.4898, allocations: 0 / 0.5416 GB, free: 76.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0009661/0.4908, allocations: 478.2 kB / 0.542 GB, free: 75.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4908, allocations: 5.312 kB / 0.542 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4908, allocations: 2.25 kB / 0.5421 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.491, allocations: 59.06 kB / 0.5421 GB, free: 75.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.4914, allocations: 95.97 kB / 0.5422 GB, free: 75.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.493, allocations: 1.625 MB / 0.5438 GB, free: 74.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.4933, allocations: 43.61 kB / 0.5438 GB, free: 74.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.4933, allocations: 13.19 kB / 0.5438 GB, free: 74.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 40 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.4935, allocations: 204.1 kB / 0.544 GB, free: 74.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.4935, allocations: 45.84 kB / 0.5441 GB, free: 74.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.4947, allocations: 0.695 MB / 0.5448 GB, free: 73.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4947, allocations: 14.88 kB / 0.5448 GB, free: 73.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.4947, allocations: 1.031 kB / 0.5448 GB, free: 73.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4948, allocations: 0 / 0.5448 GB, free: 73.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.4967, allocations: 1.409 MB / 0.5461 GB, free: 72.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.4968, allocations: 5.25 kB / 0.5462 GB, free: 72.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.4972, allocations: 78.42 kB / 0.5462 GB, free: 72.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/0.4978, allocations: 367.8 kB / 0.5466 GB, free: 72.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.4978, allocations: 16.8 kB / 0.5466 GB, free: 72.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006186/0.4984, allocations: 0.8446 MB / 0.5474 GB, free: 71.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4984, allocations: 0.8125 kB / 0.5474 GB, free: 71.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.5, allocations: 0.9787 MB / 0.5484 GB, free: 71.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.5002, allocations: 153 kB / 0.5485 GB, free: 71.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.5003, allocations: 16.31 kB / 0.5485 GB, free: 71.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.5006, allocations: 28.25 kB / 0.5486 GB, free: 71.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5007, allocations: 35.89 kB / 0.5486 GB, free: 71.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.5007, allocations: 14.91 kB / 0.5486 GB, free: 71.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000331/0.5011, allocations: 262.7 kB / 0.5489 GB, free: 70.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5011, allocations: 0 / 0.5489 GB, free: 70.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004656/0.5058, allocations: 0.9732 MB / 0.5498 GB, free: 70.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.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): 31 * 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 Backend phase and start with SimCode phase: time 0.004404/0.5102, allocations: 1.014 MB / 0.5508 GB, free: 70.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.5119, allocations: 0.7065 MB / 0.5515 GB, free: 70.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5119, allocations: 0 / 0.5515 GB, free: 70.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.5125, allocations: 253.1 kB / 0.5517 GB, free: 70.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/0.5135, allocations: 163.6 kB / 0.5519 GB, free: 70.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.5153, allocations: 1.51 MB / 0.5534 GB, free: 69.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.5156, allocations: 0.8567 MB / 0.5542 GB, free: 68.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.5159, allocations: 95.39 kB / 0.5543 GB, free: 68.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.516, allocations: 34.84 kB / 0.5543 GB, free: 68.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.516, allocations: 0 / 0.5543 GB, free: 68.23 MB / 414.1 MB Notification: Performance of Templates: time 0.03712/0.5532, allocations: 35.01 MB / 0.5885 GB, free: 34.78 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)