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.00138/0.00138, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001739/0.001739, allocations: 165 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.895/0.895, allocations: 177.1 MB / 205 MB, free: 5.578 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.08699/0.08699, allocations: 19.74 MB / 281.2 MB, free: 9.211 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.503e-06/1.503e-06, allocations: 0 / 358 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.004e-05, allocations: 10.25 kB / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.02267/0.02269, allocations: 31.52 MB / 389.5 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008796/0.03149, allocations: 10.26 MB / 399.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.03178, allocations: 15.88 kB / 399.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.03237, allocations: 230.5 kB / 400 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.03718, allocations: 2.411 MB / 402.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006196/0.04337, allocations: 3.264 MB / 405.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009769/0.04435, allocations: 0.8986 MB / 406.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.04477, allocations: 284.9 kB / 406.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.04525, allocations: 474.8 kB / 407.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.04561, allocations: 339.1 kB / 407.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.04565, allocations: 32 kB / 407.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1247/0.1704, allocations: 7.151 MB / 414.8 MB, free: 23.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1705, allocations: 99.55 kB / 414.9 MB, free: 23.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.1708, allocations: 180.1 kB / 415.1 MB, free: 23.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008409/0.1792, allocations: 5.66 MB / 420.7 MB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1792, allocations: 2.719 kB / 420.7 MB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1792, allocations: 0 / 420.7 MB, free: 23.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1792, allocations: 0 / 420.7 MB, free: 23.77 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.002734/0.182, allocations: 1.433 MB / 422.2 MB, free: 22.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.182, allocations: 10.38 kB / 422.2 MB, free: 22.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.1826, allocations: 206.1 kB / 422.4 MB, free: 22.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.1829, allocations: 320.9 kB / 422.7 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.183, allocations: 26.06 kB / 422.7 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.183, allocations: 35.59 kB / 422.8 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.1835, allocations: 0.505 MB / 423.3 MB, free: 22.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1835, allocations: 3.938 kB / 423.3 MB, free: 22.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.1836, allocations: 21 kB / 423.3 MB, free: 22.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1836, allocations: 7.969 kB / 423.3 MB, free: 22.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.1839, allocations: 269.5 kB / 423.6 MB, free: 22.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1851, allocations: 2.131 MB / 425.7 MB, free: 20.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.1855, allocations: 251.2 kB / 425.9 MB, free: 20.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1856, allocations: 130.4 kB / 426.1 MB, free: 20.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02742/0.213, allocations: 17.62 MB / 443.7 MB, free: 16.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.2134, allocations: 315.4 kB / 444 MB, free: 15.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.2134, allocations: 0 / 444 MB, free: 15.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001983/0.2154, allocations: 1.404 MB / 445.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.2154, allocations: 140.3 kB / 445.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.2156, allocations: 388.1 kB / 445.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2156, allocations: 36.08 kB / 446 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.2157, allocations: 306.8 kB / 446.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.2158, allocations: 117 kB / 446.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.2159, allocations: 80.05 kB / 446.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.2159, allocations: 0.5284 MB / 447 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.216, allocations: 134.2 kB / 447.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.2162, allocations: 259.5 kB / 447.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.2164, allocations: 370.8 kB / 447.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2164, allocations: 32 / 447.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004922/0.2169, allocations: 0.5482 MB / 448.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.2169, allocations: 70.2 kB / 448.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2169, allocations: 5.594 kB / 448.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006607/0.2176, allocations: 148.7 kB / 448.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2177, allocations: 69.66 kB / 448.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004677/0.2182, allocations: 1.63 MB / 450.2 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2183, allocations: 17.06 kB / 450.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2184, allocations: 20.03 kB / 450.2 MB, free: 9.656 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.0001379/0.2185, allocations: 253.6 kB / 450.5 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.2185, allocations: 57.27 kB / 450.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000893/0.2194, allocations: 1.138 MB / 451.7 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.2195, allocations: 19.91 kB / 451.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2195, allocations: 4 kB / 451.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2195, allocations: 0 / 451.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.2198, allocations: 0.498 MB / 452.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2198, allocations: 1.312 kB / 452.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2199, allocations: 43.97 kB / 452.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.2202, allocations: 187.2 kB / 452.4 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.2202, allocations: 18.94 kB / 452.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003282/0.2205, allocations: 1.693 MB / 454.1 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2205, allocations: 0 / 454.1 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.2214, allocations: 1.198 MB / 455.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2215, allocations: 103 kB / 455.4 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.2215, allocations: 15.47 kB / 455.4 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.2216, allocations: 11.62 kB / 455.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.2217, allocations: 23.83 kB / 455.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.2217, allocations: 19.17 kB / 455.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.2218, allocations: 246.7 kB / 455.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2218, allocations: 2.438 kB / 455.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002801/0.2246, allocations: 1.125 MB / 456.9 MB, free: 3.379 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.003753/0.2284, allocations: 1.497 MB / 458.4 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.229, allocations: 0.6056 MB / 459 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.229, allocations: 0 / 459 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.2293, allocations: 439.3 kB / 459.4 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2298, allocations: 182 kB / 459.6 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2313, allocations: 1.31 MB / 460.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.706e-05/0.2314, allocations: 162 kB / 461 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.2316, allocations: 90.16 kB / 461.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.2316, allocations: 32.48 kB / 461.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2316, allocations: 4 kB / 461.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of Templates: time 0.0494/0.281, allocations: 47.77 MB / 0.497 GB, free: 15.9 MB / 394.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: 5.308356855995953]