Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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.00134/0.00134, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0016/0.0016, allocations: 160.2 kB / 24.99 MB, free: 8.828 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.7916/0.7916, allocations: 158.6 MB / 186.8 MB, free: 2.918 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.1555/0.1555, allocations: 36.33 MB / 275.4 MB, free: 10.73 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.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 353.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.867e-05, allocations: 2.312 kB / 353.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01783/0.01785, allocations: 15.63 MB / 369.4 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.01878, allocations: 0.7127 MB / 370.2 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.0189, allocations: 7.938 kB / 370.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.0193, allocations: 99.41 kB / 370.3 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005461/0.01984, allocations: 226.6 kB / 370.5 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.02474, allocations: 2.063 MB / 372.5 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.02526, allocations: 469.4 kB / 373 MB, free: 476 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.02541, allocations: 55.16 kB / 373.1 MB, free: 416 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005793/0.02599, allocations: 443.1 kB / 373.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.0262, allocations: 219.4 kB / 373.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.02623, allocations: 20 kB / 373.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.02986, allocations: 3.511 MB / 377.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.03, allocations: 215.4 kB / 377.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.03014, allocations: 171.6 kB / 377.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.03256, allocations: 2.79 MB / 380.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.03256, allocations: 0 / 380.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.03256, allocations: 0 / 380.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.03257, allocations: 0 / 380.4 MB, free: 9.047 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001482/0.03405, allocations: 1.129 MB / 381.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.03408, allocations: 12.03 kB / 381.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.0343, allocations: 120.4 kB / 381.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.03475, allocations: 442.6 kB / 382.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.03477, allocations: 29.38 kB / 382.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.0348, allocations: 36.06 kB / 382.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.03539, allocations: 472.4 kB / 382.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.0354, allocations: 4 kB / 382.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.03543, allocations: 16 kB / 382.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.03547, allocations: 28.64 kB / 382.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.0359, allocations: 223.6 kB / 382.9 MB, free: 6.445 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.03728, allocations: 2.144 MB / 385 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.03771, allocations: 255 kB / 385.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.03784, allocations: 83.66 kB / 385.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01463/0.05248, allocations: 8.275 MB / 393.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.0525, allocations: 37.39 kB / 393.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.05251, allocations: 0 / 393.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009667/0.05347, allocations: 412.6 kB / 394.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.0535, allocations: 55.41 kB / 394.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.05374, allocations: 386.8 kB / 394.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.05375, allocations: 25.7 kB / 394.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.05389, allocations: 307.3 kB / 394.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.05394, allocations: 119 kB / 394.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.05401, allocations: 67.34 kB / 395 MB, free: 10.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.05414, allocations: 0.5313 MB / 395.5 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.0542, allocations: 31.98 kB / 395.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.0543, allocations: 110.1 kB / 395.7 MB, free: 9.445 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.0545, allocations: 167 kB / 395.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.0545, allocations: 0 / 395.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002536/0.05475, allocations: 221.3 kB / 396.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.05477, allocations: 4 kB / 396.1 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.05477, allocations: 4 kB / 396.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.05479, allocations: 3.938 kB / 396.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.05492, allocations: 47.91 kB / 396.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.05493, allocations: 4 kB / 396.1 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.055, allocations: 27.91 kB / 396.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.05502, allocations: 23.97 kB / 396.2 MB, free: 8.926 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 9.738e-05/0.05512, allocations: 168.5 kB / 396.3 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.05516, allocations: 43.77 kB / 396.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.05571, allocations: 0.6751 MB / 397.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.05573, allocations: 19.91 kB / 397.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.05573, allocations: 0 / 397.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.05573, allocations: 4 kB / 397.1 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.05614, allocations: 0.503 MB / 397.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.05614, allocations: 3.984 kB / 397.6 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.05623, allocations: 39.98 kB / 397.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.05623, allocations: 4 kB / 397.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.05624, allocations: 0 / 397.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.05624, allocations: 0 / 397.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.05624, allocations: 3.938 kB / 397.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.05664, allocations: 0.5697 MB / 398.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.05668, allocations: 59.42 kB / 398.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.0567, allocations: 8 kB / 398.3 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.05677, allocations: 15.92 kB / 398.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.05681, allocations: 23.89 kB / 398.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.05682, allocations: 4 kB / 398.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.05695, allocations: 255.1 kB / 398.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05695, allocations: 0 / 398.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006714/0.05762, allocations: 0.5031 MB / 399.1 MB, free: 5.957 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.00115/0.05877, allocations: 0.5723 MB / 399.6 MB, free: 5.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.05904, allocations: 198.6 kB / 399.8 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.05904, allocations: 0 / 399.8 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.05918, allocations: 168.2 kB / 400 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.05962, allocations: 124.6 kB / 400.1 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.06117, allocations: 1.122 MB / 401.2 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.06128, allocations: 182.5 kB / 401.4 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.06149, allocations: 162.8 kB / 401.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.06154, allocations: 28.5 kB / 401.6 MB, free: 3.355 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.06154, allocations: 4 kB / 401.6 MB, free: 3.352 MB / 330.7 MB Notification: Performance of Templates: time 0.01578/0.07732, allocations: 17.04 MB / 418.6 MB, free: 2.297 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.041668124962598]