Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.00105/0.00105, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001414/0.001414, allocations: 173.7 kB / 24.82 MB, free: 9.316 MB / 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 0.8939/0.8939, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.1857/0.1857, allocations: 36.35 MB / 275.4 MB, free: 10.47 MB / 266.7 MB " [Timeout remaining time 180] 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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.42e-07/8.42e-07, allocations: 0 / 354.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.139e-05, allocations: 5.969 kB / 354.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.0211/0.02111, allocations: 30.86 MB / 385.1 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00844/0.02955, allocations: 10.09 MB / 395.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.02979, allocations: 15.88 kB / 395.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.03029, allocations: 234.5 kB / 395.5 MB, free: 9.816 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.0345, allocations: 2.377 MB / 397.8 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006598/0.0411, allocations: 3.268 MB / 401.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009212/0.04202, allocations: 0.8831 MB / 402 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.04244, allocations: 269.2 kB / 402.2 MB, free: 2.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.04299, allocations: 470.8 kB / 402.7 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.04342, allocations: 339.1 kB / 403 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.04347, allocations: 32 kB / 403.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.05395, allocations: 7.159 MB / 410.2 MB, free: 11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.183e-05/0.05404, allocations: 95.61 kB / 410.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.0542, allocations: 171.6 kB / 410.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007225/0.06142, allocations: 5.644 MB / 416.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.06143, allocations: 0 / 416.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.06143, allocations: 0 / 416.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.06143, allocations: 0 / 416.1 MB, free: 5.078 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002074/0.06351, allocations: 1.422 MB / 417.6 MB, free: 3.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.06354, allocations: 8.031 kB / 417.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/0.06429, allocations: 216.2 kB / 417.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.06463, allocations: 302.5 kB / 418.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.06466, allocations: 32.97 kB / 418.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.06471, allocations: 40.36 kB / 418.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.06528, allocations: 479.8 kB / 418.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.06529, allocations: 4.172 kB / 418.6 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.06532, allocations: 19.94 kB / 418.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.06533, allocations: 12 kB / 418.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.06568, allocations: 235.7 kB / 418.9 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.06715, allocations: 2.047 MB / 420.9 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.06752, allocations: 238.4 kB / 421.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.06763, allocations: 119 kB / 421.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0315/0.09913, allocations: 14.79 MB / 436.1 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006332/0.09976, allocations: 303.6 kB / 436.4 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/0.09976, allocations: 0 / 436.4 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.1381/0.2378, allocations: 1.293 MB / 437.6 MB, free: 71.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2379, allocations: 142.9 kB / 437.8 MB, free: 71.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.2381, allocations: 383.2 kB / 438.2 MB, free: 71.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2382, allocations: 32.61 kB / 438.2 MB, free: 71.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.2383, allocations: 302.7 kB / 438.5 MB, free: 71.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.2384, allocations: 116.9 kB / 438.6 MB, free: 71.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.2385, allocations: 86.36 kB / 438.7 MB, free: 71.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.2386, allocations: 0.5345 MB / 439.2 MB, free: 70.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.2387, allocations: 112.1 kB / 439.3 MB, free: 70.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2388, allocations: 253.8 kB / 439.6 MB, free: 70.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.2391, allocations: 349.5 kB / 439.9 MB, free: 70 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2391, allocations: 0 / 439.9 MB, free: 70 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007502/0.2398, allocations: 0.5299 MB / 440.5 MB, free: 69.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.2399, allocations: 70.8 kB / 440.5 MB, free: 69.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2399, allocations: 2.062 kB / 440.5 MB, free: 69.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008819/0.2408, allocations: 160.3 kB / 440.7 MB, free: 69.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2409, allocations: 59.55 kB / 440.7 MB, free: 69.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.2584, allocations: 10.15 MB / 450.9 MB, free: 66.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.2587, allocations: 11.44 kB / 450.9 MB, free: 66.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2587, allocations: 19.73 kB / 450.9 MB, free: 66.84 MB / 362.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.2589, allocations: 246.2 kB / 451.2 MB, free: 66.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.259, allocations: 68.56 kB / 451.2 MB, free: 66.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.2601, allocations: 1.069 MB / 452.3 MB, free: 66.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.2601, allocations: 21.81 kB / 452.3 MB, free: 66.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2601, allocations: 4 kB / 452.3 MB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2601, allocations: 3.562 kB / 452.3 MB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.2605, allocations: 437.2 kB / 452.7 MB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2605, allocations: 5.766 kB / 452.7 MB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2607, allocations: 45.53 kB / 452.8 MB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.2611, allocations: 213.9 kB / 453 MB, free: 66.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.2611, allocations: 23.16 kB / 453 MB, free: 66.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009725/0.2621, allocations: 2.644 MB / 455.7 MB, free: 63.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2621, allocations: 0 / 455.7 MB, free: 63.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2631, allocations: 1.111 MB / 456.8 MB, free: 63.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2632, allocations: 100.7 kB / 456.9 MB, free: 63.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.2633, allocations: 9.812 kB / 456.9 MB, free: 63.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2634, allocations: 11.95 kB / 456.9 MB, free: 63.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.2635, allocations: 37.33 kB / 456.9 MB, free: 63.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.2635, allocations: 12.38 kB / 456.9 MB, free: 63.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.2636, allocations: 245.3 kB / 457.2 MB, free: 62.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2636, allocations: 2.75 kB / 457.2 MB, free: 62.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002395/0.266, allocations: 1.119 MB / 458.3 MB, free: 62.61 MB / 362.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 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003525/0.2695, allocations: 1.509 MB / 459.8 MB, free: 61.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007992/0.2703, allocations: 0.7541 MB / 460.6 MB, free: 60.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2703, allocations: 0 / 460.6 MB, free: 60.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.2707, allocations: 0.5703 MB / 461.1 MB, free: 60.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.2713, allocations: 175.7 kB / 461.3 MB, free: 60.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.273, allocations: 1.294 MB / 462.6 MB, free: 58.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.2731, allocations: 164.6 kB / 462.8 MB, free: 58.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.2733, allocations: 85.5 kB / 462.9 MB, free: 58.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.2736, allocations: 222.1 kB / 463.1 MB, free: 58.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2736, allocations: 0 / 463.1 MB, free: 58.48 MB / 362.7 MB Notification: Performance of Templates: time 0.04469/0.3183, allocations: 47.04 MB / 0.4982 GB, free: 13.08 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.619247407186776]