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.0009141/0.0009141, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001043/0.001043, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.8996/0.8996, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.1048/0.1048, allocations: 19.74 MB / 281.5 MB, free: 9.07 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.352e-06/1.352e-06, allocations: 0 / 358.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.446e-05, allocations: 2.312 kB / 358.4 MB, free: 7.359 MB / 330.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.05284/0.05286, allocations: 74.58 MB / 433 MB, free: 12.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.05459, allocations: 0.9231 MB / 433.9 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003091/0.0549, allocations: 39.56 kB / 434 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.05547, allocations: 305.4 kB / 434.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007429/0.05621, allocations: 452.6 kB / 434.7 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007638/0.06385, allocations: 4.545 MB / 439.3 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.06481, allocations: 1.377 MB / 440.6 MB, free: 5.078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.06518, allocations: 395.4 kB / 441 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004439/0.06562, allocations: 0.6272 MB / 441.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.06618, allocations: 366.8 kB / 442 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.06622, allocations: 36 kB / 442.1 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1289/0.1951, allocations: 4.159 MB / 446.2 MB, free: 72.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1952, allocations: 116.5 kB / 446.3 MB, free: 72.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.1955, allocations: 231.7 kB / 446.6 MB, free: 72.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004296/0.1998, allocations: 3.511 MB / 450.1 MB, free: 72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1998, allocations: 0 / 450.1 MB, free: 72 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1998, allocations: 0 / 450.1 MB, free: 72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1998, allocations: 2.594 kB / 450.1 MB, free: 72 MB / 410.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.001295/0.2011, allocations: 1.34 MB / 451.4 MB, free: 71.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2011, allocations: 9.844 kB / 451.4 MB, free: 71.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.498e-05/0.2012, allocations: 135.9 kB / 451.5 MB, free: 71.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.2016, allocations: 453.9 kB / 452 MB, free: 70.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2016, allocations: 36.31 kB / 452 MB, free: 70.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.2016, allocations: 47.97 kB / 452.1 MB, free: 70.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.2019, allocations: 0.6222 MB / 452.7 MB, free: 70.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.202, allocations: 10.31 kB / 452.7 MB, free: 70.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.202, allocations: 21.75 kB / 452.7 MB, free: 70.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.202, allocations: 16.69 kB / 452.7 MB, free: 70.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.2021, allocations: 173.2 kB / 452.9 MB, free: 70.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.2037, allocations: 6.147 MB / 459.1 MB, free: 65.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.2038, allocations: 268.1 kB / 459.3 MB, free: 64.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.2038, allocations: 130.7 kB / 459.4 MB, free: 64.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2038, allocations: 125 kB / 459.6 MB, free: 64.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.2038, allocations: 152.6 kB / 459.7 MB, free: 64.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.2038, allocations: 1.781 kB / 459.7 MB, free: 64.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.667e-05/0.2039, allocations: 89.7 kB / 459.8 MB, free: 64.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.2039, allocations: 173.8 kB / 460 MB, free: 64.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.2041, allocations: 0.5237 MB / 460.5 MB, free: 63.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-06/0.2041, allocations: 25.7 kB / 460.5 MB, free: 63.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2043, allocations: 470.5 kB / 461 MB, free: 63.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.2043, allocations: 0 / 461 MB, free: 63.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.2043, allocations: 44.56 kB / 461 MB, free: 63.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.2043, allocations: 0.5353 MB / 461.6 MB, free: 63.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.2044, allocations: 9.828 kB / 461.6 MB, free: 63.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.2044, allocations: 120.4 kB / 461.7 MB, free: 63.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.2045, allocations: 134.5 kB / 461.8 MB, free: 62.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2045, allocations: 0.9375 kB / 461.8 MB, free: 62.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001523/0.2046, allocations: 162.2 kB / 462 MB, free: 62.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2046, allocations: 7.656 kB / 462 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2046, allocations: 9.203 kB / 462 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.2046, allocations: 4.203 kB / 462 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.2047, allocations: 26.88 kB / 462 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2047, allocations: 10.69 kB / 462 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.2048, allocations: 14.05 kB / 462.1 MB, free: 62.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2048, allocations: 5.969 kB / 462.1 MB, free: 62.83 MB / 410.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 7.612e-05/0.2049, allocations: 286.6 kB / 462.3 MB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.2049, allocations: 206.4 kB / 462.5 MB, free: 62.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.2049, allocations: 202.6 kB / 462.7 MB, free: 62.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.205, allocations: 264.1 kB / 463 MB, free: 61.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.205, allocations: 270.7 kB / 463.3 MB, free: 61.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.205, allocations: 269.7 kB / 463.5 MB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2052, allocations: 0.6082 MB / 464.1 MB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.2052, allocations: 148.9 kB / 464.3 MB, free: 60.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.2052, allocations: 149.9 kB / 464.4 MB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/0.2052, allocations: 268.7 kB / 464.7 MB, free: 60.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2053, allocations: 272.1 kB / 465 MB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.807e-05/0.2053, allocations: 267.6 kB / 465.2 MB, free: 59.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.079e-05/0.2053, allocations: 282.1 kB / 465.5 MB, free: 59.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.567e-05/0.2054, allocations: 496.1 kB / 466 MB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2054, allocations: 187 kB / 466.2 MB, free: 58.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.2055, allocations: 270.7 kB / 466.4 MB, free: 58.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.2055, allocations: 152.2 kB / 466.6 MB, free: 58.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.2055, allocations: 273.1 kB / 466.8 MB, free: 58.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2055, allocations: 148 kB / 467 MB, free: 58.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.2057, allocations: 332.2 kB / 467.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2057, allocations: 2.688 kB / 467.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001071/0.2067, allocations: 0.7899 MB / 468.1 MB, free: 57.79 MB / 410.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.001552/0.2083, allocations: 1.153 MB / 469.3 MB, free: 57.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.2084, allocations: 45.47 kB / 469.3 MB, free: 57.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2084, allocations: 0 / 469.3 MB, free: 57.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.2084, allocations: 0 / 469.3 MB, free: 57.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.209, allocations: 0.9375 MB / 470.2 MB, free: 56.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.2098, allocations: 0.9904 MB / 471.2 MB, free: 56.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.434e-05/0.2099, allocations: 117.2 kB / 471.3 MB, free: 56.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.21, allocations: 88.55 kB / 471.4 MB, free: 56.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.2102, allocations: 205.7 kB / 471.6 MB, free: 56 MB / 410.7 MB Notification: Performance of SimCode: time 5.92e-07/0.2102, allocations: 3.5 kB / 471.6 MB, free: 56 MB / 410.7 MB Notification: Performance of Templates: time 0.02249/0.2327, allocations: 25.34 MB / 497 MB, free: 54.61 MB / 410.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 & (cd run_cvode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_gbode.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_gbode.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_gbode.sim & (cd run_gbode && ../ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_gbode.pipe 2>&1) [Timeout 240] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_ida.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_ida.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_ida.sim & (cd run_ida && ../ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.338207457680255]