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.0009288/0.0009288, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.002088, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008855/0.0008855, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002086, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9531/0.9531, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07956/1.033, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.09032/0.09032, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01169/0.102, allocations: 7.557 MB / 271.3 MB, free: 3.477 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.142e-06/1.142e-06, allocations: 0 / 272.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.527e-05, allocations: 2.312 kB / 272.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1516/0.1516, allocations: 31.44 MB / 304 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1635, allocations: 10.29 MB / 314.3 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/0.164, allocations: 11.88 kB / 314.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.1646, allocations: 234.5 kB / 314.5 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.1711, allocations: 2.185 MB / 316.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007702/0.1788, allocations: 3.024 MB / 319.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.18, allocations: 0.8987 MB / 320.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.1804, allocations: 281.6 kB / 320.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.1811, allocations: 0.4954 MB / 321.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.1816, allocations: 315.1 kB / 321.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.1817, allocations: 32 kB / 321.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.1949, allocations: 7.682 MB / 329.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.195, allocations: 79.67 kB / 329.5 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.1953, allocations: 151.7 kB / 329.7 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.2055, allocations: 4.39 MB / 334.1 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.2056, allocations: 0 / 334.1 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2056, allocations: 4 kB / 334.1 MB, free: 200 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.2056, allocations: 0 / 334.1 MB, free: 200 kB / 314.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.002847/0.2084, allocations: 1.775 MB / 335.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2085, allocations: 12.92 kB / 335.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006636/0.2091, allocations: 220.4 kB / 336.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.2095, allocations: 267.8 kB / 336.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.2095, allocations: 33.38 kB / 336.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.2096, allocations: 36.38 kB / 336.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.21, allocations: 485.4 kB / 336.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.21, allocations: 192 / 336.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2101, allocations: 15.94 kB / 336.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2101, allocations: 9.25 kB / 336.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.2104, allocations: 242.5 kB / 337.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.2118, allocations: 1.452 MB / 338.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.2122, allocations: 278.5 kB / 338.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2123, allocations: 120.2 kB / 339 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.121/0.3333, allocations: 58.44 MB / 397.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.3337, allocations: 316.7 kB / 397.7 MB, free: 176 kB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.487e-06/0.3337, allocations: 0 / 397.7 MB, free: 176 kB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001842/0.3356, allocations: 1.22 MB / 399 MB, free: 14.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.3356, allocations: 122.7 kB / 399.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3358, allocations: 307.3 kB / 399.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3358, allocations: 33.7 kB / 399.4 MB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.3359, allocations: 217.5 kB / 399.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.336, allocations: 115 kB / 399.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.3361, allocations: 73.97 kB / 399.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.3362, allocations: 354.7 kB / 400.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.3363, allocations: 115 kB / 400.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3364, allocations: 221.9 kB / 400.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.3368, allocations: 340.6 kB / 400.8 MB, free: 12.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3368, allocations: 7.938 kB / 400.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003795/0.3372, allocations: 416.3 kB / 401.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.3373, allocations: 67.39 kB / 401.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3373, allocations: 4 kB / 401.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/0.3379, allocations: 141.6 kB / 401.4 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3381, allocations: 76.14 kB / 401.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004671/0.3385, allocations: 1.085 MB / 402.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3386, allocations: 15.98 kB / 402.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.3387, allocations: 16 kB / 402.6 MB, free: 10.89 MB / 394.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.0001426/0.3388, allocations: 204.1 kB / 402.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.3388, allocations: 45.84 kB / 402.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.3396, allocations: 0.9402 MB / 403.8 MB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3396, allocations: 19.97 kB / 403.8 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3396, allocations: 0 / 403.8 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3396, allocations: 8.031 kB / 403.8 MB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.34, allocations: 394.5 kB / 404.2 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.34, allocations: 0 / 404.2 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.3401, allocations: 55.95 kB / 404.3 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.3402, allocations: 84.44 kB / 404.4 MB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.3405, allocations: 188 kB / 404.5 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.3405, allocations: 15.94 kB / 404.6 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004277/0.341, allocations: 1.141 MB / 405.7 MB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.341, allocations: 3.938 kB / 405.7 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.3417, allocations: 0.9557 MB / 406.7 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3417, allocations: 11.98 kB / 406.7 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.3418, allocations: 16.09 kB / 406.7 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3419, allocations: 23.95 kB / 406.7 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3419, allocations: 8 kB / 406.7 MB, free: 6.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.841e-05/0.342, allocations: 124.7 kB / 406.8 MB, free: 6.461 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.342, allocations: 0 / 406.8 MB, free: 6.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002323/0.3443, allocations: 1.134 MB / 408 MB, free: 5.324 MB / 394.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.003072/0.3474, allocations: 1.582 MB / 409.6 MB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005202/0.3479, allocations: 0.5512 MB / 410.1 MB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.3479, allocations: 7.984 kB / 410.1 MB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.3482, allocations: 395.8 kB / 410.5 MB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3486, allocations: 206.4 kB / 410.7 MB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.3534, allocations: 1.299 MB / 412 MB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.276e-05/0.3535, allocations: 162.7 kB / 412.2 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.3537, allocations: 88.88 kB / 412.2 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.354, allocations: 185.2 kB / 412.4 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.354, allocations: 0 / 412.4 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of Templates: time 0.1502/0.5042, allocations: 46.15 MB / 458.6 MB, free: 107.3 MB / 410.7 MB " [Timeout remaining time 659] 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: 4.41707128752023]