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.001292/0.001292, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001421/0.001421, allocations: 162.5 kB / 24.99 MB, free: 8.793 MB / 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.9352/0.9352, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.08901/0.08901, allocations: 19.74 MB / 281.5 MB, free: 9.316 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.543e-06/1.543e-06, allocations: 0 / 357.9 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.328e-05, allocations: 2.312 kB / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.1698/0.1698, allocations: 59.42 MB / 417.4 MB, free: 16.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008843/0.1786, allocations: 10.26 MB / 427.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.179, allocations: 10 kB / 427.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.1796, allocations: 265.8 kB / 427.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.1838, allocations: 2.406 MB / 430.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007174/0.191, allocations: 3.268 MB / 433.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009248/0.1919, allocations: 0.8959 MB / 434.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.1923, allocations: 277.1 kB / 434.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.1928, allocations: 482.2 kB / 435.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.1932, allocations: 340.5 kB / 435.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.1932, allocations: 30.59 kB / 435.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009297/0.2025, allocations: 7.171 MB / 442.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.2026, allocations: 100.3 kB / 442.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.2028, allocations: 181.4 kB / 443 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007239/0.21, allocations: 5.647 MB / 448.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.21, allocations: 0 / 448.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2101, allocations: 0 / 448.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2101, allocations: 0 / 448.7 MB, free: 11.96 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.002142/0.2122, allocations: 1.447 MB / 450.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2122, allocations: 8.125 kB / 450.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006674/0.2129, allocations: 215.3 kB / 450.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.2132, allocations: 299.1 kB / 450.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.2132, allocations: 31.08 kB / 450.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.2133, allocations: 45.27 kB / 450.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.2138, allocations: 0.5062 MB / 451.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2138, allocations: 384 / 451.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.2138, allocations: 21.81 kB / 451.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.2138, allocations: 9.469 kB / 451.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.2142, allocations: 269 kB / 451.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2154, allocations: 2.13 MB / 453.6 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.2158, allocations: 248.1 kB / 453.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2159, allocations: 136.6 kB / 454 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02915/0.245, allocations: 17.63 MB / 471.6 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.2455, allocations: 303.7 kB / 471.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.595e-06/0.2455, allocations: 0 / 471.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002567/0.2481, allocations: 1.399 MB / 473.3 MB, free: 5.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.2481, allocations: 139.7 kB / 473.5 MB, free: 5.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.2484, allocations: 394.6 kB / 473.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2484, allocations: 29.7 kB / 473.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.2486, allocations: 307.3 kB / 474.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.2487, allocations: 118.6 kB / 474.3 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.2487, allocations: 83.62 kB / 474.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2489, allocations: 0.5352 MB / 474.9 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.249, allocations: 124.2 kB / 475 MB, free: 3.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.2492, allocations: 263.6 kB / 475.3 MB, free: 3.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.2495, allocations: 365.6 kB / 475.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2495, allocations: 4.906 kB / 475.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006065/0.2501, allocations: 0.5408 MB / 476.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.2501, allocations: 71.39 kB / 476.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2501, allocations: 0 / 476.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.2509, allocations: 156.8 kB / 476.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.251, allocations: 58.92 kB / 476.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006595/0.2517, allocations: 1.638 MB / 478.1 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2518, allocations: 12 kB / 478.1 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2518, allocations: 28.03 kB / 478.1 MB, free: 56 kB / 346.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.0001796/0.252, allocations: 247.5 kB / 478.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.2521, allocations: 63.72 kB / 478.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.2531, allocations: 1.133 MB / 479.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.2531, allocations: 15.97 kB / 479.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2531, allocations: 4 kB / 479.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2531, allocations: 0 / 479.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.2538, allocations: 0.4985 MB / 480.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2538, allocations: 0 / 480.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.2539, allocations: 46.22 kB / 480.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.2542, allocations: 196.1 kB / 480.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2542, allocations: 20 kB / 480.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005742/0.2548, allocations: 1.705 MB / 482.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2548, allocations: 4 kB / 482.1 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2558, allocations: 1.19 MB / 483.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2559, allocations: 103.3 kB / 483.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.256, allocations: 20.09 kB / 483.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.256, allocations: 8 kB / 483.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.2561, allocations: 23.95 kB / 483.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2561, allocations: 12 kB / 483.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.2563, allocations: 255.1 kB / 483.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2563, allocations: 0 / 483.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002292/0.2586, allocations: 1.127 MB / 484.8 MB, free: 9.207 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 ($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.003012/0.2616, allocations: 1.491 MB / 486.3 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006866/0.2623, allocations: 0.5972 MB / 486.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2623, allocations: 0 / 486.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.2626, allocations: 441.1 kB / 487.3 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.2635, allocations: 171.7 kB / 487.5 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2652, allocations: 1.325 MB / 488.8 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.2653, allocations: 154.9 kB / 489 MB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.2655, allocations: 88.66 kB / 489 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.2655, allocations: 40.48 kB / 489.1 MB, free: 4.91 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2655, allocations: 0 / 489.1 MB, free: 4.91 MB / 362.7 MB Notification: Performance of Templates: time 0.04051/0.306, allocations: 41.19 MB / 0.5178 GB, free: 11.87 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.5989467818289995]