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.001902/0.001902, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001971/0.001971, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.528/1.528, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.152/0.152, allocations: 19.73 MB / 280.8 MB, free: 9.324 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.473e-06/1.473e-06, allocations: 0 / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.538e-05, allocations: 6.312 kB / 357.2 MB, free: 6.957 MB / 282.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.2486/0.2486, allocations: 110.1 MB / 467.4 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.2506, allocations: 0.9335 MB / 468.3 MB, free: 152 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.2509, allocations: 39.62 kB / 468.3 MB, free: 112 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.2516, allocations: 309.7 kB / 468.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007623/0.2523, allocations: 462.3 kB / 469.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.2642, allocations: 4.538 MB / 473.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.2663, allocations: 1.381 MB / 475 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006495/0.267, allocations: 399.5 kB / 475.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008764/0.2679, allocations: 0.635 MB / 476 MB, free: 9.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.2685, allocations: 354.8 kB / 476.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.2685, allocations: 39.94 kB / 476.4 MB, free: 9.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.2791, allocations: 4.166 MB / 480.6 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.2794, allocations: 119.3 kB / 480.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.2798, allocations: 231.4 kB / 480.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.288, allocations: 3.64 MB / 484.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.288, allocations: 4 kB / 484.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.288, allocations: 0 / 484.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.288, allocations: 0 / 484.6 MB, free: 0.9453 MB / 346.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.002623/0.2906, allocations: 1.374 MB / 485.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2907, allocations: 8.031 kB / 486 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.2909, allocations: 148.3 kB / 486.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.2916, allocations: 440.2 kB / 486.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.2917, allocations: 33.38 kB / 486.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.2917, allocations: 52.38 kB / 486.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2928, allocations: 0.7404 MB / 487.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2928, allocations: 3.938 kB / 487.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.2928, allocations: 24 kB / 487.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.2928, allocations: 16 kB / 487.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.2933, allocations: 255.3 kB / 487.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.2991, allocations: 6.356 MB / 494 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2992, allocations: 261.4 kB / 494.3 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.2993, allocations: 130.9 kB / 494.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.158e-05/0.2994, allocations: 123.2 kB / 494.5 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.2995, allocations: 160.5 kB / 494.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.2995, allocations: 0 / 494.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001743/0.2997, allocations: 85.27 kB / 494.7 MB, free: 6.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.2998, allocations: 174.6 kB / 494.9 MB, free: 6.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/0.3006, allocations: 0.6402 MB / 495.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3006, allocations: 25.7 kB / 495.6 MB, free: 5.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.301, allocations: 482.2 kB / 496.1 MB, free: 4.926 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-06/0.301, allocations: 4 kB / 496.1 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.3011, allocations: 47.31 kB / 496.1 MB, free: 4.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003545/0.3014, allocations: 0.5508 MB / 496.7 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.3015, allocations: 15.98 kB / 496.7 MB, free: 4.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3016, allocations: 124.2 kB / 496.8 MB, free: 4.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3019, allocations: 156.1 kB / 496.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3019, allocations: 4 kB / 496.9 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003631/0.3022, allocations: 185.3 kB / 497.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3022, allocations: 12 kB / 497.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3022, allocations: 4 kB / 497.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3023, allocations: 4 kB / 497.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3024, allocations: 27.92 kB / 497.2 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3024, allocations: 0 / 497.2 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3025, allocations: 15.89 kB / 497.2 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3026, allocations: 12 kB / 497.2 MB, free: 3.648 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 0.0002722/0.3028, allocations: 323.6 kB / 497.5 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.303, allocations: 208.5 kB / 497.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.3031, allocations: 196.7 kB / 497.9 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001498/0.3033, allocations: 268.1 kB / 498.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/0.3034, allocations: 272 kB / 498.4 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001397/0.3036, allocations: 264.1 kB / 498.7 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.3046, allocations: 0.7731 MB / 499.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.99e-05/0.3046, allocations: 148.8 kB / 499.6 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.3047, allocations: 148.9 kB / 499.8 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.3049, allocations: 276 kB / 0.4883 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.305, allocations: 272 kB / 0.4886 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001408/0.3052, allocations: 268.1 kB / 0.4888 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001586/0.3053, allocations: 268 kB / 0.4891 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.3056, allocations: 0.4918 MB / 0.4896 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3058, allocations: 188.5 kB / 0.4897 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.306, allocations: 272 kB / 0.49 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3062, allocations: 148.8 kB / 0.4901 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3063, allocations: 268.1 kB / 0.4904 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/0.3064, allocations: 152.8 kB / 0.4905 GB, free: 14.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004838/0.3069, allocations: 415 kB / 0.4909 GB, free: 13.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3069, allocations: 0 / 0.4909 GB, free: 13.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002073/0.3089, allocations: 0.7946 MB / 0.4917 GB, free: 13.13 MB / 378.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.002778/0.3117, allocations: 1.141 MB / 0.4928 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3119, allocations: 51.55 kB / 0.4929 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3119, allocations: 0 / 0.4929 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.3119, allocations: 4 kB / 0.4929 GB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.3137, allocations: 0.9359 MB / 0.4938 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3153, allocations: 0.9914 MB / 0.4948 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.3158, allocations: 284.5 kB / 0.495 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.316, allocations: 79.19 kB / 0.4951 GB, free: 9.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/0.3161, allocations: 44.48 kB / 0.4952 GB, free: 9.523 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3161, allocations: 0 / 0.4952 GB, free: 9.523 MB / 378.7 MB Notification: Performance of Templates: time 0.0399/0.356, allocations: 22.77 MB / 0.5174 GB, free: 2.887 MB / 394.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: 5.530008695903234]