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.0009025/0.0009025, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000907/0.000907, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.7978/0.7978, allocations: 158.6 MB / 186.4 MB, free: 2.547 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.1611/0.1611, allocations: 36.34 MB / 275.1 MB, free: 10.64 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.272e-06/1.272e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.379e-05, allocations: 6.312 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.01638/0.01639, allocations: 23.26 MB / 377.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008991/0.02538, allocations: 11.07 MB / 388.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.02575, allocations: 19.81 kB / 388.1 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.02631, allocations: 246.3 kB / 388.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008776/0.02718, allocations: 0.6639 MB / 389 MB, free: 60 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007058/0.03424, allocations: 4.258 MB / 393.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.03574, allocations: 1.847 MB / 395.2 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.03625, allocations: 477.9 kB / 395.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/0.03712, allocations: 0.8729 MB / 396.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007148/0.03783, allocations: 0.6777 MB / 397.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.949e-05/0.03792, allocations: 64 kB / 397.2 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007105/0.04503, allocations: 6.036 MB / 403.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.0453, allocations: 343 kB / 403.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.04559, allocations: 335.3 kB / 403.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005291/0.05088, allocations: 5.055 MB / 409 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.05089, allocations: 4 kB / 409 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05089, allocations: 0 / 409 MB, free: 12.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.0509, allocations: 0 / 409 MB, free: 12.05 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.002593/0.05349, allocations: 1.724 MB / 410.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.05353, allocations: 12.03 kB / 410.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.05421, allocations: 331.8 kB / 411 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.05473, allocations: 0.4927 MB / 411.5 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.05476, allocations: 58.38 kB / 411.6 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.05484, allocations: 80.34 kB / 411.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.05695, allocations: 1.5 MB / 413.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.05697, allocations: 192 / 413.2 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.05701, allocations: 27.94 kB / 413.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.05705, allocations: 41.92 kB / 413.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.05884, allocations: 1.076 MB / 414.3 MB, free: 6.613 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.002166/0.06101, allocations: 1.885 MB / 416.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.06264, allocations: 1.12 MB / 417.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.06282, allocations: 149.1 kB / 417.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.171/0.2338, allocations: 33.6 MB / 451.1 MB, free: 69.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2339, allocations: 40.48 kB / 451.1 MB, free: 69.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.284e-06/0.2339, allocations: 0 / 451.1 MB, free: 69.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.003083/0.2369, allocations: 1.773 MB / 452.9 MB, free: 68.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.237, allocations: 55.91 kB / 452.9 MB, free: 68.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2373, allocations: 0.4955 MB / 453.4 MB, free: 67.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.2373, allocations: 40.27 kB / 453.5 MB, free: 67.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2374, allocations: 414 kB / 453.9 MB, free: 67.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2376, allocations: 213.8 kB / 454.1 MB, free: 67.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.2378, allocations: 233.5 kB / 454.3 MB, free: 67.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.2378, allocations: 0.539 MB / 454.9 MB, free: 66.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.2382, allocations: 436.1 kB / 455.3 MB, free: 66.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.2387, allocations: 0.7744 MB / 456.1 MB, free: 65.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.2395, allocations: 0.9953 MB / 457.1 MB, free: 64.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2395, allocations: 0 / 457.1 MB, free: 64.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0017/0.2412, allocations: 1.697 MB / 458.7 MB, free: 63.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2412, allocations: 4 kB / 458.8 MB, free: 63.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2412, allocations: 4 kB / 458.8 MB, free: 63.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.2433, allocations: 1.606 MB / 460.4 MB, free: 61.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.2434, allocations: 71.33 kB / 460.4 MB, free: 61.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.2449, allocations: 1.988 MB / 462.4 MB, free: 60 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.2452, allocations: 65.53 kB / 462.5 MB, free: 59.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.2453, allocations: 74.97 kB / 462.6 MB, free: 59.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004737/0.2458, allocations: 0.5506 MB / 463.1 MB, free: 59.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004252/0.2462, allocations: 0.7768 MB / 463.9 MB, free: 58.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007643/0.247, allocations: 1.002 MB / 464.9 MB, free: 57.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.247, allocations: 0 / 464.9 MB, free: 57.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001549/0.2485, allocations: 1.667 MB / 466.6 MB, free: 56.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/0.2485, allocations: 9.547 kB / 466.6 MB, free: 56.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2485, allocations: 4 kB / 466.6 MB, free: 56.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.25, allocations: 1.501 MB / 468.1 MB, free: 54.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2502, allocations: 63.34 kB / 468.1 MB, free: 54.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.2516, allocations: 1.969 MB / 470.1 MB, free: 53.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.2519, allocations: 61.58 kB / 470.2 MB, free: 53.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.252, allocations: 79.42 kB / 470.2 MB, free: 52.96 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 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].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.0001645/0.2521, allocations: 297.1 kB / 470.5 MB, free: 52.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.2523, allocations: 82.89 kB / 470.6 MB, free: 52.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.2552, allocations: 5.221 MB / 475.8 MB, free: 47.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.2552, allocations: 15.23 kB / 475.8 MB, free: 47.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.2552, allocations: 7.984 kB / 475.9 MB, free: 47.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.2552, allocations: 0 / 475.9 MB, free: 47.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009655/0.2562, allocations: 2.06 MB / 477.9 MB, free: 45.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2562, allocations: 48 / 477.9 MB, free: 45.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006835/0.2568, allocations: 214.6 kB / 478.1 MB, free: 45.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.2572, allocations: 128.5 kB / 478.2 MB, free: 45.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.2572, allocations: 19.97 kB / 478.3 MB, free: 45.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.2584, allocations: 5.301 MB / 483.6 MB, free: 39.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2584, allocations: 4.25 kB / 483.6 MB, free: 39.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2596, allocations: 1.324 MB / 484.9 MB, free: 38.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2597, allocations: 159.6 kB / 485.1 MB, free: 38.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.2598, allocations: 12 kB / 485.1 MB, free: 38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.26, allocations: 23.98 kB / 485.1 MB, free: 37.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.2601, allocations: 51.38 kB / 485.1 MB, free: 37.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2601, allocations: 23.97 kB / 485.2 MB, free: 37.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.2603, allocations: 322.8 kB / 485.5 MB, free: 37.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2603, allocations: 0 / 485.5 MB, free: 37.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001823/0.2621, allocations: 1.224 MB / 486.7 MB, free: 36.43 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.002143/0.2643, allocations: 1.082 MB / 487.8 MB, free: 35.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.266, allocations: 1.69 MB / 489.5 MB, free: 33.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.266, allocations: 4 kB / 489.5 MB, free: 33.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008327/0.2668, allocations: 0.7839 MB / 490.3 MB, free: 32.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.2675, allocations: 280.2 kB / 490.5 MB, free: 32.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.2694, allocations: 1.842 MB / 492.4 MB, free: 30.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.2695, allocations: 237.8 kB / 492.6 MB, free: 30.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.2698, allocations: 196.5 kB / 492.8 MB, free: 30.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.2699, allocations: 60.47 kB / 492.9 MB, free: 30.32 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2699, allocations: 0 / 492.9 MB, free: 30.32 MB / 362.7 MB Notification: Performance of Templates: time 0.04992/0.3198, allocations: 66.25 MB / 0.546 GB, free: 12.07 MB / 410.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.355549348983914]