Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.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.000861/0.000861, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009243/0.0009243, allocations: 161 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.9517/0.9517, allocations: 177.1 MB / 205 MB, free: 5.641 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.1281/0.1281, allocations: 19.74 MB / 281.2 MB, free: 9.266 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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.92e-05, allocations: 2.312 kB / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.02742/0.02745, allocations: 21.54 MB / 379.5 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008383/0.03583, allocations: 8.424 MB / 387.9 MB, free: 8.527 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.03622, allocations: 11.88 kB / 387.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.0367, allocations: 123 kB / 388.1 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.03744, allocations: 294 kB / 388.3 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008944/0.04639, allocations: 4.542 MB / 392.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000704/0.04709, allocations: 0.65 MB / 393.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.0474, allocations: 197.6 kB / 393.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.04813, allocations: 0.5341 MB / 394.3 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.04841, allocations: 247.3 kB / 394.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.04845, allocations: 24 kB / 394.5 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008195/0.05664, allocations: 5.915 MB / 400.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.05675, allocations: 71.67 kB / 400.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.05693, allocations: 127.7 kB / 400.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.06314, allocations: 4.541 MB / 405.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.06315, allocations: 0 / 405.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.06315, allocations: 0 / 405.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.06316, allocations: 4 kB / 405.2 MB, free: 7.227 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00198/0.06514, allocations: 1.085 MB / 406.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.06519, allocations: 12.03 kB / 406.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.06544, allocations: 96.52 kB / 406.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.06584, allocations: 264.5 kB / 406.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.06595, allocations: 127.9 kB / 406.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.066, allocations: 24.38 kB / 406.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.06649, allocations: 300.9 kB / 407.1 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.0665, allocations: 7.938 kB / 407.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.06652, allocations: 8 kB / 407.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.06653, allocations: 8 kB / 407.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.06677, allocations: 130.8 kB / 407.2 MB, free: 5.066 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.001008/0.06778, allocations: 1.061 MB / 408.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.06809, allocations: 138 kB / 408.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.06817, allocations: 51.94 kB / 408.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1617/0.2299, allocations: 17.56 MB / 426 MB, free: 40.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.2299, allocations: 39.05 kB / 426.1 MB, free: 40.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.2299, allocations: 0 / 426.1 MB, free: 40.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001409/0.2313, allocations: 485.4 kB / 426.5 MB, free: 40.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.2314, allocations: 57.84 kB / 426.6 MB, free: 40.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.2315, allocations: 300.3 kB / 426.9 MB, free: 39.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2316, allocations: 29.58 kB / 426.9 MB, free: 39.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.2316, allocations: 238.7 kB / 427.1 MB, free: 39.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.2317, allocations: 75.19 kB / 427.2 MB, free: 39.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.636e-05/0.2318, allocations: 49.39 kB / 427.3 MB, free: 39.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.2318, allocations: 0.5038 MB / 427.8 MB, free: 39.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.2319, allocations: 50.34 kB / 427.8 MB, free: 39.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.232, allocations: 90.89 kB / 427.9 MB, free: 39.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.2322, allocations: 128.8 kB / 428 MB, free: 39.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2322, allocations: 3.75 kB / 428 MB, free: 39.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004413/0.2326, allocations: 282.9 kB / 428.3 MB, free: 38.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2326, allocations: 7.031 kB / 428.3 MB, free: 38.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2326, allocations: 0 / 428.3 MB, free: 38.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/0.2332, allocations: 143.3 kB / 428.5 MB, free: 38.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2333, allocations: 31.84 kB / 428.5 MB, free: 38.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004425/0.2337, allocations: 0.9107 MB / 429.4 MB, free: 38.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2338, allocations: 25.92 kB / 429.4 MB, free: 38.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2339, allocations: 14.7 kB / 429.4 MB, free: 38.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001172/0.234, allocations: 158.6 kB / 429.6 MB, free: 37.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.226e-05/0.2341, allocations: 76 kB / 429.7 MB, free: 37.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001224/0.2342, allocations: 118.2 kB / 429.8 MB, free: 37.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.2342, allocations: 7.938 kB / 429.8 MB, free: 37.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002988/0.2345, allocations: 235.7 kB / 430 MB, free: 37.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.2345, allocations: 3.875 kB / 430 MB, free: 37.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.2345, allocations: 3.938 kB / 430 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.2346, allocations: 64.16 kB / 430.1 MB, free: 37.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2348, allocations: 35.36 kB / 430.1 MB, free: 37.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.2359, allocations: 2.194 MB / 432.3 MB, free: 35.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.236, allocations: 29.42 kB / 432.4 MB, free: 35.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.236, allocations: 5.312 kB / 432.4 MB, free: 35.84 MB / 330.7 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 (14): * Single equations (assignments): 13 * 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 {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.2361, allocations: 280.7 kB / 432.6 MB, free: 35.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.2361, allocations: 35.62 kB / 432.7 MB, free: 35.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.2366, allocations: 400.3 kB / 433.1 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2366, allocations: 9.5 kB / 433.1 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2366, allocations: 0 / 433.1 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2366, allocations: 2.016 kB / 433.1 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.2368, allocations: 285.1 kB / 433.4 MB, free: 35.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2368, allocations: 0 / 433.4 MB, free: 35.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2369, allocations: 38.62 kB / 433.4 MB, free: 35.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.2372, allocations: 194.2 kB / 433.6 MB, free: 35.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.2372, allocations: 4.609 kB / 433.6 MB, free: 35.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004033/0.2376, allocations: 0.9925 MB / 434.6 MB, free: 34.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2376, allocations: 3.719 kB / 434.6 MB, free: 34.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.2381, allocations: 0.5482 MB / 435.1 MB, free: 34.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.2382, allocations: 54.25 kB / 435.2 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.2382, allocations: 6.312 kB / 435.2 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.2383, allocations: 18.28 kB / 435.2 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.2384, allocations: 24.92 kB / 435.2 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2384, allocations: 3.531 kB / 435.2 MB, free: 34.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.2385, allocations: 208.2 kB / 435.4 MB, free: 34.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2385, allocations: 4 kB / 435.4 MB, free: 34.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002075/0.2406, allocations: 0.9324 MB / 436.4 MB, free: 33.28 MB / 330.7 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.003014/0.2436, allocations: 1.13 MB / 437.5 MB, free: 32.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.2443, allocations: 470.2 kB / 438 MB, free: 31.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2443, allocations: 0 / 438 MB, free: 31.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.2445, allocations: 150.4 kB / 438.1 MB, free: 31.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.245, allocations: 125 kB / 438.2 MB, free: 31.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2462, allocations: 0.7367 MB / 439 MB, free: 31.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.2463, allocations: 96.03 kB / 439.1 MB, free: 31.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.2464, allocations: 71.2 kB / 439.1 MB, free: 31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.2465, allocations: 28.44 kB / 439.2 MB, free: 30.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2465, allocations: 1.641 kB / 439.2 MB, free: 30.98 MB / 330.7 MB Notification: Performance of Templates: time 0.03028/0.2767, allocations: 34.59 MB / 473.7 MB, free: 12.79 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.572293953970075]