Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.0009402/0.0009402, 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.001756/0.001756, allocations: 166.4 kB / 24.99 MB, free: 8.746 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.7846/0.7846, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.1575/0.1575, allocations: 36.34 MB / 275.4 MB, free: 10.72 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.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 353.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.512e-05, allocations: 5.688 kB / 353.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01842/0.01845, allocations: 16.18 MB / 370 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.03355, allocations: 13.26 MB / 383.3 MB, free: 6.172 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.03368, allocations: 4 kB / 383.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.03408, allocations: 119.2 kB / 383.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.03439, allocations: 210.6 kB / 383.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.04635, allocations: 5.371 MB / 389 MB, free: 464 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.04842, allocations: 1.993 MB / 390.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.04858, allocations: 57.88 kB / 391 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.04949, allocations: 0.8504 MB / 391.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.05059, allocations: 0.7486 MB / 392.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.05079, allocations: 139.9 kB / 392.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008236/0.05903, allocations: 6.492 MB / 399.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.05936, allocations: 499 kB / 399.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.05983, allocations: 487.1 kB / 400.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.06471, allocations: 5.893 MB / 406.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.06471, allocations: 3.938 kB / 406.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.06471, allocations: 0 / 406.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.06472, allocations: 3.938 kB / 406.1 MB, free: 15.27 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004459/0.06918, allocations: 2.583 MB / 408.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.06921, allocations: 8.031 kB / 408.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.07056, allocations: 0.5073 MB / 409.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.07114, allocations: 0.4994 MB / 409.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006299/0.07177, allocations: 1.064 MB / 410.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.07193, allocations: 71.94 kB / 410.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/0.07475, allocations: 1.896 MB / 412.7 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.07477, allocations: 0 / 412.7 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.0749, allocations: 35.94 kB / 412.8 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.07496, allocations: 53.97 kB / 412.8 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.07809, allocations: 2.01 MB / 414.8 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007377/0.08547, allocations: 6.306 MB / 421.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.0878, allocations: 1.475 MB / 422.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.08881, allocations: 0.8459 MB / 423.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1529/0.2417, allocations: 28.01 MB / 451.5 MB, free: 83.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2417, allocations: 46.39 kB / 451.5 MB, free: 83.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=88): time 2.665e-06/0.2417, allocations: 4 kB / 451.5 MB, free: 83.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.00438/0.2461, allocations: 2.593 MB / 454.1 MB, free: 80.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2461, allocations: 63.78 kB / 454.2 MB, free: 80.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2463, allocations: 257.7 kB / 454.4 MB, free: 80.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.2464, allocations: 45.7 kB / 454.5 MB, free: 80.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.2465, allocations: 306.2 kB / 454.8 MB, free: 80.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.2467, allocations: 324.3 kB / 455.1 MB, free: 80.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.247, allocations: 280 kB / 455.4 MB, free: 79.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.2471, allocations: 0.5309 MB / 455.9 MB, free: 79.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008921/0.248, allocations: 0.7398 MB / 456.6 MB, free: 78.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.2489, allocations: 0.8822 MB / 457.5 MB, free: 77.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2501, allocations: 0.7507 MB / 458.3 MB, free: 76.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2501, allocations: 0 / 458.3 MB, free: 76.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002102/0.2522, allocations: 1.443 MB / 459.7 MB, free: 75.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2522, allocations: 8 kB / 459.7 MB, free: 75.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2522, allocations: 0 / 459.7 MB, free: 75.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2523, allocations: 8 kB / 459.7 MB, free: 75.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.2537, allocations: 0.7138 MB / 460.4 MB, free: 74.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2537, allocations: 15.5 kB / 460.4 MB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.2548, allocations: 0.4905 MB / 460.9 MB, free: 74.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.2549, allocations: 95.81 kB / 461 MB, free: 74.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.2552, allocations: 200.4 kB / 461.2 MB, free: 73.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.2555, allocations: 71.72 kB / 461.3 MB, free: 73.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.2582, allocations: 2.904 MB / 464.2 MB, free: 70.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002165/0.2604, allocations: 2.329 MB / 466.5 MB, free: 68.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2604, allocations: 0.75 kB / 466.5 MB, free: 68.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2604, allocations: 3.984 kB / 466.5 MB, free: 68.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/0.265, allocations: 4.472 MB / 471 MB, free: 64.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.265, allocations: 0 / 471 MB, free: 64.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.2664, allocations: 0.7013 MB / 471.7 MB, free: 63.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2664, allocations: 4 kB / 471.7 MB, free: 63.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.2665, allocations: 75.81 kB / 471.8 MB, free: 63.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2665, allocations: 7.938 kB / 471.8 MB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2665, allocations: 4 kB / 471.8 MB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.2688, allocations: 1.987 MB / 473.8 MB, free: 61.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.2688, allocations: 114.9 kB / 473.9 MB, free: 61.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.269, allocations: 16 kB / 473.9 MB, free: 61.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.27, allocations: 478.3 kB / 474.4 MB, free: 60.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.2702, allocations: 144.5 kB / 474.5 MB, free: 60.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.963e-05/0.2703, allocations: 83.81 kB / 474.6 MB, free: 60.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.2704, allocations: 180.1 kB / 474.8 MB, free: 60.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2704, allocations: 0 / 474.8 MB, free: 60.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002037/0.2724, allocations: 1.298 MB / 476.1 MB, free: 58.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002439/0.2749, allocations: 1.28 MB / 477.4 MB, free: 57.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.277, allocations: 1.936 MB / 479.3 MB, free: 55.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.277, allocations: 4 kB / 479.3 MB, free: 55.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.2782, allocations: 1.123 MB / 480.4 MB, free: 54.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.2791, allocations: 401.8 kB / 480.8 MB, free: 54.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.2826, allocations: 2.687 MB / 483.5 MB, free: 51.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.2828, allocations: 274.1 kB / 483.8 MB, free: 51.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009806/0.2838, allocations: 0.5611 MB / 484.3 MB, free: 50.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000722/0.2845, allocations: 224 kB / 484.5 MB, free: 50.54 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2845, allocations: 0 / 484.5 MB, free: 50.54 MB / 362.7 MB Notification: Performance of Templates: time 0.03972/0.3242, allocations: 58.82 MB / 0.5306 GB, free: 7.484 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5980162881314754]