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.001358/0.001358, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002512/0.003869, allocations: 449.8 kB / 10.44 MB, free: 252 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.001318/0.001318, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001823/0.003141, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.088/1.088, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1194/1.208, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.145/0.145, allocations: 19.79 MB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01742/0.1624, allocations: 7.553 MB / 271.5 MB, free: 3.348 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_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.513e-06/1.513e-06, allocations: 0 / 272.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.615e-05, allocations: 2.312 kB / 272.8 MB, free: 2.023 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.3134/0.3134, allocations: 51.56 MB / 324.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3161, allocations: 0.9758 MB / 325.4 MB, free: 8.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.3164, allocations: 39.56 kB / 325.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005924/0.317, allocations: 293.4 kB / 325.7 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006399/0.3176, allocations: 468.5 kB / 326.1 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.329, allocations: 4.264 MB / 330.4 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3303, allocations: 1.37 MB / 331.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005048/0.3308, allocations: 413.4 kB / 332.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.3314, allocations: 0.6732 MB / 332.9 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.3318, allocations: 338.8 kB / 333.2 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.3318, allocations: 39.94 kB / 333.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006319/0.3382, allocations: 4.431 MB / 337.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.3382, allocations: 87.5 kB / 337.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3384, allocations: 211.5 kB / 337.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.3419, allocations: 2.79 MB / 340.7 MB, free: 9.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.3419, allocations: 0 / 340.7 MB, free: 9.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3419, allocations: 0 / 340.7 MB, free: 9.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.342, allocations: 0 / 340.7 MB, free: 9.512 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.001723/0.3437, allocations: 1.576 MB / 342.3 MB, free: 7.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3437, allocations: 12.03 kB / 342.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.3438, allocations: 100.8 kB / 342.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.3442, allocations: 430.6 kB / 342.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3443, allocations: 37.38 kB / 342.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3443, allocations: 48.38 kB / 342.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.3447, allocations: 0.5299 MB / 343.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3447, allocations: 7.938 kB / 343.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3447, allocations: 28 kB / 343.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3447, allocations: 16 kB / 343.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3449, allocations: 163.4 kB / 343.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.3471, allocations: 4.209 MB / 347.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.3471, allocations: 169.1 kB / 348 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.3472, allocations: 84.17 kB / 348.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3472, allocations: 75.28 kB / 348.2 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3472, allocations: 105.8 kB / 348.3 MB, free: 1.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3472, allocations: 0 / 348.3 MB, free: 1.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.193e-05/0.3473, allocations: 69.53 kB / 348.4 MB, free: 1.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3473, allocations: 126.7 kB / 348.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3476, allocations: 484 kB / 349 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.3476, allocations: 25.7 kB / 349 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3478, allocations: 332.7 kB / 349.3 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-06/0.3478, allocations: 4 kB / 349.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3478, allocations: 41.64 kB / 349.4 MB, free: 492 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3479, allocations: 366.7 kB / 349.7 MB, free: 116 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.3479, allocations: 7.984 kB / 349.7 MB, free: 108 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.348, allocations: 82.89 kB / 349.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.3481, allocations: 121 kB / 349.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3481, allocations: 0 / 349.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001227/0.3482, allocations: 125.4 kB / 350 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3482, allocations: 11.94 kB / 350.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3482, allocations: 3.984 kB / 350.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.3482, allocations: 7.938 kB / 350.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.3483, allocations: 31.92 kB / 350.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3483, allocations: 4 kB / 350.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.889e-05/0.3483, allocations: 19.89 kB / 350.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3484, allocations: 4 kB / 350.1 MB, free: 15.62 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.576e-05/0.3485, allocations: 197.4 kB / 350.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.3485, allocations: 133 kB / 350.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.015e-05/0.3486, allocations: 156.7 kB / 350.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-05/0.3486, allocations: 176.3 kB / 350.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.286e-05/0.3487, allocations: 184.2 kB / 351 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/0.3487, allocations: 180.3 kB / 351.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3489, allocations: 461.1 kB / 351.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/0.349, allocations: 105 kB / 351.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.349, allocations: 105 kB / 351.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.349, allocations: 148.6 kB / 351.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.171e-05/0.3491, allocations: 180.5 kB / 352.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.3491, allocations: 184.2 kB / 352.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.291e-05/0.3492, allocations: 192.2 kB / 352.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.216e-05/0.3492, allocations: 176.3 kB / 352.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.3493, allocations: 331.7 kB / 353 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.3494, allocations: 185.1 kB / 353.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.3495, allocations: 101 kB / 353.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.3495, allocations: 184.2 kB / 353.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3495, allocations: 116.9 kB / 353.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3497, allocations: 216.6 kB / 353.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3497, allocations: 4 kB / 353.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001179/0.3509, allocations: 0.7984 MB / 354.6 MB, free: 11.02 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.001615/0.3525, allocations: 1.126 MB / 355.7 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.3525, allocations: 41.47 kB / 355.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3525, allocations: 4.375 kB / 355.7 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.3525, allocations: 4 kB / 355.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.3537, allocations: 2.295 MB / 358 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005803/0.3596, allocations: 0.9507 MB / 359 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.3596, allocations: 117.2 kB / 359.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3598, allocations: 86.28 kB / 359.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.36, allocations: 169.2 kB / 359.3 MB, free: 5.824 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.36, allocations: 3.938 kB / 359.3 MB, free: 5.82 MB / 346.7 MB Notification: Performance of Templates: time 0.02359/0.3836, allocations: 25.38 MB / 384.7 MB, free: 12.58 MB / 378.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.4908226411789656]