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.001082/0.001082, allocations: 89.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.001335/0.001335, allocations: 174.6 kB / 17.56 MB, free: 6.184 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.425/1.425, 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.3012/0.3012, allocations: 48.78 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.0005168/0.000517, allocations: 13.28 kB / 391.8 MB, free: 50.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1024, allocations: 60.26 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03987/0.1423, allocations: 35.85 MB / 487.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.1549, allocations: 9.357 MB / 497.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009549/0.1559, allocations: 15.94 kB / 497.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.1568, allocations: 139 kB / 497.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.1581, allocations: 314.2 kB / 497.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.1705, allocations: 3.618 MB / 0.4896 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.1723, allocations: 1.058 MB / 0.4906 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.1732, allocations: 326.9 kB / 0.491 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1744, allocations: 0.5179 MB / 0.4915 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.175, allocations: 374.4 kB / 0.4918 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1752, allocations: 24 kB / 0.4918 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/0.1887, allocations: 6.177 MB / 0.4979 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.189, allocations: 87.61 kB / 0.498 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.1896, allocations: 308.2 kB / 0.4982 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009341/0.199, allocations: 3.964 MB / 0.5021 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.199, allocations: 4 kB / 0.5021 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.199, allocations: 0 / 0.5021 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.1991, allocations: 0 / 0.5021 GB, free: 10.88 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.003381/0.2024, allocations: 1.142 MB / 0.5032 GB, free: 9.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2025, allocations: 12.03 kB / 0.5032 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.2028, allocations: 76.17 kB / 0.5033 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.2034, allocations: 387.5 kB / 0.5037 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.105e-05/0.2036, allocations: 67.27 kB / 0.5038 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.2037, allocations: 52.12 kB / 0.5038 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2048, allocations: 0.5349 MB / 0.5043 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.2048, allocations: 7.984 kB / 0.5043 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.2049, allocations: 16 kB / 0.5043 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2049, allocations: 12 kB / 0.5044 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.2059, allocations: 427.7 kB / 0.5048 GB, free: 8.059 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.002839/0.2088, allocations: 2.068 MB / 0.5068 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.2095, allocations: 338.6 kB / 0.5071 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.2099, allocations: 176.7 kB / 0.5073 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2913/0.5012, allocations: 32.28 MB / 0.5388 GB, free: 77.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.5013, allocations: 36.75 kB / 0.5388 GB, free: 77.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.5013, allocations: 4 kB / 0.5388 GB, free: 77.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.004598/0.5059, allocations: 1.681 MB / 0.5405 GB, free: 76.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.506, allocations: 59.94 kB / 0.5405 GB, free: 76.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.5065, allocations: 368 kB / 0.5409 GB, free: 76.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.5066, allocations: 31.42 kB / 0.5409 GB, free: 76.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.5068, allocations: 256.9 kB / 0.5412 GB, free: 76.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5069, allocations: 137.4 kB / 0.5413 GB, free: 76.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.507, allocations: 38.64 kB / 0.5413 GB, free: 76.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.5071, allocations: 352.7 kB / 0.5417 GB, free: 76.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.5075, allocations: 145.2 kB / 0.5418 GB, free: 76.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.5079, allocations: 201.8 kB / 0.542 GB, free: 76.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.5086, allocations: 359 kB / 0.5423 GB, free: 75.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.5087, allocations: 2.344 kB / 0.5423 GB, free: 75.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001182/0.5098, allocations: 0.4933 MB / 0.5428 GB, free: 75.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/0.5099, allocations: 140.3 kB / 0.543 GB, free: 75.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5099, allocations: 1.5 kB / 0.543 GB, free: 75.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.5105, allocations: 100.1 kB / 0.5431 GB, free: 75.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.5109, allocations: 104.1 kB / 0.5432 GB, free: 75.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005881/0.5115, allocations: 0.627 MB / 0.5438 GB, free: 75.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.512, allocations: 47.52 kB / 0.5438 GB, free: 75.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.512, allocations: 15.78 kB / 0.5438 GB, free: 75.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.512, allocations: 3.312 kB / 0.5438 GB, free: 75.18 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.5131, allocations: 427.9 kB / 0.5442 GB, free: 75.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5131, allocations: 2.469 kB / 0.5442 GB, free: 75.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.5133, allocations: 58.58 kB / 0.5443 GB, free: 75.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5137, allocations: 101.6 kB / 0.5444 GB, free: 75.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.5153, allocations: 1.629 MB / 0.546 GB, free: 73.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.5158, allocations: 38.33 kB / 0.546 GB, free: 73.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.5158, allocations: 16.75 kB / 0.546 GB, free: 73.74 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.000283/0.5161, allocations: 253.8 kB / 0.5463 GB, free: 73.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.5162, allocations: 50.25 kB / 0.5463 GB, free: 73.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.5175, allocations: 0.7153 MB / 0.547 GB, free: 73.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.5176, allocations: 16.06 kB / 0.547 GB, free: 73.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5176, allocations: 0 / 0.547 GB, free: 73.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5176, allocations: 0 / 0.547 GB, free: 73.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.5198, allocations: 1.422 MB / 0.5484 GB, free: 72.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5199, allocations: 1.156 kB / 0.5484 GB, free: 72.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.5203, allocations: 85.39 kB / 0.5485 GB, free: 72.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006112/0.5209, allocations: 374.7 kB / 0.5489 GB, free: 72.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.5209, allocations: 9 kB / 0.5489 GB, free: 72.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006391/0.5216, allocations: 0.843 MB / 0.5497 GB, free: 71.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5216, allocations: 1.312 kB / 0.5497 GB, free: 71.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.5233, allocations: 1.024 MB / 0.5507 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.5235, allocations: 149.6 kB / 0.5508 GB, free: 70.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.5236, allocations: 12.06 kB / 0.5509 GB, free: 70.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.524, allocations: 45.31 kB / 0.5509 GB, free: 70.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.5241, allocations: 29.56 kB / 0.5509 GB, free: 70.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.5241, allocations: 18.39 kB / 0.5509 GB, free: 70.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.5244, allocations: 254.2 kB / 0.5512 GB, free: 70.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5244, allocations: 0 / 0.5512 GB, free: 70.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003244/0.5277, allocations: 0.9798 MB / 0.5521 GB, free: 70.36 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.004569/0.5323, allocations: 1.017 MB / 0.5531 GB, free: 70.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.5343, allocations: 0.7431 MB / 0.5539 GB, free: 69.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.5343, allocations: 1.062 kB / 0.5539 GB, free: 69.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.535, allocations: 263.5 kB / 0.5541 GB, free: 69.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5362, allocations: 164.9 kB / 0.5543 GB, free: 69.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.5384, allocations: 1.636 MB / 0.5559 GB, free: 68.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5387, allocations: 0.8523 MB / 0.5567 GB, free: 67.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.5391, allocations: 98.41 kB / 0.5568 GB, free: 67.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.5392, allocations: 34.5 kB / 0.5568 GB, free: 67.51 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5393, allocations: 7.938 kB / 0.5568 GB, free: 67.5 MB / 414.1 MB Notification: Performance of Templates: time 0.04549/0.5847, allocations: 34.94 MB / 0.591 GB, free: 34.14 MB / 414.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: