Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.0009992/0.0009992, allocations: 80.41 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.0009217/0.0009217, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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.8372/0.8372, allocations: 158.6 MB / 187.5 MB, free: 2.801 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.1658/0.1658, allocations: 36.34 MB / 276.2 MB, free: 14.37 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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 355.1 MB, free: 62.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.213e-05, allocations: 2.312 kB / 355.1 MB, free: 62.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.01779/0.0178, allocations: 22.92 MB / 378 MB, free: 46.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00828/0.02608, allocations: 10.87 MB / 388.8 MB, free: 36.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.02651, allocations: 23.75 kB / 388.9 MB, free: 36.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.02702, allocations: 246.3 kB / 389.1 MB, free: 36.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008073/0.02783, allocations: 0.6646 MB / 389.8 MB, free: 36.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00747/0.0353, allocations: 4.264 MB / 394 MB, free: 31.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.03643, allocations: 1.837 MB / 395.9 MB, free: 29.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.03683, allocations: 477.9 kB / 396.3 MB, free: 29.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/0.03747, allocations: 0.8806 MB / 397.2 MB, free: 28.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.038, allocations: 0.6816 MB / 397.9 MB, free: 27.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.03807, allocations: 64 kB / 398 MB, free: 27.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006013/0.04408, allocations: 6.036 MB / 404 MB, free: 21.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.0443, allocations: 347 kB / 404.3 MB, free: 21.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.04453, allocations: 335.3 kB / 404.7 MB, free: 21.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004871/0.0494, allocations: 5.055 MB / 409.7 MB, free: 16.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0494, allocations: 0 / 409.7 MB, free: 16.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.0494, allocations: 4 kB / 409.7 MB, free: 16.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.04941, allocations: 0 / 409.7 MB, free: 16.04 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002646/0.05206, allocations: 1.713 MB / 411.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.05209, allocations: 8.031 kB / 411.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/0.05275, allocations: 331.8 kB / 411.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.05317, allocations: 484.5 kB / 412.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.0532, allocations: 54.38 kB / 412.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.05327, allocations: 84.31 kB / 412.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.05495, allocations: 1.4 MB / 413.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.05497, allocations: 192 / 413.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.05501, allocations: 31.94 kB / 413.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.05504, allocations: 30 kB / 413.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.05644, allocations: 0.9488 MB / 414.8 MB, free: 10.87 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.05823, allocations: 1.764 MB / 416.6 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.05959, allocations: 1.038 MB / 417.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.0597, allocations: 124 kB / 417.7 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05009/0.1098, allocations: 29.22 MB / 446.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1098, allocations: 37.89 kB / 447 MB, free: 10.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.575e-06/0.1098, allocations: 0 / 447 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.003279/0.1131, allocations: 1.636 MB / 448.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1131, allocations: 59.84 kB / 448.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.1135, allocations: 0.4904 MB / 449.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.1135, allocations: 37.7 kB / 449.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1137, allocations: 423.2 kB / 449.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.1139, allocations: 210.2 kB / 449.8 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.1141, allocations: 239.7 kB / 450 MB, free: 7.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1142, allocations: 0.5507 MB / 450.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.1146, allocations: 374 kB / 451 MB, free: 6.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.1151, allocations: 0.7054 MB / 451.7 MB, free: 5.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1161, allocations: 0.8806 MB / 452.5 MB, free: 4.777 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1161, allocations: 3.938 kB / 452.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001673/0.1177, allocations: 1.521 MB / 454.1 MB, free: 3.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1178, allocations: 8 kB / 454.1 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1178, allocations: 0 / 454.1 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.12, allocations: 1.555 MB / 455.6 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.1202, allocations: 67.91 kB / 455.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.1219, allocations: 1.925 MB / 457.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.1223, allocations: 67.5 kB / 457.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.1224, allocations: 67.92 kB / 457.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004858/0.1229, allocations: 0.489 MB / 458.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007453/0.1236, allocations: 0.7268 MB / 459 MB, free: 14.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000778/0.1244, allocations: 0.8901 MB / 459.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.1244, allocations: 0 / 459.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001588/0.126, allocations: 1.488 MB / 461.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.126, allocations: 11.94 kB / 461.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.126, allocations: 4 kB / 461.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.1277, allocations: 1.455 MB / 462.8 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1279, allocations: 67.89 kB / 462.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.1296, allocations: 1.896 MB / 464.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.1299, allocations: 51.66 kB / 464.8 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.13, allocations: 75.92 kB / 464.9 MB, free: 8.148 MB / 378.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: 4 (boiler.fluidState[1].phase,boiler.fluidState[2].phase,heater.fluidState[1].phase,heater.fluidState[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.1302, allocations: 300 kB / 465.2 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.1304, allocations: 83.58 kB / 465.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/0.134, allocations: 4.397 MB / 469.7 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.134, allocations: 22.3 kB / 469.7 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.134, allocations: 4 kB / 469.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.134, allocations: 3.984 kB / 469.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1353, allocations: 1.963 MB / 471.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1353, allocations: 48 / 471.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.136, allocations: 219.6 kB / 471.9 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.1364, allocations: 119.2 kB / 472 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.1364, allocations: 19.98 kB / 472 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.1386, allocations: 5.251 MB / 477.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1386, allocations: 256 / 477.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1398, allocations: 1.18 MB / 478.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.14, allocations: 155.1 kB / 478.6 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.14, allocations: 12 kB / 478.6 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1403, allocations: 23.98 kB / 478.6 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.1403, allocations: 52.5 kB / 478.7 MB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.1404, allocations: 15.98 kB / 478.7 MB, free: 9.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1405, allocations: 302.7 kB / 479 MB, free: 9.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1405, allocations: 4 kB / 479 MB, free: 9.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002379/0.1429, allocations: 1.216 MB / 480.2 MB, free: 8.246 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00257/0.1455, allocations: 1.103 MB / 481.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.1472, allocations: 1.526 MB / 482.9 MB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1472, allocations: 4 kB / 482.9 MB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.1481, allocations: 0.7355 MB / 483.6 MB, free: 4.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.1488, allocations: 290 kB / 483.9 MB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.1509, allocations: 1.799 MB / 485.7 MB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1511, allocations: 237.8 kB / 485.9 MB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003042/0.1514, allocations: 156.7 kB / 486.1 MB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.1518, allocations: 278 kB / 486.3 MB, free: 2.031 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1518, allocations: 0 / 486.3 MB, free: 2.031 MB / 394.7 MB Notification: Performance of Templates: time 0.1588/0.3106, allocations: 64.29 MB / 0.5377 GB, free: 115.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.367656846996397]