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.001881/0.001881, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002205/0.002205, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.286/1.286, allocations: 158.6 MB / 186.1 MB, free: 2.887 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.2695/0.2695, allocations: 36.34 MB / 274.7 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.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.112e-06/1.112e-06, allocations: 0 / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.884e-05, allocations: 2.312 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02038/0.02039, allocations: 16.12 MB / 369.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.0397, allocations: 13.27 MB / 382.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.03989, allocations: 7.938 kB / 382.5 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.04035, allocations: 119.2 kB / 382.6 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.04076, allocations: 206.6 kB / 382.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.05486, allocations: 5.366 MB / 388.2 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.0574, allocations: 1.993 MB / 390.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.05757, allocations: 65.86 kB / 390.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.05868, allocations: 0.8542 MB / 391.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.05993, allocations: 0.7486 MB / 391.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.0602, allocations: 136 kB / 392 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.07354, allocations: 6.492 MB / 398.5 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006064/0.07415, allocations: 499 kB / 398.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008061/0.07495, allocations: 487.1 kB / 399.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.08692, allocations: 6.252 MB / 405.7 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.08693, allocations: 0 / 405.7 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08693, allocations: 0 / 405.7 MB, free: 15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.08694, allocations: 0 / 405.7 MB, free: 15 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.009167/0.0961, allocations: 2.595 MB / 408.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.09614, allocations: 8.031 kB / 408.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.09823, allocations: 0.5228 MB / 408.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.09949, allocations: 0.5032 MB / 409.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/0.1009, allocations: 1.064 MB / 410.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.1012, allocations: 71.94 kB / 410.4 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008664/0.1098, allocations: 2.785 MB / 413.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1099, allocations: 0 / 413.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.1101, allocations: 35.94 kB / 413.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.922e-05/0.1101, allocations: 49.98 kB / 413.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.1242, allocations: 4.297 MB / 417.6 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.1398, allocations: 6.865 MB / 424.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007501/0.1473, allocations: 2.217 MB / 426.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006333/0.1536, allocations: 1.818 MB / 428.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2146/0.3682, allocations: 28 MB / 456.5 MB, free: 77.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3683, allocations: 49.33 kB / 456.6 MB, free: 77.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.3683, allocations: 0 / 456.6 MB, free: 77.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.01692/0.3852, allocations: 5.507 MB / 462.1 MB, free: 72.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.3852, allocations: 60.41 kB / 462.1 MB, free: 72.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3854, allocations: 290.9 kB / 462.4 MB, free: 71.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.3856, allocations: 33.7 kB / 462.4 MB, free: 71.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3857, allocations: 313.5 kB / 462.7 MB, free: 71.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.386, allocations: 327.9 kB / 463.1 MB, free: 71.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/0.3866, allocations: 291.9 kB / 463.3 MB, free: 70.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.3867, allocations: 0.5465 MB / 463.9 MB, free: 70.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/0.3913, allocations: 1.742 MB / 465.6 MB, free: 68.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/0.396, allocations: 1.889 MB / 467.5 MB, free: 66.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008216/0.4042, allocations: 2.607 MB / 470.1 MB, free: 63.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4042, allocations: 4 kB / 470.1 MB, free: 63.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.009804/0.414, allocations: 3.365 MB / 473.5 MB, free: 60.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.414, allocations: 8 kB / 473.5 MB, free: 60.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.414, allocations: 0 / 473.5 MB, free: 60.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.414, allocations: 8 kB / 473.5 MB, free: 60.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/0.417, allocations: 0.714 MB / 474.2 MB, free: 59.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.4171, allocations: 11.5 kB / 474.2 MB, free: 59.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.4193, allocations: 0.5002 MB / 474.7 MB, free: 59.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.4195, allocations: 91.8 kB / 474.8 MB, free: 59.26 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.0005058/0.42, allocations: 244.4 kB / 475.1 MB, free: 59.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.4205, allocations: 72.64 kB / 475.1 MB, free: 58.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/0.4315, allocations: 4.744 MB / 479.9 MB, free: 54.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009876/0.4413, allocations: 4.182 MB / 484.1 MB, free: 50.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4414, allocations: 3.938 kB / 484.1 MB, free: 50.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4414, allocations: 3.984 kB / 484.1 MB, free: 50 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.4561, allocations: 6.413 MB / 490.5 MB, free: 43.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4561, allocations: 0 / 490.5 MB, free: 43.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/0.459, allocations: 0.6982 MB / 491.2 MB, free: 42.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.459, allocations: 7.938 kB / 491.2 MB, free: 42.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.4592, allocations: 79.81 kB / 491.3 MB, free: 42.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.4592, allocations: 4 kB / 491.3 MB, free: 42.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4592, allocations: 3.984 kB / 491.3 MB, free: 42.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.4695, allocations: 3.899 MB / 495.2 MB, free: 38.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.4696, allocations: 126.8 kB / 495.3 MB, free: 38.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.4698, allocations: 19.94 kB / 495.3 MB, free: 38.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/0.4721, allocations: 463.4 kB / 495.8 MB, free: 38.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.4724, allocations: 144.6 kB / 495.9 MB, free: 38.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/0.4726, allocations: 87.8 kB / 496 MB, free: 38.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.4727, allocations: 192.1 kB / 496.2 MB, free: 37.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4727, allocations: 0 / 496.2 MB, free: 37.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002921/0.4756, allocations: 1.291 MB / 497.5 MB, free: 36.54 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.004167/0.4798, allocations: 1.286 MB / 498.8 MB, free: 35.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.49, allocations: 3.907 MB / 0.4909 GB, free: 31.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.49, allocations: 0 / 0.4909 GB, free: 31.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005151/0.4951, allocations: 2.094 MB / 0.4929 GB, free: 29.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.4968, allocations: 397.4 kB / 0.4933 GB, free: 28.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008409/0.5052, allocations: 3.641 MB / 0.4969 GB, free: 25.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.5055, allocations: 0.4953 MB / 0.4974 GB, free: 24.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001676/0.5072, allocations: 0.5664 MB / 0.4979 GB, free: 24.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.5083, allocations: 220 kB / 0.4981 GB, free: 23.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5083, allocations: 0 / 0.4981 GB, free: 23.96 MB / 362.7 MB Notification: Performance of Templates: time 0.08324/0.5916, allocations: 58.82 MB / 0.5556 GB, free: 12.91 MB / 410.7 MB " [Timeout remaining time 659] 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: 7.868749712011777]