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.0008576/0.0008576, 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.0008445/0.0008445, 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 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.919/0.919, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.09305/0.09305, allocations: 19.74 MB / 281.5 MB, free: 9.34 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.873e-06/1.873e-06, allocations: 0 / 358 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.966e-05, allocations: 6.25 kB / 358 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01438/0.01441, allocations: 16.27 MB / 374.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00988/0.02429, allocations: 13.27 MB / 387.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.02439, allocations: 3.938 kB / 387.5 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.02472, allocations: 123.2 kB / 387.6 MB, free: 9.129 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.02496, allocations: 202.6 kB / 387.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008037/0.03299, allocations: 5.398 MB / 393.2 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.03418, allocations: 1.993 MB / 395.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.03432, allocations: 53.94 kB / 395.3 MB, free: 1.453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006293/0.03495, allocations: 0.8581 MB / 396.1 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007087/0.03566, allocations: 0.7408 MB / 396.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.03581, allocations: 136 kB / 397 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006815/0.04262, allocations: 6.524 MB / 403.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.0429, allocations: 499 kB / 404 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.04326, allocations: 487.1 kB / 404.5 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.04848, allocations: 5.916 MB / 410.4 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.04848, allocations: 0 / 410.4 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.04848, allocations: 0 / 410.4 MB, free: 2.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.04849, allocations: 7.938 kB / 410.4 MB, free: 2.285 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1092/0.1577, allocations: 2.576 MB / 413 MB, free: 62.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1577, allocations: 9.188 kB / 413 MB, free: 62.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.1591, allocations: 0.5153 MB / 413.5 MB, free: 62.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.1597, allocations: 0.5036 MB / 414 MB, free: 62.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/0.1603, allocations: 1.064 MB / 415.1 MB, free: 61.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.1604, allocations: 71.44 kB / 415.2 MB, free: 61.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.1635, allocations: 1.903 MB / 417.1 MB, free: 61.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1635, allocations: 0 / 417.1 MB, free: 61.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.1636, allocations: 30.88 kB / 417.1 MB, free: 61.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.1637, allocations: 53.64 kB / 417.1 MB, free: 61.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/0.1668, allocations: 2.019 MB / 419.2 MB, free: 61.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006374/0.1732, allocations: 6.319 MB / 425.5 MB, free: 57.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.1752, allocations: 1.467 MB / 427 MB, free: 56.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008887/0.1761, allocations: 0.8518 MB / 427.8 MB, free: 56.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04447/0.2206, allocations: 29.25 MB / 457.1 MB, free: 27.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2206, allocations: 46.39 kB / 457.1 MB, free: 27.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=88): time 2.304e-06/0.2206, allocations: 4 kB / 457.1 MB, free: 27.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.00411/0.2247, allocations: 2.599 MB / 459.7 MB, free: 25.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2247, allocations: 60.41 kB / 459.8 MB, free: 24.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2249, allocations: 265.4 kB / 460 MB, free: 24.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.225, allocations: 41.7 kB / 460.1 MB, free: 24.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.2251, allocations: 306.3 kB / 460.4 MB, free: 24.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.2253, allocations: 324.1 kB / 460.7 MB, free: 24.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/0.2256, allocations: 280 kB / 461 MB, free: 23.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.2256, allocations: 0.5274 MB / 461.5 MB, free: 23.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008454/0.2265, allocations: 0.7437 MB / 462.2 MB, free: 22.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009165/0.2274, allocations: 0.8822 MB / 463.1 MB, free: 21.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2286, allocations: 0.7569 MB / 463.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2286, allocations: 0 / 463.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002026/0.2306, allocations: 1.449 MB / 465.3 MB, free: 19.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2306, allocations: 8 kB / 465.3 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2306, allocations: 0 / 465.3 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2306, allocations: 8 kB / 465.3 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.2321, allocations: 0.7139 MB / 466 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2321, allocations: 8 kB / 466.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.2332, allocations: 0.4912 MB / 466.5 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.2333, allocations: 95.75 kB / 466.6 MB, free: 17.96 MB / 330.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.0002914/0.2336, allocations: 213.1 kB / 466.8 MB, free: 17.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.2339, allocations: 75.66 kB / 466.9 MB, free: 17.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.2366, allocations: 2.909 MB / 469.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002141/0.2387, allocations: 2.325 MB / 472.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2387, allocations: 0 / 472.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2387, allocations: 12.86 kB / 472.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.2432, allocations: 4.485 MB / 476.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2432, allocations: 4.062 kB / 476.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.2446, allocations: 0.6942 MB / 477.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2446, allocations: 4 kB / 477.4 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-05/0.2447, allocations: 79.81 kB / 477.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2447, allocations: 15.48 kB / 477.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2447, allocations: 0 / 477.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.2469, allocations: 1.991 MB / 479.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.2469, allocations: 110.9 kB / 479.5 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.2471, allocations: 16 kB / 479.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.2482, allocations: 467.4 kB / 480 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.2484, allocations: 144.6 kB / 480.2 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.2485, allocations: 87.81 kB / 480.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.814e-05/0.2485, allocations: 180.1 kB / 480.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2485, allocations: 0 / 480.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001908/0.2504, allocations: 1.306 MB / 481.7 MB, free: 2.801 MB / 330.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.002295/0.2527, allocations: 1.301 MB / 483 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.2549, allocations: 1.938 MB / 485 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2549, allocations: 0 / 485 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.2562, allocations: 1.123 MB / 486.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/0.2572, allocations: 392.3 kB / 486.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.2609, allocations: 2.684 MB / 489.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.2611, allocations: 274.1 kB / 489.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001062/0.2622, allocations: 0.5809 MB / 490 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007635/0.2629, allocations: 220 kB / 490.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2629, allocations: 0 / 490.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Templates: time 0.04967/0.3126, allocations: 59 MB / 0.5363 GB, free: 15.33 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.63240156089887]