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.001348/0.001348, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001549/0.001549, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.8174/0.8174, allocations: 158.6 MB / 186.7 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.1864/0.1864, allocations: 36.35 MB / 275.4 MB, free: 10.48 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.243e-06/1.243e-06, allocations: 0 / 354.3 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.799e-05, allocations: 5.969 kB / 354.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.01741/0.01743, allocations: 22.92 MB / 377.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009803/0.02724, allocations: 10.88 MB / 388.1 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.02782, allocations: 19.81 kB / 388.1 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.02839, allocations: 246.3 kB / 388.3 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.02942, allocations: 0.6679 MB / 389 MB, free: 292 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008699/0.03812, allocations: 4.262 MB / 393.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.03991, allocations: 1.843 MB / 395.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.04054, allocations: 469.9 kB / 395.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.04157, allocations: 0.8845 MB / 396.4 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.04233, allocations: 0.6738 MB / 397.1 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.982e-05/0.04243, allocations: 68 kB / 397.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.0539, allocations: 6.032 MB / 403.2 MB, free: 2.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006188/0.05452, allocations: 351 kB / 403.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009205/0.05544, allocations: 335.2 kB / 403.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008082/0.06352, allocations: 5.055 MB / 408.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.06353, allocations: 0 / 408.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.06353, allocations: 0 / 408.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.06354, allocations: 0 / 408.9 MB, free: 12.27 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00234/0.06588, allocations: 1.716 MB / 410.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.06591, allocations: 8.031 kB / 410.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.06654, allocations: 343.7 kB / 411 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.06698, allocations: 480.6 kB / 411.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.06701, allocations: 54.38 kB / 411.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/0.06708, allocations: 76.36 kB / 411.6 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.0688, allocations: 1.399 MB / 413 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.06881, allocations: 192 / 413 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.06886, allocations: 31.92 kB / 413 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.06889, allocations: 33.94 kB / 413.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.07028, allocations: 0.9487 MB / 414 MB, free: 7.098 MB / 346.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.001873/0.07216, allocations: 1.768 MB / 415.8 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.07355, allocations: 1.035 MB / 416.8 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.07367, allocations: 129.1 kB / 416.9 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1749/0.2485, allocations: 29.39 MB / 446.3 MB, free: 69.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.2486, allocations: 46.72 kB / 446.4 MB, free: 69.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.054e-06/0.2486, allocations: 0 / 446.4 MB, free: 69.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.003069/0.2516, allocations: 1.631 MB / 448 MB, free: 69.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.2517, allocations: 58.66 kB / 448.1 MB, free: 69.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.252, allocations: 494.3 kB / 448.5 MB, free: 69.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.252, allocations: 40.2 kB / 448.6 MB, free: 69.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.2522, allocations: 421.8 kB / 449 MB, free: 69.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.2523, allocations: 208.7 kB / 449.2 MB, free: 68.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.2526, allocations: 239.9 kB / 449.4 MB, free: 68.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.2527, allocations: 0.5502 MB / 450 MB, free: 68.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.253, allocations: 371.8 kB / 450.3 MB, free: 68.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.2534, allocations: 0.7121 MB / 451.1 MB, free: 68.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.2541, allocations: 0.8806 MB / 451.9 MB, free: 67.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2541, allocations: 1.094 kB / 451.9 MB, free: 67.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001545/0.2557, allocations: 1.542 MB / 453.5 MB, free: 67.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2557, allocations: 8 kB / 453.5 MB, free: 67.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2557, allocations: 6.812 kB / 453.5 MB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.2576, allocations: 1.553 MB / 455 MB, free: 66.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.2577, allocations: 65.84 kB / 455.1 MB, free: 66.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.2591, allocations: 1.928 MB / 457 MB, free: 65.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.2594, allocations: 55.53 kB / 457.1 MB, free: 65.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.2595, allocations: 75.05 kB / 457.2 MB, free: 64.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003936/0.2599, allocations: 499.7 kB / 457.7 MB, free: 64.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003416/0.2602, allocations: 0.7209 MB / 458.4 MB, free: 63.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000618/0.2608, allocations: 0.8934 MB / 459.3 MB, free: 62.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.2608, allocations: 4 kB / 459.3 MB, free: 62.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.00129/0.2621, allocations: 1.5 MB / 460.8 MB, free: 61.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.926e-06/0.2621, allocations: 5.562 kB / 460.8 MB, free: 61.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2621, allocations: 4 kB / 460.8 MB, free: 61.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.2636, allocations: 1.454 MB / 462.2 MB, free: 60.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2637, allocations: 67.03 kB / 462.3 MB, free: 60.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.265, allocations: 1.896 MB / 464.2 MB, free: 58.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.2653, allocations: 61.97 kB / 464.3 MB, free: 58.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.2653, allocations: 71.17 kB / 464.3 MB, free: 58.42 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: 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.0001665/0.2655, allocations: 304.2 kB / 464.6 MB, free: 58.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2656, allocations: 82.58 kB / 464.7 MB, free: 58.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.2679, allocations: 4.393 MB / 469.1 MB, free: 53.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2679, allocations: 19.66 kB / 469.1 MB, free: 53.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2679, allocations: 0 / 469.1 MB, free: 53.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2679, allocations: 3.984 kB / 469.1 MB, free: 53.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.2689, allocations: 1.957 MB / 471.1 MB, free: 52.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2689, allocations: 11.97 kB / 471.1 MB, free: 52.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.2695, allocations: 212.8 kB / 471.3 MB, free: 52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002879/0.2698, allocations: 113.7 kB / 471.4 MB, free: 51.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.2699, allocations: 27.34 kB / 471.4 MB, free: 51.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.2711, allocations: 5.252 MB / 476.7 MB, free: 46.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2711, allocations: 256 / 476.7 MB, free: 46.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.272, allocations: 1.182 MB / 477.9 MB, free: 45.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.2722, allocations: 148.2 kB / 478 MB, free: 45.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.2722, allocations: 14.25 kB / 478 MB, free: 45.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2724, allocations: 23.05 kB / 478.1 MB, free: 45.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.2725, allocations: 44.14 kB / 478.1 MB, free: 45.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.2725, allocations: 27.47 kB / 478.1 MB, free: 45.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.2726, allocations: 305 kB / 478.4 MB, free: 44.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2726, allocations: 4 kB / 478.4 MB, free: 44.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002178/0.2748, allocations: 1.221 MB / 479.6 MB, free: 43.78 MB / 362.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.002348/0.2772, allocations: 1.102 MB / 480.7 MB, free: 42.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.2786, allocations: 1.528 MB / 482.3 MB, free: 41.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2786, allocations: 0 / 482.3 MB, free: 41.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.2793, allocations: 0.7376 MB / 483 MB, free: 40.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.28, allocations: 291.4 kB / 483.3 MB, free: 40.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2819, allocations: 1.801 MB / 485.1 MB, free: 38.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.282, allocations: 241.8 kB / 485.3 MB, free: 38.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.2823, allocations: 151.4 kB / 485.5 MB, free: 38.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.2827, allocations: 282 kB / 485.8 MB, free: 37.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2827, allocations: 0 / 485.8 MB, free: 37.93 MB / 362.7 MB Notification: Performance of Templates: time 0.05257/0.3353, allocations: 63.7 MB / 0.5366 GB, free: 6.207 MB / 394.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.007656657136977]