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.001188/0.001188, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001303/0.001303, allocations: 178.5 kB / 17.21 MB, free: 6.32 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.573/1.573, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4414/0.4414, allocations: 48.77 MB / 320.4 MB, free: 3.82 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.0005123/0.0005127, allocations: 12 kB / 391.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 60.26 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.2939/0.4332, allocations: 32.2 MB / 483.6 MB, free: 29.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.4435, allocations: 8.035 MB / 491.7 MB, free: 24.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.444, allocations: 14.62 kB / 491.7 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.4445, allocations: 107.1 kB / 491.8 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008869/0.4454, allocations: 267.6 kB / 492 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01384/0.4593, allocations: 3.421 MB / 495.5 MB, free: 22.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.4606, allocations: 0.6715 MB / 496.1 MB, free: 22.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.461, allocations: 175.2 kB / 496.3 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.4626, allocations: 0.7567 MB / 497.1 MB, free: 22.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.4632, allocations: 357.3 kB / 497.4 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.4633, allocations: 13.06 kB / 497.4 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01359/0.4769, allocations: 5.944 MB / 0.4916 GB, free: 19.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.4771, allocations: 48.05 kB / 0.4916 GB, free: 19.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.4774, allocations: 88.7 kB / 0.4917 GB, free: 19.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006127/0.4835, allocations: 2.428 MB / 0.4941 GB, free: 18.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4835, allocations: 3.938 kB / 0.4941 GB, free: 18.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4835, allocations: 0 / 0.4941 GB, free: 18.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.4836, allocations: 5.875 kB / 0.4941 GB, free: 18.18 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004067/0.4876, allocations: 0.9886 MB / 0.4951 GB, free: 17.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4877, allocations: 9.219 kB / 0.4951 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4879, allocations: 48.19 kB / 0.4951 GB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.4882, allocations: 302.8 kB / 0.4954 GB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/0.4883, allocations: 49.34 kB / 0.4954 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.4883, allocations: 24.06 kB / 0.4955 GB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.4891, allocations: 344.9 kB / 0.4958 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4891, allocations: 5.344 kB / 0.4958 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.4891, allocations: 17.33 kB / 0.4958 GB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4891, allocations: 7.562 kB / 0.4958 GB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.4899, allocations: 296.1 kB / 0.4961 GB, free: 16.71 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.001391/0.4913, allocations: 1.431 MB / 0.4975 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.4919, allocations: 219.9 kB / 0.4977 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.4922, allocations: 135 kB / 0.4978 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0557/0.548, allocations: 32.42 MB / 0.5295 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.548, allocations: 39.3 kB / 0.5295 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.565e-06/0.5481, allocations: 0 / 0.5295 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002492/0.5506, allocations: 0.7056 MB / 0.5302 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.5506, allocations: 55.41 kB / 0.5303 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.5509, allocations: 280.5 kB / 0.5305 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5509, allocations: 33.7 kB / 0.5306 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5511, allocations: 172.2 kB / 0.5307 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.5511, allocations: 74.94 kB / 0.5308 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.5512, allocations: 4 kB / 0.5308 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5513, allocations: 338.8 kB / 0.5311 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.5516, allocations: 103.9 kB / 0.5312 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.5519, allocations: 143.5 kB / 0.5314 GB, free: 12.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.5522, allocations: 112.9 kB / 0.5315 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.5522, allocations: 4 kB / 0.5315 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009613/0.5531, allocations: 398.3 kB / 0.5319 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.5532, allocations: 111.5 kB / 0.532 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5532, allocations: 0 / 0.532 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/0.5538, allocations: 112.8 kB / 0.5321 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.554, allocations: 47.97 kB / 0.5321 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000624/0.5547, allocations: 0.636 MB / 0.5327 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.555, allocations: 59.84 kB / 0.5328 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.5551, allocations: 8 kB / 0.5328 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.5551, allocations: 7.938 kB / 0.5328 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007721/0.5559, allocations: 312.5 kB / 0.5331 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5559, allocations: 4 kB / 0.5331 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.5561, allocations: 61.69 kB / 0.5332 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.5563, allocations: 59.94 kB / 0.5332 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.5581, allocations: 1.658 MB / 0.5349 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.5584, allocations: 59.7 kB / 0.5349 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.5584, allocations: 4 kB / 0.5349 GB, free: 8.715 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 (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 prepare postOptimizeDAE: time 0.0001854/0.5586, allocations: 209.1 kB / 0.5351 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.5587, allocations: 35.58 kB / 0.5352 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.5599, allocations: 0.6466 MB / 0.5358 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5599, allocations: 8 kB / 0.5358 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.5599, allocations: 4 kB / 0.5358 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5599, allocations: 0 / 0.5358 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.5604, allocations: 413.4 kB / 0.5362 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5604, allocations: 3.938 kB / 0.5362 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.5606, allocations: 55.08 kB / 0.5362 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.5612, allocations: 358.4 kB / 0.5366 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.5612, allocations: 4 kB / 0.5366 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007813/0.562, allocations: 0.8423 MB / 0.5374 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.562, allocations: 32 / 0.5374 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.5635, allocations: 0.8776 MB / 0.5383 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.5637, allocations: 132.6 kB / 0.5384 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.5637, allocations: 7.953 kB / 0.5384 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.564, allocations: 43.86 kB / 0.5384 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.564, allocations: 24.03 kB / 0.5385 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5641, allocations: 7.984 kB / 0.5385 GB, free: 4.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.5642, allocations: 199 kB / 0.5387 GB, free: 4.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5642, allocations: 0 / 0.5387 GB, free: 4.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003702/0.568, allocations: 0.9173 MB / 0.5396 GB, free: 3.832 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 (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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003583/0.5715, allocations: 0.9596 MB / 0.5405 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.573, allocations: 0.5809 MB / 0.5411 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.573, allocations: 0 / 0.5411 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.5735, allocations: 209.8 kB / 0.5413 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.5742, allocations: 138.1 kB / 0.5414 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.5755, allocations: 0.8891 MB / 0.5423 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.5759, allocations: 0.7841 MB / 0.543 GB, free: 212 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.5761, allocations: 81.11 kB / 0.5431 GB, free: 132 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.5762, allocations: 23.44 kB / 0.5431 GB, free: 108 kB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.5762, allocations: 4 kB / 0.5431 GB, free: 104 kB / 414.1 MB Notification: Performance of Templates: time 0.04416/0.6204, allocations: 33.92 MB / 0.5763 GB, free: 14.19 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: