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.001215/0.001215, allocations: 85.78 kB / 16.31 MB, free: 6.453 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.00147/0.00147, allocations: 182 kB / 17.21 MB, free: 6.328 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.534/1.534, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.484/0.484, allocations: 48.77 MB / 320.4 MB, free: 3.824 MB / 254.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.0005734/0.0005737, allocations: 20 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 60.26 MB / 451.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.3086/0.4505, allocations: 33.25 MB / 484.7 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.4622, allocations: 8.211 MB / 492.9 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.4636, allocations: 19.16 kB / 492.9 MB, free: 23.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.4644, allocations: 134.6 kB / 493 MB, free: 23.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.4658, allocations: 323.6 kB / 493.4 MB, free: 23.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01623/0.4821, allocations: 3.449 MB / 496.8 MB, free: 21.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.4841, allocations: 0.9398 MB / 497.8 MB, free: 21.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007473/0.4848, allocations: 305.7 kB / 498.1 MB, free: 21.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.4873, allocations: 0.8393 MB / 498.9 MB, free: 20.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007649/0.488, allocations: 448.4 kB / 499.3 MB, free: 20.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.127e-05/0.4881, allocations: 27.28 kB / 499.4 MB, free: 20.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/0.5033, allocations: 5.954 MB / 0.4935 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.5036, allocations: 99.48 kB / 0.4936 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.504, allocations: 136.7 kB / 0.4937 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006931/0.5109, allocations: 2.687 MB / 0.4963 GB, free: 16.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.511, allocations: 3.938 kB / 0.4963 GB, free: 16.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.511, allocations: 1.406 kB / 0.4963 GB, free: 16.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.511, allocations: 0 / 0.4963 GB, free: 16.43 MB / 382.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.004797/0.5158, allocations: 1.158 MB / 0.4975 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.5159, allocations: 13.38 kB / 0.4975 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.5162, allocations: 68.94 kB / 0.4975 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.5167, allocations: 369.8 kB / 0.4979 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.5168, allocations: 68.12 kB / 0.4979 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.5169, allocations: 52.11 kB / 0.498 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.518, allocations: 0.5289 MB / 0.4985 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.518, allocations: 0 / 0.4985 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.5181, allocations: 21.59 kB / 0.4985 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.5181, allocations: 11.5 kB / 0.4985 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.519, allocations: 416.9 kB / 0.4989 GB, free: 14.59 MB / 382.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.002418/0.5214, allocations: 2.074 MB / 0.501 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.5222, allocations: 340.9 kB / 0.5013 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.5226, allocations: 175.2 kB / 0.5015 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05545/0.578, allocations: 32.3 MB / 0.533 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.5781, allocations: 38.56 kB / 0.533 GB, free: 10.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 3.326e-06/0.5781, allocations: 0 / 0.533 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.00432/0.5825, allocations: 1.675 MB / 0.5347 GB, free: 9.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.5825, allocations: 59.39 kB / 0.5347 GB, free: 9.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.583, allocations: 365.7 kB / 0.5351 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.583, allocations: 29.7 kB / 0.5351 GB, free: 8.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.5832, allocations: 252.3 kB / 0.5353 GB, free: 8.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5834, allocations: 134 kB / 0.5355 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.5834, allocations: 8 kB / 0.5355 GB, free: 8.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5835, allocations: 350.8 kB / 0.5358 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.5838, allocations: 144.7 kB / 0.536 GB, free: 7.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.5842, allocations: 206.6 kB / 0.5362 GB, free: 7.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.5845, allocations: 161.5 kB / 0.5363 GB, free: 7.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.5845, allocations: 0 / 0.5363 GB, free: 7.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009122/0.5854, allocations: 478.2 kB / 0.5368 GB, free: 6.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-05/0.5855, allocations: 142.3 kB / 0.5369 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5856, allocations: 0 / 0.5369 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005096/0.5861, allocations: 100.8 kB / 0.537 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.5865, allocations: 89.7 kB / 0.5371 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006382/0.5871, allocations: 0.6459 MB / 0.5377 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.5875, allocations: 39.88 kB / 0.5377 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.5876, allocations: 16 kB / 0.5378 GB, free: 5.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.5876, allocations: 7.938 kB / 0.5378 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008576/0.5885, allocations: 417.9 kB / 0.5382 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5885, allocations: 8.031 kB / 0.5382 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.5887, allocations: 52.81 kB / 0.5382 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.589, allocations: 99.88 kB / 0.5383 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.5909, allocations: 1.632 MB / 0.5399 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.5913, allocations: 43.97 kB / 0.54 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.5913, allocations: 16 kB / 0.54 GB, free: 3.418 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 (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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.5917, allocations: 249 kB / 0.5402 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/0.5918, allocations: 49.62 kB / 0.5403 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.5931, allocations: 0.7159 MB / 0.541 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.5931, allocations: 8 kB / 0.541 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5931, allocations: 4 kB / 0.541 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.5931, allocations: 7.984 kB / 0.541 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.5955, allocations: 1.413 MB / 0.5424 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.5955, allocations: 8.031 kB / 0.5424 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.5959, allocations: 83.89 kB / 0.5424 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006057/0.5965, allocations: 373.8 kB / 0.5428 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.5965, allocations: 8 kB / 0.5428 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007491/0.5973, allocations: 0.8339 MB / 0.5436 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5973, allocations: 0 / 0.5436 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.5989, allocations: 1.021 MB / 0.5446 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.5991, allocations: 148.6 kB / 0.5448 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.5992, allocations: 15.94 kB / 0.5448 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.5995, allocations: 39.97 kB / 0.5448 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.5996, allocations: 27.91 kB / 0.5448 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.5996, allocations: 21.42 kB / 0.5449 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.5999, allocations: 251.2 kB / 0.5451 GB, free: 13.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5999, allocations: 96 / 0.5451 GB, free: 13.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004947/0.6049, allocations: 0.9799 MB / 0.5461 GB, free: 13.01 MB / 430.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 (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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005243/0.6101, allocations: 0.9717 MB / 0.547 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.6119, allocations: 0.7284 MB / 0.5477 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6119, allocations: 0 / 0.5477 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.6125, allocations: 262.7 kB / 0.548 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6136, allocations: 166.2 kB / 0.5481 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.6158, allocations: 1.58 MB / 0.5497 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.6163, allocations: 0.8592 MB / 0.5505 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003685/0.6167, allocations: 92.88 kB / 0.5506 GB, free: 8.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6168, allocations: 39.44 kB / 0.5506 GB, free: 8.25 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6168, allocations: 0 / 0.5506 GB, free: 8.25 MB / 430.1 MB Notification: Performance of Templates: time 0.05268/0.6695, allocations: 35.31 MB / 0.5851 GB, free: 4.957 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: