Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009413/0.0009413, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009505/0.0009505, allocations: 161.4 kB / 24.56 MB, free: 20 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.9341/0.9341, allocations: 177.1 MB / 205 MB, free: 5.273 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.08551/0.08551, allocations: 19.73 MB / 281.2 MB, free: 9.098 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.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 358 MB, free: 7.617 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.415e-05, allocations: 2.312 kB / 358 MB, free: 7.613 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01206/0.01207, allocations: 13.97 MB / 372 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02295, allocations: 13.28 MB / 385.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.02305, allocations: 4 kB / 385.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.02335, allocations: 95.3 kB / 385.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.02358, allocations: 210.6 kB / 385.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009003/0.03258, allocations: 5.394 MB / 390.9 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.03377, allocations: 2 MB / 392.9 MB, free: 4.535 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.0339, allocations: 58.5 kB / 393 MB, free: 4.473 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.03448, allocations: 0.8542 MB / 393.9 MB, free: 3.617 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.03517, allocations: 0.7408 MB / 394.6 MB, free: 2.875 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.03532, allocations: 136 kB / 394.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00742/0.04274, allocations: 6.516 MB / 401.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.04303, allocations: 499 kB / 401.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.04337, allocations: 491.1 kB / 402.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.04849, allocations: 5.916 MB / 408.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.04849, allocations: 0 / 408.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.04849, allocations: 0 / 408.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.0485, allocations: 0 / 408.1 MB, free: 5.32 MB / 378.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.004389/0.05289, allocations: 2.575 MB / 410.7 MB, free: 2.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.05292, allocations: 12.62 kB / 410.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.05432, allocations: 0.515 MB / 411.2 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.05494, allocations: 0.5087 MB / 411.7 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/0.05556, allocations: 1.064 MB / 412.8 MB, free: 400 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.05573, allocations: 71.94 kB / 412.9 MB, free: 328 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.05846, allocations: 1.896 MB / 414.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.05848, allocations: 0 / 414.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.05861, allocations: 39.98 kB / 414.8 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.05866, allocations: 49.97 kB / 414.9 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.06154, allocations: 2.018 MB / 416.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007302/0.06884, allocations: 6.306 MB / 423.2 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.07099, allocations: 1.466 MB / 424.6 MB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.07222, allocations: 0.8499 MB / 425.5 MB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1594/0.2316, allocations: 29.27 MB / 454.8 MB, free: 97.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.2316, allocations: 45.11 kB / 454.8 MB, free: 97.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/0.2316, allocations: 0 / 454.8 MB, free: 97.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.004527/0.2361, allocations: 2.603 MB / 457.4 MB, free: 97.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.2362, allocations: 61.94 kB / 457.5 MB, free: 97.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2363, allocations: 264 kB / 457.7 MB, free: 97.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.2364, allocations: 39.27 kB / 457.8 MB, free: 97.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.2365, allocations: 305.7 kB / 458.1 MB, free: 97.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.2368, allocations: 330.7 kB / 458.4 MB, free: 96.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005286/0.2373, allocations: 278.9 kB / 458.7 MB, free: 96.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.2374, allocations: 0.5285 MB / 459.2 MB, free: 96.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.2386, allocations: 0.739 MB / 459.9 MB, free: 96.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.2399, allocations: 0.8863 MB / 460.8 MB, free: 96.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.2414, allocations: 0.7504 MB / 461.6 MB, free: 96.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2414, allocations: 0 / 461.6 MB, free: 96.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002776/0.2441, allocations: 1.443 MB / 463 MB, free: 96.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2442, allocations: 10.22 kB / 463 MB, free: 96.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2442, allocations: 0 / 463 MB, free: 96.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.2442, allocations: 9.531 kB / 463 MB, free: 96.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.2463, allocations: 0.7156 MB / 463.7 MB, free: 96.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.2463, allocations: 10 kB / 463.8 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.2478, allocations: 0.4908 MB / 464.2 MB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.2479, allocations: 92 kB / 464.3 MB, free: 96.05 MB / 410.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.0003168/0.2483, allocations: 207 kB / 464.5 MB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.2486, allocations: 69.91 kB / 464.6 MB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.2523, allocations: 2.917 MB / 467.5 MB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003323/0.2557, allocations: 2.33 MB / 469.9 MB, free: 95.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2557, allocations: 0 / 469.9 MB, free: 95.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2557, allocations: 10.73 kB / 469.9 MB, free: 95.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00658/0.2623, allocations: 4.47 MB / 474.3 MB, free: 94.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2623, allocations: 5.141 kB / 474.3 MB, free: 94.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.2642, allocations: 0.6969 MB / 475 MB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.2642, allocations: 3.344 kB / 475 MB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.2644, allocations: 83.33 kB / 475.1 MB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2644, allocations: 6.156 kB / 475.1 MB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2644, allocations: 0 / 475.1 MB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.2673, allocations: 1.989 MB / 477.1 MB, free: 94.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.2674, allocations: 118.5 kB / 477.2 MB, free: 94.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.2675, allocations: 20.66 kB / 477.3 MB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.269, allocations: 461.4 kB / 477.7 MB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.2693, allocations: 148.9 kB / 477.8 MB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/0.2694, allocations: 87.77 kB / 477.9 MB, free: 94.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.166e-05/0.2695, allocations: 175.7 kB / 478.1 MB, free: 94.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2695, allocations: 0 / 478.1 MB, free: 94.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002422/0.2719, allocations: 1.307 MB / 479.4 MB, free: 94 MB / 410.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.002985/0.2749, allocations: 1.292 MB / 480.7 MB, free: 93.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.2777, allocations: 1.937 MB / 482.6 MB, free: 93.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2777, allocations: 0 / 482.6 MB, free: 93.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.2793, allocations: 1.122 MB / 483.8 MB, free: 93.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.2805, allocations: 396.9 kB / 484.1 MB, free: 93.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.285, allocations: 2.697 MB / 486.8 MB, free: 92.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.2852, allocations: 272 kB / 487.1 MB, free: 91.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001341/0.2865, allocations: 0.578 MB / 487.7 MB, free: 91.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009863/0.2875, allocations: 212.8 kB / 487.9 MB, free: 91.33 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2875, allocations: 4 kB / 487.9 MB, free: 91.33 MB / 410.7 MB Notification: Performance of Templates: time 0.04275/0.3302, allocations: 58.89 MB / 0.534 GB, free: 37.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.782173139974475]