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.0012/0.0012, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00213/0.00333, allocations: 449.8 kB / 10.44 MB, free: 252 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.001257/0.001257, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002879, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9466/0.9466, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08479/1.031, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.08647/0.08647, allocations: 19.78 MB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01245/0.09893, allocations: 7.553 MB / 271.5 MB, free: 3.348 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.222e-06/1.222e-06, allocations: 0 / 272.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.317e-05, allocations: 2.312 kB / 272.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1395/0.1395, allocations: 31.44 MB / 304.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009181/0.1487, allocations: 10.3 MB / 314.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.1491, allocations: 11.88 kB / 314.6 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.1496, allocations: 234.5 kB / 314.8 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.1554, allocations: 2.18 MB / 317 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007042/0.1625, allocations: 3.022 MB / 320 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.1637, allocations: 0.8948 MB / 320.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.1641, allocations: 289.8 kB / 321.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000697/0.1648, allocations: 0.4954 MB / 321.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.1652, allocations: 307.1 kB / 322 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.1652, allocations: 32 kB / 322 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.1768, allocations: 7.688 MB / 329.7 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.177, allocations: 83.67 kB / 329.8 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.1772, allocations: 151.7 kB / 329.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.1878, allocations: 4.358 MB / 334.3 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.1878, allocations: 0 / 334.3 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1878, allocations: 7.938 kB / 334.3 MB, free: 16 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.1878, allocations: 0 / 334.3 MB, free: 16 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.003248/0.1911, allocations: 1.775 MB / 336.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1911, allocations: 8.922 kB / 336.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.1917, allocations: 220.4 kB / 336.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.192, allocations: 267.9 kB / 336.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.192, allocations: 25.38 kB / 336.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.1921, allocations: 52.23 kB / 336.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.1926, allocations: 481.5 kB / 337.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1926, allocations: 4.188 kB / 337.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1926, allocations: 19.94 kB / 337.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1926, allocations: 8 kB / 337.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.1929, allocations: 230.6 kB / 337.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1941, allocations: 1.457 MB / 338.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.1944, allocations: 271.5 kB / 339.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.1944, allocations: 124.2 kB / 339.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09607/0.2905, allocations: 58.45 MB / 397.6 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/0.291, allocations: 316.1 kB / 398 MB, free: 15.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.025e-06/0.291, allocations: 0 / 398 MB, free: 15.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002148/0.2932, allocations: 1.278 MB / 399.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.2933, allocations: 293 kB / 399.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.2935, allocations: 315.3 kB / 399.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.2935, allocations: 33.7 kB / 399.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2936, allocations: 213.5 kB / 400.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.2937, allocations: 115 kB / 400.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.2938, allocations: 73.97 kB / 400.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2939, allocations: 362.7 kB / 400.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.294, allocations: 107 kB / 400.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.2941, allocations: 217.9 kB / 400.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.2944, allocations: 348.6 kB / 401.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2944, allocations: 0 / 401.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004684/0.2949, allocations: 420.4 kB / 401.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.2949, allocations: 71.39 kB / 401.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2949, allocations: 0 / 401.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007409/0.2957, allocations: 141.6 kB / 401.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.2959, allocations: 78.94 kB / 402 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000616/0.2965, allocations: 1.086 MB / 403 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2966, allocations: 15.98 kB / 403.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.2967, allocations: 16 kB / 403.1 MB, free: 10.44 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.0001916/0.2969, allocations: 199.9 kB / 403.3 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.2969, allocations: 56.08 kB / 403.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008423/0.2978, allocations: 0.9362 MB / 404.3 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.2978, allocations: 23.97 kB / 404.3 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2978, allocations: 0 / 404.3 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2978, allocations: 3.984 kB / 404.3 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.2982, allocations: 390.5 kB / 404.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2982, allocations: 4 kB / 404.7 MB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.2983, allocations: 57.64 kB / 404.7 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.2984, allocations: 87.36 kB / 404.8 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.2987, allocations: 180.1 kB / 405 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2988, allocations: 15.94 kB / 405 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004583/0.2992, allocations: 1.146 MB / 406.2 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2992, allocations: 3.938 kB / 406.2 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007371/0.3, allocations: 0.9676 MB / 407.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.3, allocations: 12 kB / 407.1 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.3001, allocations: 8 kB / 407.1 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.3001, allocations: 32.05 kB / 407.2 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3001, allocations: 12 kB / 407.2 MB, free: 6.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.3002, allocations: 120.7 kB / 407.3 MB, free: 5.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3002, allocations: 0 / 407.3 MB, free: 5.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002293/0.3025, allocations: 1.13 MB / 408.4 MB, free: 4.863 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.003549/0.3061, allocations: 1.585 MB / 410 MB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006331/0.3067, allocations: 0.5573 MB / 410.6 MB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/0.3067, allocations: 4 kB / 410.6 MB, free: 2.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.307, allocations: 414.6 kB / 411 MB, free: 2.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.3078, allocations: 0.8891 MB / 411.9 MB, free: 1.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.3127, allocations: 1.288 MB / 413.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/0.3128, allocations: 170.7 kB / 413.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.313, allocations: 84.89 kB / 413.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.3133, allocations: 181.3 kB / 413.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3133, allocations: 0 / 413.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of Templates: time 0.1619/0.4751, allocations: 40.89 MB / 454.5 MB, free: 111.6 MB / 410.7 MB " [Timeout remaining time 660] 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.139939907938242]