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.0009408/0.0009408, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009587/0.0009587, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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.9512/0.9512, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.09769/0.09769, allocations: 19.73 MB / 281.5 MB, free: 9.344 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.313e-06/1.313e-06, allocations: 0 / 357.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.693e-05, allocations: 5.266 kB / 357.9 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.02412/0.02414, allocations: 35.5 MB / 393.4 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.03106, allocations: 8.412 MB / 401.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.03127, allocations: 15.88 kB / 401.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.03165, allocations: 134.9 kB / 402 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.03218, allocations: 294.1 kB / 402.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006712/0.0389, allocations: 4.534 MB / 406.8 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.03937, allocations: 0.6461 MB / 407.5 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.03961, allocations: 208.2 kB / 407.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.04018, allocations: 0.5302 MB / 408.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.04041, allocations: 243.3 kB / 408.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.04044, allocations: 24 kB / 408.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1302/0.1706, allocations: 5.905 MB / 414.4 MB, free: 22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1707, allocations: 69.64 kB / 414.4 MB, free: 22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.1709, allocations: 126.4 kB / 414.6 MB, free: 22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006471/0.1774, allocations: 4.545 MB / 419.1 MB, free: 21.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1774, allocations: 4.688 kB / 419.1 MB, free: 21.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1774, allocations: 0 / 419.1 MB, free: 21.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1774, allocations: 0 / 419.1 MB, free: 21.99 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.002352/0.1797, allocations: 1.091 MB / 420.2 MB, free: 21.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1798, allocations: 9.188 kB / 420.2 MB, free: 21.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.18, allocations: 83.7 kB / 420.3 MB, free: 21.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1802, allocations: 262.2 kB / 420.6 MB, free: 21.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.1803, allocations: 129.9 kB / 420.7 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.1804, allocations: 23.59 kB / 420.7 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.1808, allocations: 301.6 kB / 421 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1808, allocations: 3.375 kB / 421 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.1808, allocations: 14.88 kB / 421 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1808, allocations: 6.344 kB / 421 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.1811, allocations: 127.1 kB / 421.1 MB, free: 20.89 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.0008143/0.1819, allocations: 1.061 MB / 422.2 MB, free: 20.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.1822, allocations: 139.8 kB / 422.3 MB, free: 20.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.1823, allocations: 51.83 kB / 422.4 MB, free: 20.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02784/0.2101, allocations: 17.57 MB / 440 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2101, allocations: 40.23 kB / 440 MB, free: 17.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.2101, allocations: 0 / 440 MB, free: 17.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001248/0.2114, allocations: 488.5 kB / 440.5 MB, free: 16.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.2114, allocations: 59.22 kB / 440.5 MB, free: 16.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.2115, allocations: 300.9 kB / 440.8 MB, free: 16.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2115, allocations: 33.08 kB / 440.9 MB, free: 16.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.2116, allocations: 233.4 kB / 441.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2116, allocations: 75.42 kB / 441.2 MB, free: 16.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.2117, allocations: 50.55 kB / 441.2 MB, free: 16.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.2118, allocations: 0.5068 MB / 441.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/0.2118, allocations: 47.8 kB / 441.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.2119, allocations: 84.77 kB / 441.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2121, allocations: 135.9 kB / 442 MB, free: 15.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2121, allocations: 0 / 442 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004013/0.2125, allocations: 276.3 kB / 442.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2125, allocations: 12.09 kB / 442.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2125, allocations: 0 / 442.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.2129, allocations: 146.2 kB / 442.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.213, allocations: 34.67 kB / 442.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003773/0.2134, allocations: 0.903 MB / 443.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2135, allocations: 35.08 kB / 443.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.2135, allocations: 11.38 kB / 443.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.873e-05/0.2136, allocations: 162.4 kB / 443.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.29e-05/0.2137, allocations: 79 kB / 443.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000124/0.2138, allocations: 114.9 kB / 443.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.2138, allocations: 0 / 443.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002879/0.2141, allocations: 234.8 kB / 444 MB, free: 13.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.2141, allocations: 4 kB / 444 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/0.2141, allocations: 0 / 444 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.2142, allocations: 61.53 kB / 444 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2143, allocations: 44.5 kB / 444.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008765/0.2152, allocations: 2.204 MB / 446.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.2153, allocations: 27.5 kB / 446.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2153, allocations: 8.031 kB / 446.3 MB, free: 11.21 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 6.217e-05/0.2154, allocations: 279.6 kB / 446.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.2154, allocations: 31.86 kB / 446.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.2158, allocations: 398.6 kB / 447 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2158, allocations: 9.406 kB / 447 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2158, allocations: 0 / 447 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2158, allocations: 0 / 447 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.216, allocations: 286.2 kB / 447.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.216, allocations: 0 / 447.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.2161, allocations: 35.78 kB / 447.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/0.2163, allocations: 193.8 kB / 447.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2163, allocations: 11.56 kB / 447.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004594/0.2168, allocations: 0.9886 MB / 448.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2168, allocations: 4 kB / 448.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.2172, allocations: 0.5475 MB / 449.1 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.2173, allocations: 57.61 kB / 449.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.2173, allocations: 3.938 kB / 449.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.2174, allocations: 21.73 kB / 449.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.2175, allocations: 26.83 kB / 449.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2175, allocations: 7.5 kB / 449.2 MB, free: 8.488 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.832e-05/0.2176, allocations: 208.1 kB / 449.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2176, allocations: 0 / 449.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001953/0.2195, allocations: 0.9359 MB / 450.3 MB, free: 7.402 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.002201/0.2217, allocations: 1.135 MB / 451.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.2223, allocations: 461.6 kB / 451.9 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2223, allocations: 2.625 kB / 451.9 MB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.2225, allocations: 158.7 kB / 452.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2229, allocations: 127.6 kB / 452.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2239, allocations: 0.7026 MB / 452.9 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.224, allocations: 104.1 kB / 453 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2241, allocations: 68.25 kB / 453.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.2241, allocations: 29.5 kB / 453.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2241, allocations: 0 / 453.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of Templates: time 0.03035/0.2545, allocations: 34.6 MB / 487.7 MB, free: 2.441 MB / 362.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.309676161967218]