Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001363/0.001363, allocations: 77.75 kB / 20.52 MB, free: 1.371 MB / 14.72 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.001427/0.001427, allocations: 164.7 kB / 23.78 MB, free: 4.539 MB / 14.72 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 1.505/1.505, allocations: 177.2 MB / 204.2 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 178] 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.1554/0.1554, allocations: 19.7 MB / 280.3 MB, free: 13.04 MB / 270.1 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.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 70.25 kB / 416.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2766, allocations: 60.46 MB / 477.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01973/0.2963, allocations: 14.32 MB / 491.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2974, allocations: 0.67 MB / 492.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2975, allocations: 7.938 kB / 492.4 MB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.2979, allocations: 99.41 kB / 492.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.2985, allocations: 219 kB / 492.7 MB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.3041, allocations: 2.058 MB / 494.7 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.3047, allocations: 445.8 kB / 495.2 MB, free: 424 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3049, allocations: 65.31 kB / 495.2 MB, free: 364 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000709/0.3056, allocations: 443 kB / 495.7 MB, free: 15.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.3059, allocations: 239.1 kB / 495.9 MB, free: 15.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.306, allocations: 24 kB / 495.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.3127, allocations: 3.519 MB / 499.4 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.3129, allocations: 191.4 kB / 499.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.3132, allocations: 214.9 kB / 499.8 MB, free: 11.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.3169, allocations: 2.357 MB / 0.4904 GB, free: 9.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3169, allocations: 4 kB / 0.4904 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3169, allocations: 0 / 0.4904 GB, free: 9.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3169, allocations: 0 / 0.4904 GB, free: 9.375 MB / 398.1 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.002605/0.3196, allocations: 1.018 MB / 0.4914 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3196, allocations: 12.03 kB / 0.4914 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.3198, allocations: 76.55 kB / 0.4915 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.3207, allocations: 480 kB / 0.492 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.3207, allocations: 28.98 kB / 0.492 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.3208, allocations: 36 kB / 0.492 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.322, allocations: 0.5977 MB / 0.4926 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.322, allocations: 4 kB / 0.4926 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.322, allocations: 16 kB / 0.4926 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.3221, allocations: 32.64 kB / 0.4927 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.323, allocations: 458.1 kB / 0.4931 GB, free: 6.539 MB / 398.1 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.00224/0.3253, allocations: 1.707 MB / 0.4948 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.3261, allocations: 362.5 kB / 0.4951 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.3263, allocations: 152.8 kB / 0.4953 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03175/0.3581, allocations: 8.471 MB / 0.5035 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.3581, allocations: 38.5 kB / 0.5036 GB, free: 11.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.514e-06/0.3582, allocations: 0 / 0.5036 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001489/0.3596, allocations: 0.5568 MB / 0.5041 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3597, allocations: 51.41 kB / 0.5042 GB, free: 11.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.3601, allocations: 357.6 kB / 0.5045 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3602, allocations: 33.7 kB / 0.5045 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3604, allocations: 248.7 kB / 0.5048 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.3605, allocations: 107 kB / 0.5049 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3606, allocations: 57.69 kB / 0.5049 GB, free: 10.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3607, allocations: 350.7 kB / 0.5053 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.3609, allocations: 107.9 kB / 0.5054 GB, free: 9.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3612, allocations: 146 kB / 0.5055 GB, free: 9.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.3616, allocations: 296 kB / 0.5058 GB, free: 9.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3616, allocations: 7.938 kB / 0.5058 GB, free: 9.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005627/0.3622, allocations: 329.3 kB / 0.5061 GB, free: 9.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3622, allocations: 7.938 kB / 0.5061 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3622, allocations: 3.984 kB / 0.5061 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3622, allocations: 4 kB / 0.5061 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3624, allocations: 43.92 kB / 0.5062 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3624, allocations: 4 kB / 0.5062 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3626, allocations: 23.88 kB / 0.5062 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.3626, allocations: 11.94 kB / 0.5062 GB, free: 8.93 MB / 414.1 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 0.0002915/0.3629, allocations: 233.8 kB / 0.5064 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.363, allocations: 39.7 kB / 0.5065 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.3644, allocations: 1.155 MB / 0.5076 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.3644, allocations: 27.89 kB / 0.5076 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3644, allocations: 0 / 0.5076 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3644, allocations: 3.984 kB / 0.5076 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.3652, allocations: 0.6012 MB / 0.5082 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3652, allocations: 0 / 0.5082 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3654, allocations: 35.98 kB / 0.5082 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3654, allocations: 4 kB / 0.5082 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3654, allocations: 15.92 kB / 0.5083 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3654, allocations: 0 / 0.5083 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3654, allocations: 0 / 0.5083 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.3663, allocations: 0.7177 MB / 0.509 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.3664, allocations: 63.38 kB / 0.509 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.3664, allocations: 11.94 kB / 0.509 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3666, allocations: 3.984 kB / 0.509 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3666, allocations: 19.97 kB / 0.5091 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3666, allocations: 4 kB / 0.5091 GB, free: 5.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002766/0.3669, allocations: 259.2 kB / 0.5093 GB, free: 5.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3669, allocations: 4 kB / 0.5093 GB, free: 5.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001386/0.3683, allocations: 0.507 MB / 0.5098 GB, free: 5.176 MB / 414.1 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.001664/0.3699, allocations: 0.5217 MB / 0.5103 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.3706, allocations: 385.9 kB / 0.5107 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3706, allocations: 0 / 0.5107 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.3709, allocations: 248.8 kB / 0.5109 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.3716, allocations: 129.5 kB / 0.511 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3736, allocations: 1.288 MB / 0.5123 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.374, allocations: 350 kB / 0.5126 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.3744, allocations: 190.6 kB / 0.5128 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.3745, allocations: 28.5 kB / 0.5128 GB, free: 2 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3745, allocations: 0 / 0.5128 GB, free: 2 MB / 414.1 MB Notification: Performance of Templates: time 0.02786/0.4023, allocations: 16.71 MB / 0.5292 GB, free: 1.406 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.305998424068093] Failed to read output from testmodel.py, exit status != 0: 0.41144914738833904 0.42653419600000003 0.10601740100000001 Calling exit ...