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.001016/0.001016, allocations: 83.58 kB / 21.19 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.001058/0.001058, 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.9041/0.9041, allocations: 177.1 MB / 205 MB, free: 5.621 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.08937/0.08937, allocations: 19.74 MB / 281.2 MB, free: 9.25 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 1.392e-06/1.392e-06, allocations: 0 / 358 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.357e-05, allocations: 8.781 kB / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.01675/0.01678, allocations: 21.53 MB / 379.5 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007102/0.02388, allocations: 8.416 MB / 387.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.02426, allocations: 15.88 kB / 387.9 MB, free: 8.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.02473, allocations: 123 kB / 388.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006908/0.02542, allocations: 290 kB / 388.3 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009338/0.03476, allocations: 4.549 MB / 392.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.03552, allocations: 0.65 MB / 393.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.03579, allocations: 197.6 kB / 393.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.03644, allocations: 0.5302 MB / 394.3 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.0367, allocations: 247.3 kB / 394.5 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.03674, allocations: 28 kB / 394.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007537/0.04428, allocations: 5.903 MB / 400.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.04438, allocations: 79.66 kB / 400.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.04452, allocations: 119.8 kB / 400.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005388/0.04991, allocations: 4.552 MB / 405.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.04991, allocations: 0 / 405.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.04992, allocations: 0 / 405.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.04992, allocations: 0 / 405.2 MB, free: 7.23 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.001637/0.05156, allocations: 1.085 MB / 406.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.0516, allocations: 12.03 kB / 406.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.05178, allocations: 84.58 kB / 406.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.05206, allocations: 268.4 kB / 406.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.05215, allocations: 127.9 kB / 406.7 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.05218, allocations: 24.38 kB / 406.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.05262, allocations: 308.9 kB / 407.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.05263, allocations: 3.938 kB / 407.1 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.05265, allocations: 15.94 kB / 407.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.05266, allocations: 8 kB / 407.1 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.05287, 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.0009186/0.05379, allocations: 1.057 MB / 408.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.05407, allocations: 139 kB / 408.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.05414, allocations: 54.52 kB / 408.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1549/0.209, allocations: 17.55 MB / 426 MB, free: 39.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.2091, allocations: 40.08 kB / 426.1 MB, free: 39.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/0.2091, allocations: 0 / 426.1 MB, free: 39.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001306/0.2104, allocations: 484.3 kB / 426.5 MB, free: 39.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2104, allocations: 57.47 kB / 426.6 MB, free: 39.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2106, allocations: 304.8 kB / 426.9 MB, free: 39.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2106, allocations: 29.02 kB / 426.9 MB, free: 39.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.2106, allocations: 234.3 kB / 427.1 MB, free: 39.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.2107, allocations: 73.08 kB / 427.2 MB, free: 39.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.2107, allocations: 50.31 kB / 427.3 MB, free: 39.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.2108, allocations: 0.5081 MB / 427.8 MB, free: 38.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.2109, allocations: 56.03 kB / 427.8 MB, free: 38.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.211, allocations: 87.62 kB / 427.9 MB, free: 38.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2111, allocations: 125.2 kB / 428 MB, free: 38.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2111, allocations: 10.38 kB / 428 MB, free: 38.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004043/0.2115, allocations: 275 kB / 428.3 MB, free: 38.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2115, allocations: 6.531 kB / 428.3 MB, free: 38.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2115, allocations: 0 / 428.3 MB, free: 38.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.212, allocations: 146.2 kB / 428.5 MB, free: 38.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.2121, allocations: 33.84 kB / 428.5 MB, free: 38.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003854/0.2124, allocations: 0.9114 MB / 429.4 MB, free: 37.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2125, allocations: 28.41 kB / 429.4 MB, free: 37.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2126, allocations: 10.81 kB / 429.4 MB, free: 37.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.25e-05/0.2127, allocations: 161.1 kB / 429.6 MB, free: 37.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.272e-05/0.2127, allocations: 79.5 kB / 429.7 MB, free: 37.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001115/0.2128, allocations: 119.4 kB / 429.8 MB, free: 37.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/0.2128, allocations: 0 / 429.8 MB, free: 37.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002575/0.2131, allocations: 221.5 kB / 430 MB, free: 37.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.2131, allocations: 9.438 kB / 430 MB, free: 37.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.2131, allocations: 8.031 kB / 430 MB, free: 37.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.2132, allocations: 57.16 kB / 430.1 MB, free: 37.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2133, allocations: 47.25 kB / 430.1 MB, free: 37.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/0.2143, allocations: 2.191 MB / 432.3 MB, free: 35.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.2144, allocations: 26.17 kB / 432.3 MB, free: 35.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2144, allocations: 12.45 kB / 432.4 MB, free: 35.52 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.211e-05/0.2145, allocations: 274.5 kB / 432.6 MB, free: 35.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.2145, allocations: 38.81 kB / 432.7 MB, free: 35.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.215, allocations: 403.1 kB / 433.1 MB, free: 35.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.215, allocations: 5.984 kB / 433.1 MB, free: 35.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.215, allocations: 0 / 433.1 MB, free: 35.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.215, allocations: 0 / 433.1 MB, free: 35.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.2152, allocations: 287.6 kB / 433.3 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2152, allocations: 0 / 433.3 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.2153, allocations: 37.12 kB / 433.4 MB, free: 35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.2155, allocations: 195.1 kB / 433.6 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2155, allocations: 6.812 kB / 433.6 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000348/0.2159, allocations: 0.9937 MB / 434.6 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2159, allocations: 0.875 kB / 434.6 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.2163, allocations: 0.5496 MB / 435.1 MB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.2164, allocations: 51.56 kB / 435.2 MB, free: 33.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.2164, allocations: 6.781 kB / 435.2 MB, free: 33.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.2165, allocations: 19.77 kB / 435.2 MB, free: 33.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.2165, allocations: 22.28 kB / 435.2 MB, free: 33.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2165, allocations: 13.75 kB / 435.2 MB, free: 33.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.404e-05/0.2166, allocations: 203.6 kB / 435.4 MB, free: 33.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2166, allocations: 0 / 435.4 MB, free: 33.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001654/0.2183, allocations: 0.9344 MB / 436.4 MB, free: 33.08 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.002252/0.2205, allocations: 1.14 MB / 437.5 MB, free: 32.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.2211, allocations: 469.7 kB / 438 MB, free: 31.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2211, allocations: 2.516 kB / 438 MB, free: 31.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.2213, allocations: 146 kB / 438.1 MB, free: 31.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.2217, allocations: 125.1 kB / 438.2 MB, free: 31.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2228, allocations: 0.7317 MB / 439 MB, free: 30.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.2228, allocations: 100.5 kB / 439.1 MB, free: 30.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.2229, allocations: 67.02 kB / 439.1 MB, free: 30.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.223, allocations: 26.69 kB / 439.2 MB, free: 30.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.223, allocations: 0 / 439.2 MB, free: 30.79 MB / 330.7 MB Notification: Performance of Templates: time 0.03184/0.2548, allocations: 39.66 MB / 478.8 MB, free: 7.539 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.880439409986138]