Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009334/0.0009334, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9753/0.9753, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.0874/0.0874, allocations: 19.74 MB / 281.2 MB, free: 9.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 358 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.43e-05, allocations: 6.25 kB / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.02534/0.02535, allocations: 38.57 MB / 396.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008238/0.03359, allocations: 9.466 MB / 406 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.03387, allocations: 43.56 kB / 406.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.03443, allocations: 289.6 kB / 406.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009847/0.03541, allocations: 0.7373 MB / 407.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.131/0.1664, allocations: 5.43 MB / 412.5 MB, free: 21.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.1684, allocations: 1.785 MB / 414.3 MB, free: 20.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006942/0.1691, allocations: 0.5134 MB / 414.8 MB, free: 20.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.1711, allocations: 1.52 MB / 416.3 MB, free: 20.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009192/0.172, allocations: 0.6585 MB / 417 MB, free: 20.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.1722, allocations: 65.34 kB / 417 MB, free: 20.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008679/0.1808, allocations: 6.008 MB / 423.1 MB, free: 20.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.181, allocations: 187.4 kB / 423.2 MB, free: 20.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.1813, allocations: 329.1 kB / 423.6 MB, free: 20.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00556/0.1868, allocations: 5.013 MB / 428.6 MB, free: 20.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1868, allocations: 7.797 kB / 428.6 MB, free: 20.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1868, allocations: 0 / 428.6 MB, free: 20.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.1869, allocations: 0 / 428.6 MB, free: 20.54 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002751/0.1896, allocations: 1.691 MB / 430.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1896, allocations: 9.094 kB / 430.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.19, allocations: 230.7 kB / 430.5 MB, free: 19.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.1905, allocations: 0.5247 MB / 431 MB, free: 19.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.1906, allocations: 382.5 kB / 431.4 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.1907, allocations: 68.94 kB / 431.5 MB, free: 18.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.1916, allocations: 0.7196 MB / 432.2 MB, free: 18.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1916, allocations: 0 / 432.2 MB, free: 18.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.1916, allocations: 31.16 kB / 432.2 MB, free: 18.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1916, allocations: 17.53 kB / 432.2 MB, free: 18.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.1922, allocations: 373 kB / 432.6 MB, free: 18.73 MB / 330.7 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.001748/0.1939, allocations: 2.615 MB / 435.2 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.1946, allocations: 433.7 kB / 435.6 MB, free: 17.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1947, allocations: 119 kB / 435.8 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02703/0.2218, allocations: 17.57 MB / 453.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2218, allocations: 41.58 kB / 453.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/0.2218, allocations: 4 kB / 453.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002515/0.2243, allocations: 1.112 MB / 454.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2243, allocations: 59.91 kB / 454.5 MB, free: 4.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.2246, allocations: 0.5146 MB / 455.1 MB, free: 3.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2246, allocations: 37.27 kB / 455.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2248, allocations: 423.8 kB / 455.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.2248, allocations: 195.1 kB / 455.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.2249, allocations: 109 kB / 455.8 MB, free: 2.977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.225, allocations: 0.5481 MB / 456.3 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2252, allocations: 104.6 kB / 456.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.2253, allocations: 244.2 kB / 456.7 MB, free: 2.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.2257, allocations: 371.4 kB / 457.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2257, allocations: 0 / 457.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008254/0.2265, allocations: 0.6591 MB / 457.7 MB, free: 1.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2265, allocations: 4 kB / 457.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2265, allocations: 7.938 kB / 457.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009301/0.2275, allocations: 406.6 kB / 458.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.2276, allocations: 66.75 kB / 458.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.2288, allocations: 2.705 MB / 460.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.2291, allocations: 58.92 kB / 460.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.2291, allocations: 35.55 kB / 461 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002244/0.2293, allocations: 225.8 kB / 461.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001864/0.2295, allocations: 231.2 kB / 461.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003239/0.2298, allocations: 334 kB / 461.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2298, allocations: 0 / 461.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0008505/0.2307, allocations: 0.5801 MB / 462.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.2307, allocations: 4 kB / 462.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2307, allocations: 4 kB / 462.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.231, allocations: 175.2 kB / 462.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2312, allocations: 106.2 kB / 462.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.2346, allocations: 6.587 MB / 469.2 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.2348, allocations: 47.75 kB / 469.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2348, allocations: 22.94 kB / 469.3 MB, free: 5.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,7), (4,7), (4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.2351, allocations: 303.5 kB / 469.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.2352, allocations: 83.58 kB / 469.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.2363, allocations: 0.9899 MB / 470.6 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.2363, allocations: 15.98 kB / 470.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.2363, allocations: 0 / 470.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2363, allocations: 7.984 kB / 470.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.2368, allocations: 0.5663 MB / 471.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2368, allocations: 0 / 471.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.237, allocations: 67.62 kB / 471.3 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006139/0.2376, allocations: 0.5556 MB / 471.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.2376, allocations: 15.94 kB / 471.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.239, allocations: 2.967 MB / 474.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.239, allocations: 7.938 kB / 474.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.2401, allocations: 1.2 MB / 476 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2403, allocations: 123.2 kB / 476.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.2403, allocations: 4 kB / 476.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2405, allocations: 35.86 kB / 476.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.2406, allocations: 52.41 kB / 476.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.2406, allocations: 16 kB / 476.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.2408, allocations: 334.8 kB / 476.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2408, allocations: 0 / 476.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003084/0.2439, allocations: 1.197 MB / 477.8 MB, free: 12.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,8), (2,8), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002556/0.2464, allocations: 1.182 MB / 479 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.2478, allocations: 1.261 MB / 480.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2478, allocations: 0 / 480.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.2484, allocations: 415.3 kB / 480.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.2493, allocations: 299.1 kB / 480.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.2514, allocations: 1.672 MB / 482.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2515, allocations: 180.8 kB / 482.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.2518, allocations: 192 kB / 483 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.2518, allocations: 48.5 kB / 483 MB, free: 7.547 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2518, allocations: 0 / 483 MB, free: 7.547 MB / 362.7 MB Notification: Performance of Templates: time 0.04857/0.3004, allocations: 42.84 MB / 0.5135 GB, free: 13.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.884697704110295]