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.001629/0.001629, allocations: 112.2 kB / 17.29 MB, free: 6.207 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.001724/0.001724, allocations: 197.3 kB / 18.21 MB, free: 5.281 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.588/1.588, 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.334/0.334, allocations: 48.85 MB / 320.3 MB, free: 11.26 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.002205/0.002205, allocations: 68.92 kB / 390.2 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1254, allocations: 59.15 MB / 449.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.04278/0.1682, allocations: 34.74 MB / 484.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.181, allocations: 8.68 MB / 492.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.1817, allocations: 11.94 kB / 492.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.1823, allocations: 115.3 kB / 492.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008438/0.1833, allocations: 250.7 kB / 493.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.1969, allocations: 3.958 MB / 497.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.198, allocations: 0.6035 MB / 497.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.1985, allocations: 213.7 kB / 497.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009008/0.1994, allocations: 470.7 kB / 498.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.1998, allocations: 278.9 kB / 498.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.1998, allocations: 28 kB / 498.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.2121, allocations: 6.134 MB / 0.493 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2123, allocations: 59.77 kB / 0.493 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.2127, allocations: 183.1 kB / 0.4932 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006836/0.2195, allocations: 2.46 MB / 0.4956 GB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2196, allocations: 0 / 0.4956 GB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2196, allocations: 0 / 0.4956 GB, free: 15.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.2196, allocations: 0 / 0.4956 GB, free: 15.8 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.003552/0.2232, allocations: 1.041 MB / 0.4966 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.2233, allocations: 11.89 kB / 0.4966 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.2235, allocations: 56.39 kB / 0.4967 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.224, allocations: 299.3 kB / 0.497 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.2241, allocations: 54.81 kB / 0.497 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.2242, allocations: 28.12 kB / 0.4971 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.2251, allocations: 333.2 kB / 0.4974 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2251, allocations: 0 / 0.4974 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.2251, allocations: 16 kB / 0.4974 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2252, allocations: 4 kB / 0.4974 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.226, allocations: 262 kB / 0.4977 GB, free: 13.61 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.001986/0.228, allocations: 1.435 MB / 0.4991 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.2287, allocations: 206.5 kB / 0.4993 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.2291, allocations: 110.3 kB / 0.4994 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3154/0.5445, allocations: 32.1 MB / 0.5307 GB, free: 82.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.5445, allocations: 32.38 kB / 0.5307 GB, free: 82.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.495e-06/0.5446, allocations: 1.125 kB / 0.5307 GB, free: 82.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002842/0.5474, allocations: 0.6603 MB / 0.5314 GB, free: 82.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.5475, allocations: 54.16 kB / 0.5314 GB, free: 82.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.5478, allocations: 279.4 kB / 0.5317 GB, free: 82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5478, allocations: 32.41 kB / 0.5317 GB, free: 81.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.548, allocations: 176.5 kB / 0.5319 GB, free: 81.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.548, allocations: 79.88 kB / 0.532 GB, free: 81.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.5481, allocations: 45.72 kB / 0.532 GB, free: 81.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.5482, allocations: 338.4 kB / 0.5323 GB, free: 81.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.5485, allocations: 97.23 kB / 0.5324 GB, free: 81.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.5489, allocations: 134.2 kB / 0.5326 GB, free: 81.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.5495, allocations: 227 kB / 0.5328 GB, free: 81.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5496, allocations: 1.031 kB / 0.5328 GB, free: 81.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001033/0.5506, allocations: 360.5 kB / 0.5331 GB, free: 81.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5506, allocations: 4.188 kB / 0.5331 GB, free: 81.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5506, allocations: 2.188 kB / 0.5331 GB, free: 81.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.5513, allocations: 104.5 kB / 0.5332 GB, free: 81.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.5515, allocations: 49.27 kB / 0.5333 GB, free: 81.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005475/0.5521, allocations: 0.6332 MB / 0.5339 GB, free: 80.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.5524, allocations: 50.58 kB / 0.5339 GB, free: 80.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.5525, allocations: 9.328 kB / 0.534 GB, free: 80.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003655/0.5528, allocations: 193.4 kB / 0.5341 GB, free: 80.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002984/0.5532, allocations: 121.5 kB / 0.5343 GB, free: 80.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005526/0.5537, allocations: 215.1 kB / 0.5345 GB, free: 80.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.5537, allocations: 0 / 0.5345 GB, free: 80.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0008793/0.5546, allocations: 335.8 kB / 0.5348 GB, free: 80.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.5546, allocations: 5.625 kB / 0.5348 GB, free: 80.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5546, allocations: 1.516 kB / 0.5348 GB, free: 80.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.5549, allocations: 74.14 kB / 0.5349 GB, free: 80.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.5551, allocations: 47.33 kB / 0.5349 GB, free: 80.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.5569, allocations: 1.827 MB / 0.5367 GB, free: 79.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.5572, allocations: 42.5 kB / 0.5367 GB, free: 79.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.5572, allocations: 10.08 kB / 0.5367 GB, free: 79.07 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.0001103/0.5573, allocations: 190.2 kB / 0.5369 GB, free: 78.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.5574, allocations: 39.27 kB / 0.537 GB, free: 78.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.5587, allocations: 0.6075 MB / 0.5375 GB, free: 78.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.5587, allocations: 4.141 kB / 0.5376 GB, free: 78.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.5587, allocations: 5.031 kB / 0.5376 GB, free: 78.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5587, allocations: 1.641 kB / 0.5376 GB, free: 78.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.5592, allocations: 404.6 kB / 0.5379 GB, free: 78.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5592, allocations: 0.7969 kB / 0.5379 GB, free: 78.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.5595, allocations: 40.45 kB / 0.538 GB, free: 78.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005125/0.56, allocations: 246.3 kB / 0.5382 GB, free: 78.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.56, allocations: 10.52 kB / 0.5382 GB, free: 78.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006389/0.5607, allocations: 0.846 MB / 0.5391 GB, free: 77.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5607, allocations: 0 / 0.5391 GB, free: 77.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.5622, allocations: 0.8301 MB / 0.5399 GB, free: 77.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.5624, allocations: 131.1 kB / 0.54 GB, free: 77.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.5624, allocations: 6.219 kB / 0.54 GB, free: 77.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.5627, allocations: 40.59 kB / 0.54 GB, free: 77.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.5628, allocations: 19.08 kB / 0.5401 GB, free: 77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.5628, allocations: 11.3 kB / 0.5401 GB, free: 77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.563, allocations: 199.6 kB / 0.5403 GB, free: 76.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.563, allocations: 4 kB / 0.5403 GB, free: 76.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003321/0.5664, allocations: 0.9114 MB / 0.5411 GB, free: 76.81 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.003938/0.5703, allocations: 1.016 MB / 0.5421 GB, free: 76.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.572, allocations: 0.5488 MB / 0.5427 GB, free: 76.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.572, allocations: 0 / 0.5427 GB, free: 76.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.5725, allocations: 197.1 kB / 0.5429 GB, free: 76.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.5735, allocations: 138 kB / 0.543 GB, free: 76.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.5752, allocations: 0.9077 MB / 0.5439 GB, free: 75.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.5755, allocations: 0.7864 MB / 0.5446 GB, free: 75.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.5756, allocations: 27.33 kB / 0.5447 GB, free: 75.04 MB / 414.1 MB Notification: Performance of SimCode: time 1.944e-06/0.5756, allocations: 0 / 0.5447 GB, free: 75.04 MB / 414.1 MB Notification: Performance of Templates: time 0.03065/0.6063, allocations: 19.89 MB / 0.5641 GB, free: 61.06 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile (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)