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.0009194/0.0009194, 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.0009215/0.0009215, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9588/0.9588, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.09474/0.09474, allocations: 19.74 MB / 281.2 MB, free: 9.27 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.482e-06/1.482e-06, allocations: 0 / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.659e-05, allocations: 2.312 kB / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.03637/0.0364, allocations: 31.51 MB / 389.5 MB, free: 6.973 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009374/0.04577, allocations: 10.27 MB / 399.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.04607, allocations: 11.94 kB / 399.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005775/0.04664, allocations: 234.5 kB / 400 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.05107, allocations: 2.396 MB / 402.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006428/0.0575, allocations: 3.271 MB / 405.7 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.05871, allocations: 0.8986 MB / 406.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.05916, allocations: 273 kB / 406.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.05965, allocations: 482.7 kB / 407.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.06005, allocations: 335.1 kB / 407.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.0601, allocations: 36 kB / 407.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1378/0.1979, allocations: 7.149 MB / 414.8 MB, free: 23.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.198, allocations: 103.2 kB / 414.9 MB, free: 23.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.1983, allocations: 183.2 kB / 415.1 MB, free: 23.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.209, allocations: 5.654 MB / 420.7 MB, free: 23.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.209, allocations: 0 / 420.7 MB, free: 23.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.209, allocations: 0 / 420.7 MB, free: 23.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.209, allocations: 0 / 420.7 MB, free: 23.66 MB / 330.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.003213/0.2122, allocations: 1.433 MB / 422.2 MB, free: 22.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2123, allocations: 9.281 kB / 422.2 MB, free: 22.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.2129, allocations: 212.5 kB / 422.4 MB, free: 22.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.2133, allocations: 318.4 kB / 422.7 MB, free: 22.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2133, allocations: 27 kB / 422.7 MB, free: 22.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.2134, allocations: 36.09 kB / 422.8 MB, free: 22.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.2139, allocations: 0.5011 MB / 423.3 MB, free: 22.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.214, allocations: 8.25 kB / 423.3 MB, free: 22.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.214, allocations: 17.31 kB / 423.3 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.214, allocations: 9.875 kB / 423.3 MB, free: 22.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.2144, allocations: 268.5 kB / 423.6 MB, free: 22.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2156, allocations: 2.134 MB / 425.7 MB, free: 20.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.216, allocations: 249.4 kB / 425.9 MB, free: 20.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2161, allocations: 132.9 kB / 426.1 MB, free: 20.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02934/0.2455, allocations: 17.62 MB / 443.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.2459, allocations: 319.2 kB / 444 MB, free: 15.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.2459, allocations: 0 / 444 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002206/0.2481, allocations: 1.399 MB / 445.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.2482, allocations: 147.6 kB / 445.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.2484, allocations: 384.8 kB / 445.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2484, allocations: 29.64 kB / 445.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2486, allocations: 317 kB / 446.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.2486, allocations: 115.3 kB / 446.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.2487, allocations: 87.11 kB / 446.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.2488, allocations: 0.5298 MB / 447 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2489, allocations: 123.6 kB / 447.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.249, allocations: 259.7 kB / 447.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2492, allocations: 373.4 kB / 447.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2493, allocations: 0 / 447.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005342/0.2498, allocations: 0.5436 MB / 448.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.2498, allocations: 70.95 kB / 448.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2498, allocations: 4 kB / 448.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006982/0.2505, allocations: 154.9 kB / 448.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2507, allocations: 63.38 kB / 448.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004723/0.2512, allocations: 1.637 MB / 450.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.2513, allocations: 11.75 kB / 450.2 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.2513, allocations: 27.36 kB / 450.2 MB, free: 9.57 MB / 330.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.0001319/0.2515, allocations: 250.4 kB / 450.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2515, allocations: 59.27 kB / 450.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009072/0.2524, allocations: 1.134 MB / 451.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2524, allocations: 15.66 kB / 451.7 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2524, allocations: 3.688 kB / 451.7 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2524, allocations: 0 / 451.7 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.2528, allocations: 0.5001 MB / 452.2 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2528, allocations: 0 / 452.2 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2529, allocations: 44.14 kB / 452.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.2532, allocations: 198.4 kB / 452.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.2532, allocations: 7.938 kB / 452.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003485/0.2535, allocations: 1.696 MB / 454.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2535, allocations: 4 kB / 454.1 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/0.2544, allocations: 1.197 MB / 455.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.2545, allocations: 102.7 kB / 455.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.2545, allocations: 7.938 kB / 455.4 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.2546, allocations: 15.73 kB / 455.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.2547, allocations: 19.84 kB / 455.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.2547, allocations: 19.17 kB / 455.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.2548, allocations: 253.4 kB / 455.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2548, allocations: 0 / 455.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002881/0.2577, allocations: 1.12 MB / 456.9 MB, free: 3.301 MB / 330.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.003537/0.2612, allocations: 1.504 MB / 458.4 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.2618, allocations: 0.6028 MB / 459 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2618, allocations: 2.812 kB / 459 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.2621, allocations: 435.5 kB / 459.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.2626, allocations: 177.7 kB / 459.6 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2641, allocations: 1.322 MB / 460.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.2642, allocations: 158.3 kB / 461 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.2644, allocations: 86.88 kB / 461.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.2644, allocations: 32.5 kB / 461.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2644, allocations: 4 kB / 461.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Templates: time 0.04414/0.3086, allocations: 41.2 MB / 0.4906 GB, free: 6.32 MB / 378.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.742668597027659]