Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009104/0.0009104, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001002/0.001002, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9285/0.9285, allocations: 177.1 MB / 206.1 MB, free: 4.496 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.08919/0.08919, allocations: 19.73 MB / 282.3 MB, free: 12.27 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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.199e-05, allocations: 3.797 kB / 359.2 MB, free: 44.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.01855/0.01858, allocations: 31.03 MB / 390.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006236/0.02481, allocations: 10.1 MB / 400.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.02504, allocations: 15.88 kB / 400.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.02551, allocations: 234.5 kB / 400.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.02896, allocations: 2.402 MB / 403 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.03401, allocations: 3.263 MB / 406.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000775/0.03478, allocations: 0.9024 MB / 407.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.03511, allocations: 276.7 kB / 407.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.03552, allocations: 478.8 kB / 407.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.03584, allocations: 339.1 kB / 408.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.03588, allocations: 32 kB / 408.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00936/0.04524, allocations: 7.163 MB / 415.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.04539, allocations: 107.5 kB / 415.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.04565, allocations: 171.6 kB / 415.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0096/0.05525, allocations: 5.659 MB / 421.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.05526, allocations: 0 / 421.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.05526, allocations: 0 / 421.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.05527, allocations: 0 / 421.3 MB, free: 14.64 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002452/0.05772, allocations: 1.438 MB / 422.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.05775, allocations: 8.031 kB / 422.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.05835, allocations: 212.2 kB / 423 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.05869, allocations: 310.5 kB / 423.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.05872, allocations: 29.38 kB / 423.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.05876, allocations: 32.38 kB / 423.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.05924, allocations: 497.8 kB / 423.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.05925, allocations: 8.125 kB / 423.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.05928, allocations: 19.94 kB / 423.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.05929, allocations: 8 kB / 423.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.05958, allocations: 239.7 kB / 424.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.06089, allocations: 2.071 MB / 426.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.06121, allocations: 238.3 kB / 426.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.0613, allocations: 123 kB / 426.5 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02885/0.09015, allocations: 15.4 MB / 441.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005717/0.09072, allocations: 307.6 kB / 442.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.09073, allocations: 0 / 442.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002009/0.09274, allocations: 1.285 MB / 443.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.09279, allocations: 140.5 kB / 443.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.09302, allocations: 382.5 kB / 444 MB, free: 7.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.09304, allocations: 37.69 kB / 444.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.0932, allocations: 315.2 kB / 444.4 MB, free: 7.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.09327, allocations: 115 kB / 444.5 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.09336, allocations: 91.58 kB / 444.6 MB, free: 6.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.0935, allocations: 0.5273 MB / 445.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.09359, allocations: 112.2 kB / 445.2 MB, free: 6.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.09373, allocations: 245.5 kB / 445.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.09396, allocations: 355.5 kB / 445.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.09397, allocations: 0 / 445.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000528/0.09449, allocations: 0.5029 MB / 446.3 MB, free: 4.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.09454, allocations: 71.64 kB / 446.4 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.09455, allocations: 4 kB / 446.4 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/0.0952, allocations: 155.2 kB / 446.5 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.09533, allocations: 55.91 kB / 446.6 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006388/0.09597, allocations: 1.635 MB / 448.2 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.09609, allocations: 8 kB / 448.2 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.09611, allocations: 19.98 kB / 448.2 MB, free: 2.93 MB / 362.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.0001686/0.09628, allocations: 259.7 kB / 448.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.09634, allocations: 63.72 kB / 448.6 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.09728, allocations: 1.046 MB / 449.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.09729, allocations: 19.97 kB / 449.6 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.09729, allocations: 4 kB / 449.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.0973, allocations: 0 / 449.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.09766, allocations: 446.1 kB / 450.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.09766, allocations: 1.031 kB / 450.1 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.09779, allocations: 47.97 kB / 450.1 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.09808, allocations: 188.1 kB / 450.3 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.09811, allocations: 19.98 kB / 450.3 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005981/0.09871, allocations: 1.669 MB / 452 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.09871, allocations: 3.938 kB / 452 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008974/0.09961, allocations: 1.095 MB / 453.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.09972, allocations: 111.3 kB / 453.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.09976, allocations: 8 kB / 453.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.09985, allocations: 12 kB / 453.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.09989, allocations: 23.95 kB / 453.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.09991, allocations: 12 kB / 453.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1, allocations: 243 kB / 453.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1, allocations: 0 / 453.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002364/0.1024, allocations: 1.131 MB / 454.6 MB, free: 12.33 MB / 378.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.003254/0.1056, allocations: 1.525 MB / 456.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.1063, allocations: 0.5483 MB / 456.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1063, allocations: 4 kB / 456.7 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.1066, allocations: 410.6 kB / 457.1 MB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.1072, allocations: 176.2 kB / 457.3 MB, free: 9.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1087, allocations: 1.303 MB / 458.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.689e-05/0.1088, allocations: 162.8 kB / 458.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.109, allocations: 88.33 kB / 458.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.1092, allocations: 214.1 kB / 459 MB, free: 7.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1092, allocations: 0 / 459 MB, free: 7.77 MB / 378.7 MB Notification: Performance of Templates: time 0.1541/0.2633, allocations: 46.7 MB / 0.4939 GB, free: 118.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.392163408920169]