Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001201/0.001201, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001881/0.003082, 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.001062/0.001062, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002455, 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 0.9178/0.9178, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07809/0.9959, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.09107/0.09107, allocations: 19.78 MB / 263.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009863/0.1009, allocations: 7.565 MB / 271.5 MB, free: 3.352 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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 272.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.403e-05, allocations: 2.312 kB / 272.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1401/0.1401, allocations: 31.44 MB / 304.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008516/0.1486, allocations: 10.3 MB / 314.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.1489, allocations: 11.88 kB / 314.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.1494, allocations: 234.5 kB / 314.8 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.1548, allocations: 2.18 MB / 317 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.1606, allocations: 3.024 MB / 320 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.1614, allocations: 0.9025 MB / 320.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.1618, allocations: 277.8 kB / 321.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.1623, allocations: 0.4993 MB / 321.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.1626, allocations: 307.1 kB / 322 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.1626, allocations: 35.94 kB / 322 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.1729, allocations: 7.685 MB / 329.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1731, allocations: 83.62 kB / 329.8 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.1733, allocations: 155.7 kB / 329.9 MB, free: 4.402 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007861/0.1812, allocations: 4.362 MB / 334.3 MB, free: 32 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.1812, allocations: 0 / 334.3 MB, free: 32 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1812, allocations: 0 / 334.3 MB, free: 32 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1812, allocations: 0 / 334.3 MB, free: 32 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002427/0.1836, allocations: 1.775 MB / 336.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1837, allocations: 16.86 kB / 336.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.1843, allocations: 216.4 kB / 336.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1846, allocations: 267.9 kB / 336.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1846, allocations: 29.38 kB / 336.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1847, allocations: 40.36 kB / 336.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.1852, allocations: 489.4 kB / 337.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1852, allocations: 192 / 337.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.1852, allocations: 19.94 kB / 337.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1852, allocations: 8 kB / 337.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.1855, allocations: 230.6 kB / 337.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1866, allocations: 1.457 MB / 338.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.1869, allocations: 273.6 kB / 339.1 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.594e-05/0.187, allocations: 116.2 kB / 339.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09954/0.2865, allocations: 58.45 MB / 397.6 MB, free: 368 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.287, allocations: 323.5 kB / 398 MB, free: 8 kB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.335e-06/0.287, allocations: 0 / 398 MB, free: 8 kB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002137/0.2891, allocations: 1.271 MB / 399.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.2892, allocations: 296.9 kB / 399.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.2894, allocations: 311.3 kB / 399.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2894, allocations: 33.7 kB / 399.9 MB, free: 13.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.2895, allocations: 221.4 kB / 400.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.2896, allocations: 111 kB / 400.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.2897, allocations: 77.98 kB / 400.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.2897, allocations: 358.7 kB / 400.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.2898, allocations: 111 kB / 400.7 MB, free: 13.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2899, allocations: 217.9 kB / 400.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.2902, allocations: 344.6 kB / 401.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2902, allocations: 0 / 401.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000455/0.2906, allocations: 416.4 kB / 401.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.2907, allocations: 71.38 kB / 401.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2907, allocations: 4 kB / 401.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.2913, allocations: 149.5 kB / 401.9 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.2915, allocations: 70.95 kB / 402 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004616/0.2919, allocations: 1.09 MB / 403 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.292, allocations: 8 kB / 403.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.2921, allocations: 16 kB / 403.1 MB, free: 10.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.2922, allocations: 207.9 kB / 403.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.2923, allocations: 48.05 kB / 403.3 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.293, allocations: 0.9362 MB / 404.3 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.293, allocations: 19.97 kB / 404.3 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.293, allocations: 0 / 404.3 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.293, allocations: 3.938 kB / 404.3 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.2934, allocations: 394.5 kB / 404.7 MB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2934, allocations: 0 / 404.7 MB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.2936, allocations: 65.67 kB / 404.7 MB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.2937, allocations: 87.36 kB / 404.8 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.2939, allocations: 182.6 kB / 405 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.294, allocations: 15.92 kB / 405 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004186/0.2944, allocations: 1.145 MB / 406.2 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2944, allocations: 7.922 kB / 406.2 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.2951, allocations: 0.9676 MB / 407.1 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.2951, allocations: 12 kB / 407.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.2952, allocations: 11.98 kB / 407.2 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.2953, allocations: 24.06 kB / 407.2 MB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.2953, allocations: 19.98 kB / 407.2 MB, free: 6.129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.479e-05/0.2954, allocations: 124.7 kB / 407.3 MB, free: 6 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2954, allocations: 0 / 407.3 MB, free: 6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002079/0.2974, allocations: 1.123 MB / 408.4 MB, free: 4.875 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003248/0.3007, allocations: 1.586 MB / 410 MB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.3012, allocations: 0.5573 MB / 410.6 MB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.3012, allocations: 8 kB / 410.6 MB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.3015, allocations: 410.6 kB / 411 MB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.3022, allocations: 0.9011 MB / 411.9 MB, free: 1.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.3071, allocations: 1.284 MB / 413.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.273e-05/0.3071, allocations: 158.7 kB / 413.3 MB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.3073, allocations: 83.7 kB / 413.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.3076, allocations: 185.2 kB / 413.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3076, allocations: 0 / 413.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of Templates: time 0.144/0.4516, allocations: 40.89 MB / 454.5 MB, free: 111.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.099584909155965]