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.0009755/0.0009757, allocations: 111.2 kB / 17.29 MB, free: 6.219 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.0009762/0.0009763, allocations: 193.3 kB / 18.21 MB, free: 5.297 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.263/1.263, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2588/0.2588, allocations: 48.83 MB / 320.2 MB, free: 11.27 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.00137/0.00137, allocations: 69.86 kB / 390.2 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08177, allocations: 59.16 MB / 449.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03426/0.1161, allocations: 35.88 MB / 485.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009801/0.1259, allocations: 8.857 MB / 494.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.1266, allocations: 19.88 kB / 494.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.1273, allocations: 147.1 kB / 494.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009855/0.1283, allocations: 310.2 kB / 494.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009666/0.138, allocations: 4.013 MB / 498.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.139, allocations: 0.8909 MB / 499.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.1395, allocations: 419.7 kB / 499.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.1404, allocations: 0.5608 MB / 0.4887 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.1408, allocations: 398.4 kB / 0.4891 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.1409, allocations: 56 kB / 0.4891 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008996/0.1499, allocations: 6.165 MB / 0.4952 GB, free: 276 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1501, allocations: 131.5 kB / 0.4953 GB, free: 144 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.1505, allocations: 306.6 kB / 0.4956 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.1544, allocations: 2.748 MB / 0.4983 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1544, allocations: 4 kB / 0.4983 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1544, allocations: 0 / 0.4983 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.1545, allocations: 0 / 0.4983 GB, free: 13.08 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.003005/0.1575, allocations: 1.243 MB / 0.4995 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1575, allocations: 11.89 kB / 0.4995 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.1578, allocations: 72.17 kB / 0.4996 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.1583, allocations: 387.6 kB / 0.4999 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.1584, allocations: 71.2 kB / 0.5 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.1584, allocations: 48.12 kB / 0.5 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009396/0.1594, allocations: 0.5192 MB / 0.5006 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1594, allocations: 4 kB / 0.5006 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.1595, allocations: 20 kB / 0.5006 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1595, allocations: 12 kB / 0.5006 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008341/0.1603, allocations: 399.7 kB / 0.501 GB, free: 10.2 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.002387/0.1627, allocations: 2.064 MB / 0.503 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.1634, allocations: 334.6 kB / 0.5033 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.1637, allocations: 164.8 kB / 0.5035 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2292/0.393, allocations: 31.97 MB / 0.5347 GB, free: 79.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3931, allocations: 37.5 kB / 0.5347 GB, free: 79.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.3931, allocations: 0 / 0.5347 GB, free: 79.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.004281/0.3973, allocations: 1.608 MB / 0.5363 GB, free: 78.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.3974, allocations: 56.34 kB / 0.5363 GB, free: 78.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005944/0.398, allocations: 371.6 kB / 0.5367 GB, free: 78.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3981, allocations: 32.02 kB / 0.5367 GB, free: 78.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3982, allocations: 253 kB / 0.537 GB, free: 78.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3983, allocations: 141.1 kB / 0.5371 GB, free: 78.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3985, allocations: 72.95 kB / 0.5372 GB, free: 78.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.3986, allocations: 354.8 kB / 0.5375 GB, free: 78.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.399, allocations: 137.4 kB / 0.5376 GB, free: 78.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.3994, allocations: 193.5 kB / 0.5378 GB, free: 78.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.4001, allocations: 343.7 kB / 0.5382 GB, free: 78.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4001, allocations: 1.375 kB / 0.5382 GB, free: 78.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001092/0.4012, allocations: 476.6 kB / 0.5386 GB, free: 77.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4012, allocations: 9.719 kB / 0.5386 GB, free: 77.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4012, allocations: 2 kB / 0.5386 GB, free: 77.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.4018, allocations: 102.5 kB / 0.5387 GB, free: 77.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.4022, allocations: 91.45 kB / 0.5388 GB, free: 77.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005596/0.4027, allocations: 0.6364 MB / 0.5394 GB, free: 77.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.4031, allocations: 38.27 kB / 0.5395 GB, free: 77.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.4032, allocations: 13.77 kB / 0.5395 GB, free: 77.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004056/0.4036, allocations: 255.5 kB / 0.5397 GB, free: 77.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003056/0.4039, allocations: 184 kB / 0.5399 GB, free: 77.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006112/0.4045, allocations: 322.5 kB / 0.5402 GB, free: 77.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/0.4045, allocations: 1.031 kB / 0.5402 GB, free: 77.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.001048/0.4056, allocations: 472.2 kB / 0.5407 GB, free: 77.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.4056, allocations: 4.844 kB / 0.5407 GB, free: 77.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4056, allocations: 3.938 kB / 0.5407 GB, free: 77.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.4058, allocations: 57.11 kB / 0.5407 GB, free: 77.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.4062, allocations: 93.88 kB / 0.5408 GB, free: 77.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.4081, allocations: 1.804 MB / 0.5426 GB, free: 75.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.4084, allocations: 33.02 kB / 0.5426 GB, free: 75.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.4085, allocations: 22.23 kB / 0.5426 GB, free: 75.36 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.0001566/0.4087, allocations: 202.4 kB / 0.5428 GB, free: 75.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4088, allocations: 48.09 kB / 0.5429 GB, free: 75.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.41, allocations: 0.6992 MB / 0.5435 GB, free: 74.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.41, allocations: 8.484 kB / 0.5436 GB, free: 74.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.41, allocations: 0 / 0.5436 GB, free: 74.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4101, allocations: 5.031 kB / 0.5436 GB, free: 74.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.4123, allocations: 1.411 MB / 0.5449 GB, free: 74.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4123, allocations: 1.156 kB / 0.5449 GB, free: 74.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.4127, allocations: 80.09 kB / 0.545 GB, free: 74.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.4132, allocations: 245.4 kB / 0.5452 GB, free: 73.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.4132, allocations: 14.88 kB / 0.5453 GB, free: 73.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006843/0.4139, allocations: 0.8423 MB / 0.5461 GB, free: 73.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4139, allocations: 7.312 kB / 0.5461 GB, free: 73.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.4156, allocations: 0.9793 MB / 0.547 GB, free: 72.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.4158, allocations: 149.6 kB / 0.5472 GB, free: 72.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.4159, allocations: 11.25 kB / 0.5472 GB, free: 72.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.4162, allocations: 38.03 kB / 0.5472 GB, free: 72.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.4163, allocations: 30.14 kB / 0.5473 GB, free: 72.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.4163, allocations: 14.56 kB / 0.5473 GB, free: 72.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002608/0.4166, allocations: 261.8 kB / 0.5475 GB, free: 72.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4166, allocations: 0 / 0.5475 GB, free: 72.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002792/0.4194, allocations: 0.9722 MB / 0.5485 GB, free: 72.27 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.004196/0.4236, allocations: 1.018 MB / 0.5495 GB, free: 72.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.4254, allocations: 0.7297 MB / 0.5502 GB, free: 71.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4254, allocations: 4.062 kB / 0.5502 GB, free: 71.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.4259, allocations: 255.7 kB / 0.5504 GB, free: 71.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/0.4268, allocations: 168.5 kB / 0.5506 GB, free: 71.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4289, allocations: 1.541 MB / 0.5521 GB, free: 70.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4292, allocations: 0.8594 MB / 0.5529 GB, free: 69.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.4293, allocations: 40.31 kB / 0.553 GB, free: 69.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4293, allocations: 0 / 0.553 GB, free: 69.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02625/0.4556, allocations: 22.88 MB / 0.5753 GB, free: 49.02 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)