Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.000859/0.000859, allocations: 83.59 kB / 21.18 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.0008797/0.0008797, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7673/0.7673, allocations: 158.6 MB / 186.4 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1628/0.1628, allocations: 36.33 MB / 275.1 MB, free: 10.65 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.887e-05, allocations: 2.312 kB / 353.8 MB, free: 3.414 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297: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 master/Water.mo:297:5-297: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.06141/0.06143, allocations: 75.26 MB / 429.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.06355, allocations: 0.9269 MB / 430 MB, free: 6.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.06387, allocations: 35.56 kB / 430 MB, free: 6.938 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.06455, allocations: 309.3 kB / 430.3 MB, free: 6.633 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.0652, allocations: 456.5 kB / 430.8 MB, free: 6.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009848/0.07505, allocations: 4.53 MB / 435.3 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.07647, allocations: 1.377 MB / 436.7 MB, free: 256 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.131/0.2075, allocations: 388.7 kB / 437.1 MB, free: 40.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009227/0.2084, allocations: 0.6319 MB / 437.7 MB, free: 40.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.2088, allocations: 352.7 kB / 438 MB, free: 40.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.2089, allocations: 35.84 kB / 438.1 MB, free: 40.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00595/0.2148, allocations: 4.159 MB / 442.2 MB, free: 40.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.2149, allocations: 111.3 kB / 442.3 MB, free: 40.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.2151, allocations: 237.1 kB / 442.6 MB, free: 40.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.2193, allocations: 3.491 MB / 446.1 MB, free: 40.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2193, allocations: 0 / 446.1 MB, free: 40.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2193, allocations: 0 / 446.1 MB, free: 40.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2194, allocations: 0 / 446.1 MB, free: 40.37 MB / 362.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.001507/0.2209, allocations: 1.341 MB / 447.4 MB, free: 39.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2209, allocations: 7.156 kB / 447.4 MB, free: 39.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/0.221, allocations: 135.1 kB / 447.5 MB, free: 39.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.2214, allocations: 452.8 kB / 448 MB, free: 39.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.2214, allocations: 37.47 kB / 448 MB, free: 39.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.2214, allocations: 48.38 kB / 448.1 MB, free: 39.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.2218, allocations: 0.6516 MB / 448.7 MB, free: 38.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2218, allocations: 11.28 kB / 448.7 MB, free: 38.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.2218, allocations: 21.16 kB / 448.8 MB, free: 38.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2218, allocations: 19.02 kB / 448.8 MB, free: 38.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.222, allocations: 193 kB / 449 MB, free: 38.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.2236, allocations: 6.246 MB / 455.2 MB, free: 33.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/0.2236, allocations: 268.4 kB / 455.5 MB, free: 33.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.2236, allocations: 126.9 kB / 455.6 MB, free: 33.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.2236, allocations: 119.2 kB / 455.7 MB, free: 32.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2237, allocations: 160.5 kB / 455.9 MB, free: 32.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.2237, allocations: 1.734 kB / 455.9 MB, free: 32.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.771e-05/0.2237, allocations: 80.12 kB / 455.9 MB, free: 32.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2238, allocations: 183.8 kB / 456.1 MB, free: 32.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.224, allocations: 0.5267 MB / 456.7 MB, free: 32.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-06/0.224, allocations: 25.7 kB / 456.7 MB, free: 32.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.2242, allocations: 467.2 kB / 457.1 MB, free: 32.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.2242, allocations: 3.125 kB / 457.1 MB, free: 32.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.2242, allocations: 41.97 kB / 457.2 MB, free: 32.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.2243, allocations: 0.5288 MB / 457.7 MB, free: 31.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.2243, allocations: 15.03 kB / 457.7 MB, free: 31.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.2243, allocations: 115.6 kB / 457.8 MB, free: 31.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.965e-05/0.2244, allocations: 137 kB / 458 MB, free: 31.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2244, allocations: 0 / 458 MB, free: 31.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001804/0.2246, allocations: 171.2 kB / 458.1 MB, free: 31.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2246, allocations: 12.97 kB / 458.2 MB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2246, allocations: 3.188 kB / 458.2 MB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2246, allocations: 1.75 kB / 458.2 MB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.2247, allocations: 34.64 kB / 458.2 MB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2247, allocations: 3.438 kB / 458.2 MB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.2247, allocations: 11.11 kB / 458.2 MB, free: 31.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2248, allocations: 14.52 kB / 458.2 MB, free: 31.17 MB / 362.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.648e-05/0.2248, allocations: 284.2 kB / 458.5 MB, free: 30.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.2249, allocations: 211 kB / 458.7 MB, free: 30.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.2249, allocations: 195.4 kB / 458.9 MB, free: 30.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.2249, allocations: 264.1 kB / 459.2 MB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.225, allocations: 270.1 kB / 459.4 MB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.225, allocations: 265.9 kB / 459.7 MB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.2252, allocations: 0.6987 MB / 460.4 MB, free: 29.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.2252, allocations: 151.5 kB / 460.5 MB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.2252, allocations: 150.3 kB / 460.7 MB, free: 28.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.2252, allocations: 267.6 kB / 460.9 MB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2253, allocations: 271.1 kB / 461.2 MB, free: 28.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.2253, allocations: 264.1 kB / 461.5 MB, free: 28.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/0.2253, allocations: 278.1 kB / 461.7 MB, free: 27.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.277e-05/0.2254, allocations: 495.3 kB / 462.2 MB, free: 27.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.2254, allocations: 185.6 kB / 462.4 MB, free: 27.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.2255, allocations: 282.3 kB / 462.7 MB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.2255, allocations: 148.6 kB / 462.8 MB, free: 26.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.2255, allocations: 267.3 kB / 463.1 MB, free: 26.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2256, allocations: 150.3 kB / 463.2 MB, free: 26.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.2257, allocations: 356.7 kB / 463.6 MB, free: 26.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2257, allocations: 2.625 kB / 463.6 MB, free: 26.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001427/0.2272, allocations: 0.789 MB / 464.4 MB, free: 26.11 MB / 362.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.001518/0.2287, allocations: 1.114 MB / 465.5 MB, free: 25.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.2288, allocations: 47.02 kB / 465.5 MB, free: 25.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2288, allocations: 5.781 kB / 465.5 MB, free: 25.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.2288, allocations: 0 / 465.5 MB, free: 25.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.2295, allocations: 0.945 MB / 466.5 MB, free: 25.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/0.2304, allocations: 0.9785 MB / 467.4 MB, free: 24.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.2304, allocations: 118.6 kB / 467.6 MB, free: 24.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.2305, allocations: 82.5 kB / 467.6 MB, free: 24.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.2306, allocations: 37.3 kB / 467.7 MB, free: 24.37 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2306, allocations: 0 / 467.7 MB, free: 24.37 MB / 362.7 MB Notification: Performance of Templates: time 0.02048/0.2511, allocations: 26.19 MB / 493.9 MB, free: 7.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7797972676344216]