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.001483/0.001483, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001657/0.001657, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.388/1.388, allocations: 158.6 MB / 186.1 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2987/0.2987, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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 3.006e-06/3.006e-06, allocations: 0 / 353 MB, free: 3.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.805e-05, allocations: 5.688 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.09255/0.09259, allocations: 41.27 MB / 394.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02879/0.1214, allocations: 10.3 MB / 404.6 MB, free: 32 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008618/0.1222, allocations: 19.81 kB / 404.6 MB, free: 12 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.1241, allocations: 321.8 kB / 405 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.127, allocations: 0.6718 MB / 405.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02218/0.1491, allocations: 4.293 MB / 409.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.1537, allocations: 1.835 MB / 411.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.1552, allocations: 481.8 kB / 412.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.1582, allocations: 0.8727 MB / 413.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.1605, allocations: 0.6738 MB / 413.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.1609, allocations: 68 kB / 413.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.1772, allocations: 6.075 MB / 419.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006685/0.1779, allocations: 342.9 kB / 420.2 MB, free: 356 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006934/0.1785, allocations: 339.2 kB / 420.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.1917, allocations: 5.336 MB / 425.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1917, allocations: 0 / 425.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1917, allocations: 0 / 425.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.1918, allocations: 4 kB / 425.9 MB, free: 10.66 MB / 362.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.005279/0.197, allocations: 1.625 MB / 427.5 MB, free: 8.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1971, allocations: 8.031 kB / 427.6 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.1984, allocations: 343.8 kB / 427.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.1999, allocations: 0.5426 MB / 428.4 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.2, allocations: 58.36 kB / 428.5 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.2001, allocations: 80.31 kB / 428.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/0.205, allocations: 1.831 MB / 430.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.205, allocations: 192 / 430.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.2051, allocations: 27.94 kB / 430.4 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.2052, allocations: 34 kB / 430.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/0.2096, allocations: 1.639 MB / 432.1 MB, free: 4.383 MB / 362.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.004659/0.2143, allocations: 2.082 MB / 434.2 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.218, allocations: 1.148 MB / 435.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.2185, allocations: 270.2 kB / 435.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2356/0.4541, allocations: 33.62 MB / 469.2 MB, free: 65.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4541, allocations: 41.78 kB / 469.2 MB, free: 65.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.094e-06/0.4541, allocations: 0 / 469.2 MB, free: 65.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.006228/0.4604, allocations: 2.033 MB / 471.3 MB, free: 63.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.4604, allocations: 55.91 kB / 471.3 MB, free: 63.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.4609, allocations: 488.8 kB / 471.8 MB, free: 63.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.461, allocations: 41.7 kB / 471.9 MB, free: 63.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.4611, allocations: 361.7 kB / 472.2 MB, free: 62.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.4613, allocations: 208.1 kB / 472.4 MB, free: 62.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.4617, allocations: 230.1 kB / 472.6 MB, free: 62.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.4618, allocations: 371.5 kB / 473 MB, free: 62.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007219/0.4625, allocations: 0.5109 MB / 473.5 MB, free: 61.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/0.4633, allocations: 0.8001 MB / 474.3 MB, free: 60.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.4648, allocations: 1.115 MB / 475.4 MB, free: 59.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4648, allocations: 0 / 475.4 MB, free: 59.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003047/0.4678, allocations: 1.869 MB / 477.3 MB, free: 57.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4678, allocations: 13.8 kB / 477.3 MB, free: 57.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4679, allocations: 4.344 kB / 477.3 MB, free: 57.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004034/0.4719, allocations: 1.615 MB / 478.9 MB, free: 56.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.4722, allocations: 71.2 kB / 479 MB, free: 56.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.4751, allocations: 2.207 MB / 481.2 MB, free: 53.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.4758, allocations: 63.59 kB / 481.3 MB, free: 53.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4759, allocations: 79.39 kB / 481.3 MB, free: 53.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009748/0.4769, allocations: 0.6963 MB / 482 MB, free: 52.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007944/0.4777, allocations: 0.8067 MB / 482.8 MB, free: 52.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001471/0.4792, allocations: 1.104 MB / 483.9 MB, free: 50.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.4792, allocations: 7.922 kB / 484 MB, free: 50.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.002908/0.4821, allocations: 1.829 MB / 485.8 MB, free: 49.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4821, allocations: 8 kB / 485.8 MB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4821, allocations: 0 / 485.8 MB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/0.485, allocations: 1.494 MB / 487.3 MB, free: 47.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.4853, allocations: 71.84 kB / 487.4 MB, free: 47.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.4881, allocations: 2.163 MB / 489.5 MB, free: 45.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/0.4889, allocations: 63.69 kB / 489.6 MB, free: 45.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.489, allocations: 75.92 kB / 489.7 MB, free: 45.17 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.0003308/0.4894, allocations: 216.1 kB / 489.9 MB, free: 44.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.4896, allocations: 83.56 kB / 489.9 MB, free: 44.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/0.4959, allocations: 8.444 MB / 498.4 MB, free: 36.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.4959, allocations: 23.91 kB / 498.4 MB, free: 36.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/0.4959, allocations: 0 / 498.4 MB, free: 36.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4959, allocations: 3.984 kB / 498.4 MB, free: 36.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.4984, allocations: 3.764 MB / 0.4904 GB, free: 32.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.4984, allocations: 4 kB / 0.4904 GB, free: 32.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.5, allocations: 215.7 kB / 0.4906 GB, free: 32.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/0.5006, allocations: 161.5 kB / 0.4908 GB, free: 32.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.5007, allocations: 19.97 kB / 0.4908 GB, free: 31.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.503, allocations: 3.995 MB / 0.4947 GB, free: 27.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.503, allocations: 0 / 0.4947 GB, free: 27.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.5056, allocations: 1.979 MB / 0.4966 GB, free: 25.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.5059, allocations: 159.2 kB / 0.4968 GB, free: 25.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.506, allocations: 12 kB / 0.4968 GB, free: 25.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.5066, allocations: 40.05 kB / 0.4968 GB, free: 25.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.5067, allocations: 40.58 kB / 0.4969 GB, free: 25.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.5068, allocations: 23.97 kB / 0.4969 GB, free: 25.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003602/0.5072, allocations: 330.9 kB / 0.4972 GB, free: 25.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5072, allocations: 0 / 0.4972 GB, free: 25.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003652/0.5108, allocations: 1.228 MB / 0.4984 GB, free: 23.93 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.004003/0.5148, allocations: 1.106 MB / 0.4995 GB, free: 22.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.5189, allocations: 1.932 MB / 0.5014 GB, free: 20.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5189, allocations: 0 / 0.5014 GB, free: 20.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.5208, allocations: 0.8252 MB / 0.5022 GB, free: 20.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.5222, allocations: 292.5 kB / 0.5025 GB, free: 19.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.525, allocations: 2.064 MB / 0.5045 GB, free: 17.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.5254, allocations: 481.4 kB / 0.5049 GB, free: 17.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005466/0.5259, allocations: 208.7 kB / 0.5051 GB, free: 17.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.5261, allocations: 60.47 kB / 0.5052 GB, free: 16.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5261, allocations: 0 / 0.5052 GB, free: 16.97 MB / 362.7 MB Notification: Performance of Templates: time 0.07704/0.6032, allocations: 54.15 MB / 0.5581 GB, free: 10.57 MB / 410.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.263874892960303]