Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.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.0005731/0.0005731, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008487/0.001422, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006705/0.0006705, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000856/0.001526, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9279/0.9279, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08597/1.014, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.08425/0.08425, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0117/0.09595, allocations: 7.553 MB / 271.3 MB, free: 3.48 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.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.163e-05, allocations: 5.828 kB / 272.6 MB, free: 2.188 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.1581/0.1581, allocations: 51.56 MB / 324.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1604, allocations: 0.9822 MB / 325.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.1609, allocations: 39.56 kB / 325.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.1615, allocations: 285.4 kB / 325.4 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007242/0.1622, allocations: 464.5 kB / 325.9 MB, free: 8.375 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.1724, allocations: 4.264 MB / 330.2 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.174, allocations: 1.378 MB / 331.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.1745, allocations: 413.3 kB / 331.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.1753, allocations: 0.6733 MB / 332.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.1757, allocations: 330.8 kB / 332.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.1758, allocations: 39.94 kB / 333 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007791/0.1836, allocations: 4.42 MB / 337.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1837, allocations: 87.5 kB / 337.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.184, allocations: 211.5 kB / 337.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.1896, allocations: 2.802 MB / 340.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.1896, allocations: 0 / 340.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1896, allocations: 4 kB / 340.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.1896, allocations: 0 / 340.5 MB, free: 9.711 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001802/0.1914, allocations: 1.576 MB / 342.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1914, allocations: 12.03 kB / 342.1 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1915, allocations: 100.8 kB / 342.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.192, allocations: 425.3 kB / 342.6 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.192, allocations: 41.38 kB / 342.6 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1921, allocations: 48.38 kB / 342.7 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.1925, allocations: 0.5452 MB / 343.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1925, allocations: 7.938 kB / 343.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1925, allocations: 24 kB / 343.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.1925, allocations: 12 kB / 343.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1927, allocations: 163.4 kB / 343.4 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1951, allocations: 4.208 MB / 347.6 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.1951, allocations: 169.1 kB / 347.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.1952, allocations: 88.17 kB / 347.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1952, allocations: 75.28 kB / 348 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1952, allocations: 113.8 kB / 348.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1952, allocations: 0 / 348.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.061e-05/0.1953, allocations: 69.53 kB / 348.1 MB, free: 1.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1953, allocations: 130.7 kB / 348.3 MB, free: 1.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1956, allocations: 484 kB / 348.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.1956, allocations: 25.7 kB / 348.8 MB, free: 1.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1957, allocations: 328.7 kB / 349.1 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.1957, allocations: 0 / 349.1 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.1958, allocations: 41.64 kB / 349.1 MB, free: 0.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.1959, allocations: 362.7 kB / 349.5 MB, free: 312 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.1959, allocations: 8 kB / 349.5 MB, free: 304 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.1959, allocations: 87.16 kB / 349.6 MB, free: 180 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.196, allocations: 102.1 kB / 349.7 MB, free: 40 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.196, allocations: 0 / 349.7 MB, free: 40 kB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003116/0.1963, allocations: 133.5 kB / 349.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1963, allocations: 7.938 kB / 349.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1963, allocations: 4 kB / 349.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1963, allocations: 4 kB / 349.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.1964, allocations: 40.11 kB / 349.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1964, allocations: 8 kB / 349.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.1965, allocations: 11.89 kB / 349.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1965, allocations: 8 kB / 349.9 MB, free: 15.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.1966, allocations: 193.1 kB / 350.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1966, allocations: 132.9 kB / 350.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.1967, allocations: 152.7 kB / 350.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/0.1967, allocations: 180.3 kB / 350.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.461e-05/0.1968, allocations: 180.2 kB / 350.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.571e-05/0.1968, allocations: 180.2 kB / 350.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1971, allocations: 457.2 kB / 351.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/0.1971, allocations: 112.9 kB / 351.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.1971, allocations: 101 kB / 351.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1972, allocations: 148.6 kB / 351.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.507e-05/0.1972, allocations: 184.2 kB / 351.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.1972, allocations: 181.1 kB / 352 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.835e-05/0.1973, allocations: 180.2 kB / 352.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-05/0.1973, allocations: 180.3 kB / 352.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.1974, allocations: 335.7 kB / 352.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.1975, allocations: 180.5 kB / 352.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.1976, allocations: 114.1 kB / 353 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1976, allocations: 184.2 kB / 353.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.1977, allocations: 108.9 kB / 353.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1978, allocations: 220.6 kB / 353.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1978, allocations: 0 / 353.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001637/0.1994, allocations: 0.7984 MB / 354.3 MB, free: 11.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/0.2013, allocations: 1.123 MB / 355.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.974e-05/0.2014, allocations: 40.72 kB / 355.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.2014, allocations: 8 kB / 355.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.2014, allocations: 0 / 355.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.2021, allocations: 0.7314 MB / 356.2 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.2083, allocations: 0.9546 MB / 357.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.363e-05/0.2084, allocations: 117.2 kB / 357.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.2086, allocations: 86.95 kB / 357.4 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.2088, allocations: 169.2 kB / 357.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2088, allocations: 0 / 357.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of Templates: time 0.02526/0.2341, allocations: 25.24 MB / 382.8 MB, free: 14.86 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0827765241265297]