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.001075/0.001075, allocations: 99.16 kB / 16.5 MB, free: 6.652 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.001004/0.001004, allocations: 190.4 kB / 17.42 MB, free: 6.07 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.359/1.359, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3094/0.3094, allocations: 48.84 MB / 319.5 MB, free: 11.31 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.001322/0.001322, allocations: 63.89 kB / 389.4 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1306, allocations: 59.16 MB / 448.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03769/0.1683, allocations: 35.51 MB / 484 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.1804, allocations: 9.329 MB / 493.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.181, allocations: 11.94 kB / 493.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.1815, allocations: 111.3 kB / 493.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007669/0.1824, allocations: 258.7 kB / 493.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01328/0.1957, allocations: 3.571 MB / 497.3 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.1969, allocations: 0.779 MB / 498.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.1972, allocations: 196.8 kB / 498.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008541/0.1981, allocations: 442.7 kB / 498.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.1985, allocations: 282.9 kB / 499 MB, free: 7.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.1985, allocations: 12 kB / 499 MB, free: 7.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.2099, allocations: 6.161 MB / 0.4933 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.2101, allocations: 63.69 kB / 0.4934 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.2104, allocations: 171.1 kB / 0.4935 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008082/0.2185, allocations: 3.649 MB / 0.4971 GB, free: 13.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2186, allocations: 0 / 0.4971 GB, free: 13.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.2186, allocations: 0 / 0.4971 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2186, allocations: 0 / 0.4971 GB, free: 13.57 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.002659/0.2213, allocations: 1.041 MB / 0.4981 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2213, allocations: 8.031 kB / 0.4981 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.2215, allocations: 48.45 kB / 0.4982 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.2219, allocations: 315.2 kB / 0.4985 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.222, allocations: 46.83 kB / 0.4985 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.2221, allocations: 28.12 kB / 0.4985 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008125/0.2229, allocations: 329.2 kB / 0.4989 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2229, allocations: 0 / 0.4989 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.223, allocations: 12 kB / 0.4989 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.223, allocations: 8 kB / 0.4989 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.2238, allocations: 269.9 kB / 0.4991 GB, free: 11.37 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.001637/0.2255, allocations: 1.427 MB / 0.5005 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006746/0.2262, allocations: 210.7 kB / 0.5007 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.2265, allocations: 114.8 kB / 0.5008 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2802/0.5068, allocations: 32.1 MB / 0.5322 GB, free: 81.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5068, allocations: 36.77 kB / 0.5322 GB, free: 81.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/0.5068, allocations: 0 / 0.5322 GB, free: 81.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002964/0.5098, allocations: 0.6551 MB / 0.5329 GB, free: 80.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.5099, allocations: 58.67 kB / 0.5329 GB, free: 80.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.5102, allocations: 282.1 kB / 0.5332 GB, free: 80.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5102, allocations: 29.89 kB / 0.5332 GB, free: 80.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.5104, allocations: 170.2 kB / 0.5334 GB, free: 80.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.5104, allocations: 78.27 kB / 0.5334 GB, free: 80.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.5106, allocations: 42.67 kB / 0.5335 GB, free: 80.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5107, allocations: 343.7 kB / 0.5338 GB, free: 80.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.511, allocations: 99.19 kB / 0.5339 GB, free: 80.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.5113, allocations: 133.6 kB / 0.534 GB, free: 80.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.512, allocations: 230.3 kB / 0.5343 GB, free: 80.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.512, allocations: 0 / 0.5343 GB, free: 80.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001047/0.513, allocations: 357.8 kB / 0.5346 GB, free: 80.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5131, allocations: 5.516 kB / 0.5346 GB, free: 80.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5131, allocations: 1.312 kB / 0.5346 GB, free: 80.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.5137, allocations: 102.4 kB / 0.5347 GB, free: 80.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.514, allocations: 49.48 kB / 0.5347 GB, free: 80.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005382/0.5145, allocations: 0.6323 MB / 0.5354 GB, free: 79.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.5149, allocations: 45.69 kB / 0.5354 GB, free: 79.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.5149, allocations: 12.48 kB / 0.5354 GB, free: 79.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003775/0.5153, allocations: 190.1 kB / 0.5356 GB, free: 79.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003299/0.5156, allocations: 121.2 kB / 0.5357 GB, free: 79.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005819/0.5162, allocations: 217.4 kB / 0.5359 GB, free: 79.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-06/0.5162, allocations: 7.141 kB / 0.5359 GB, free: 79.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009239/0.5172, allocations: 335.8 kB / 0.5363 GB, free: 79.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5172, allocations: 6.188 kB / 0.5363 GB, free: 79.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5172, allocations: 1.781 kB / 0.5363 GB, free: 79.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.5174, allocations: 61.17 kB / 0.5363 GB, free: 79.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.5177, allocations: 57.95 kB / 0.5364 GB, free: 79.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.5193, allocations: 1.649 MB / 0.538 GB, free: 77.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.5196, allocations: 41.03 kB / 0.538 GB, free: 77.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.5197, allocations: 11.33 kB / 0.538 GB, free: 77.91 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 8.925e-05/0.5198, allocations: 185.5 kB / 0.5382 GB, free: 77.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.5198, allocations: 34.88 kB / 0.5382 GB, free: 77.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.5211, allocations: 0.6148 MB / 0.5388 GB, free: 77.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5212, allocations: 5.438 kB / 0.5388 GB, free: 77.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.5212, allocations: 0 / 0.5388 GB, free: 77.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5212, allocations: 6.062 kB / 0.5389 GB, free: 77.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.5217, allocations: 410.8 kB / 0.5392 GB, free: 77.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5217, allocations: 0 / 0.5392 GB, free: 77.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.5219, allocations: 45.84 kB / 0.5393 GB, free: 77.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006945/0.5227, allocations: 354.5 kB / 0.5396 GB, free: 77.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.5227, allocations: 9.656 kB / 0.5396 GB, free: 77.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006493/0.5233, allocations: 0.8566 MB / 0.5405 GB, free: 76.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5234, allocations: 4.688 kB / 0.5405 GB, free: 76.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.5248, allocations: 0.8221 MB / 0.5413 GB, free: 75.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5249, allocations: 127.8 kB / 0.5414 GB, free: 75.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.525, allocations: 6.234 kB / 0.5414 GB, free: 75.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5253, allocations: 34.14 kB / 0.5414 GB, free: 75.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.5254, allocations: 22.69 kB / 0.5415 GB, free: 75.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.5254, allocations: 10.94 kB / 0.5415 GB, free: 75.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.5256, allocations: 200 kB / 0.5417 GB, free: 75.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5256, allocations: 0 / 0.5417 GB, free: 75.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003381/0.529, allocations: 0.9159 MB / 0.5426 GB, free: 75.65 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.00369/0.5327, allocations: 1.016 MB / 0.5436 GB, free: 75.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.5342, allocations: 0.5345 MB / 0.5441 GB, free: 75.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5343, allocations: 0 / 0.5441 GB, free: 75.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.5348, allocations: 206.8 kB / 0.5443 GB, free: 75.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.5356, allocations: 139.5 kB / 0.5444 GB, free: 75.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.5369, allocations: 0.8583 MB / 0.5452 GB, free: 74.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.5372, allocations: 0.7837 MB / 0.546 GB, free: 73.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.5374, allocations: 75.19 kB / 0.5461 GB, free: 73.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.5375, allocations: 31.05 kB / 0.5461 GB, free: 73.89 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5375, allocations: 1.859 kB / 0.5461 GB, free: 73.89 MB / 414.1 MB Notification: Performance of Templates: time 0.03633/0.5739, allocations: 33.54 MB / 0.5789 GB, free: 45.28 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)