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.001405/0.001405, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.004747/0.004747, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.8522/0.8522, allocations: 158.6 MB / 186.8 MB, free: 2.926 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.1806/0.1806, allocations: 36.34 MB / 275.4 MB, free: 10.71 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 2.073e-06/2.073e-06, allocations: 0 / 353.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.714e-05, allocations: 5.688 kB / 353.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04362/0.04365, allocations: 52.28 MB / 406.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.05621, allocations: 17.17 MB / 423.2 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.05648, allocations: 15.88 kB / 423.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.05708, allocations: 258.4 kB / 423.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.06105, allocations: 2.4 MB / 425.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005213/0.06626, allocations: 3.256 MB / 429.2 MB, free: 8.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006526/0.06691, allocations: 0.8714 MB / 430 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.06729, allocations: 281.1 kB / 430.3 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/0.06769, allocations: 474.7 kB / 430.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.06802, allocations: 339.1 kB / 431.1 MB, free: 6.152 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.06807, allocations: 32 kB / 431.1 MB, free: 6.121 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1415/0.2096, allocations: 7.146 MB / 438.3 MB, free: 24.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2097, allocations: 98.91 kB / 438.4 MB, free: 24.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.21, allocations: 178.9 kB / 438.6 MB, free: 24.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.2186, allocations: 5.635 MB / 444.2 MB, free: 24.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2186, allocations: 1.375 kB / 444.2 MB, free: 24.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2186, allocations: 0 / 444.2 MB, free: 24.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2186, allocations: 0 / 444.2 MB, free: 24.77 MB / 362.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.002185/0.2208, allocations: 1.423 MB / 445.6 MB, free: 23.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2209, allocations: 9.625 kB / 445.6 MB, free: 23.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007191/0.2216, allocations: 208.1 kB / 445.8 MB, free: 23.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.2219, allocations: 301.7 kB / 446.1 MB, free: 23.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.2219, allocations: 29.75 kB / 446.2 MB, free: 23.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.222, allocations: 34.72 kB / 446.2 MB, free: 23.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.2225, allocations: 0.5011 MB / 446.7 MB, free: 23.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2226, allocations: 3 kB / 446.7 MB, free: 23.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.2226, allocations: 18.97 kB / 446.7 MB, free: 23.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.2226, allocations: 8.938 kB / 446.7 MB, free: 23.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.223, allocations: 263.7 kB / 447 MB, free: 23.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2243, allocations: 2.119 MB / 449.1 MB, free: 21.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.2246, allocations: 249.8 kB / 449.3 MB, free: 21.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.2247, allocations: 135.8 kB / 449.5 MB, free: 21.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02694/0.2516, allocations: 16.9 MB / 466.4 MB, free: 20.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.252, allocations: 319.2 kB / 466.7 MB, free: 20 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.494e-06/0.252, allocations: 0 / 466.7 MB, free: 20 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002037/0.254, allocations: 1.4 MB / 468.1 MB, free: 19.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.2541, allocations: 143.8 kB / 468.2 MB, free: 19.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.2543, allocations: 381.5 kB / 468.6 MB, free: 18.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2543, allocations: 34.56 kB / 468.6 MB, free: 18.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2544, allocations: 307.4 kB / 468.9 MB, free: 18.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.2545, allocations: 111.3 kB / 469 MB, free: 18.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.2545, allocations: 81.36 kB / 469.1 MB, free: 18.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.2546, allocations: 0.5275 MB / 469.6 MB, free: 17.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.2547, allocations: 129 kB / 469.8 MB, free: 17.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2548, allocations: 267.9 kB / 470 MB, free: 17.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2551, allocations: 374 kB / 470.4 MB, free: 17.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2551, allocations: 0 / 470.4 MB, free: 17.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005122/0.2556, allocations: 0.5436 MB / 470.9 MB, free: 17.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.2556, allocations: 73.23 kB / 471 MB, free: 17.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2556, allocations: 0 / 471 MB, free: 17.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/0.2564, allocations: 158.2 kB / 471.2 MB, free: 17.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2565, allocations: 58.88 kB / 471.2 MB, free: 17.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004215/0.2569, allocations: 1.632 MB / 472.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.257, allocations: 13.94 kB / 472.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.2571, allocations: 17.44 kB / 472.9 MB, free: 15.43 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.2572, allocations: 264.5 kB / 473.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.2572, allocations: 56.55 kB / 473.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000927/0.2582, allocations: 1.133 MB / 474.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.2582, allocations: 25.55 kB / 474.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2582, allocations: 3.844 kB / 474.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2582, allocations: 4 kB / 474.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.2585, allocations: 0.4931 MB / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2585, allocations: 0 / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.2586, allocations: 44.59 kB / 474.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.2589, allocations: 187.7 kB / 475.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.2589, allocations: 14.09 kB / 475.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003585/0.2593, allocations: 1.701 MB / 476.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2593, allocations: 3.625 kB / 476.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.2602, allocations: 1.189 MB / 478 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.2603, allocations: 104.5 kB / 478.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.2603, allocations: 16.12 kB / 478.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.2604, allocations: 12.88 kB / 478.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.2605, allocations: 24.52 kB / 478.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2605, allocations: 15 kB / 478.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.2606, allocations: 254.4 kB / 478.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2606, allocations: 0 / 478.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002475/0.2631, allocations: 1.125 MB / 479.5 MB, free: 10.73 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.002617/0.2657, allocations: 1.469 MB / 481 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.2663, allocations: 0.5924 MB / 481.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2663, allocations: 4 kB / 481.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.2665, allocations: 449.3 kB / 482 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.267, allocations: 170.6 kB / 482.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2684, allocations: 1.326 MB / 483.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.247e-05/0.2685, allocations: 150.9 kB / 483.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.2686, allocations: 97.7 kB / 483.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.2687, allocations: 36 kB / 483.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2687, allocations: 0 / 483.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of Templates: time 0.03595/0.3046, allocations: 41.1 MB / 0.5126 GB, free: 13.76 MB / 410.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.582024918170646]