Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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.001858/0.001858, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001998/0.001998, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.1489/0.1489, allocations: 26.84 MB / 340.7 MB, free: 7.988 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_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") [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.003506/0.003506, allocations: 66.7 kB / 477.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3152, allocations: 60.48 MB / 0.5252 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01527/0.3304, allocations: 14.32 MB / 0.5392 GB, free: 360 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.3313, allocations: 0.6627 MB / 0.5398 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3314, allocations: 8.656 kB / 0.5398 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.3318, allocations: 99.17 kB / 0.5399 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.3324, allocations: 216.4 kB / 0.5401 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0061/0.3385, allocations: 2.048 MB / 0.5421 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006653/0.3391, allocations: 0.5965 MB / 0.5427 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3393, allocations: 41.53 kB / 0.5427 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.3398, allocations: 417.4 kB / 0.5431 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.3402, allocations: 279.9 kB / 0.5434 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.3403, allocations: 20.66 kB / 0.5434 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006231/0.3465, allocations: 3.521 MB / 0.5469 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.3467, allocations: 212.1 kB / 0.5471 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.347, allocations: 250 kB / 0.5473 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.3504, allocations: 2.441 MB / 0.5497 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3504, allocations: 3.938 kB / 0.5497 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3504, allocations: 0 / 0.5497 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3504, allocations: 1.25 kB / 0.5497 GB, free: 10.14 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002959/0.3534, allocations: 1.175 MB / 0.5508 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3534, allocations: 8.844 kB / 0.5508 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.3537, allocations: 100 kB / 0.5509 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.3547, allocations: 0.4895 MB / 0.5514 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.3547, allocations: 44.98 kB / 0.5515 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.3548, allocations: 49.2 kB / 0.5515 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.3563, allocations: 0.8157 MB / 0.5523 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3563, allocations: 4 kB / 0.5523 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.3563, allocations: 18.12 kB / 0.5523 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.3564, allocations: 42.27 kB / 0.5524 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3576, allocations: 0.6077 MB / 0.553 GB, free: 8.035 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.002977/0.3606, allocations: 2.442 MB / 0.5553 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.3617, allocations: 0.5132 MB / 0.5558 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.362, allocations: 169.1 kB / 0.556 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03152/0.3935, allocations: 8.471 MB / 0.5643 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.3936, allocations: 38.5 kB / 0.5643 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.856e-06/0.3936, allocations: 0 / 0.5643 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002021/0.3956, allocations: 0.7383 MB / 0.565 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3956, allocations: 67.39 kB / 0.5651 GB, free: 11.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.3961, allocations: 365.6 kB / 0.5655 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.3961, allocations: 37.64 kB / 0.5655 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3963, allocations: 277 kB / 0.5658 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.3965, allocations: 146.7 kB / 0.5659 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.3966, allocations: 81.67 kB / 0.566 GB, free: 10.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3968, allocations: 350.8 kB / 0.5663 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.397, allocations: 128.3 kB / 0.5664 GB, free: 10.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.3973, allocations: 201.4 kB / 0.5666 GB, free: 10.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.3978, allocations: 375.8 kB / 0.567 GB, free: 9.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3979, allocations: 7.938 kB / 0.567 GB, free: 9.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000683/0.3985, allocations: 428.9 kB / 0.5674 GB, free: 9.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3986, allocations: 4.219 kB / 0.5674 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3986, allocations: 8 kB / 0.5674 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3986, allocations: 7.938 kB / 0.5674 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.3989, allocations: 71.89 kB / 0.5675 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3989, allocations: 0 / 0.5675 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3991, allocations: 31.78 kB / 0.5675 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.3991, allocations: 15.98 kB / 0.5675 GB, free: 9.051 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.000337/0.3995, allocations: 253.7 kB / 0.5678 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.3996, allocations: 55.64 kB / 0.5678 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.4016, allocations: 1.832 MB / 0.5696 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/0.4016, allocations: 31.95 kB / 0.5696 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4017, allocations: 0 / 0.5696 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4017, allocations: 0 / 0.5696 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4027, allocations: 0.8561 MB / 0.5705 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4027, allocations: 3.938 kB / 0.5705 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.4029, allocations: 47.97 kB / 0.5705 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4029, allocations: 7.938 kB / 0.5705 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.4029, allocations: 8 kB / 0.5705 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4029, allocations: 4 kB / 0.5705 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4029, allocations: 3.938 kB / 0.5706 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4041, allocations: 1.011 MB / 0.5715 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4042, allocations: 91.11 kB / 0.5716 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.4043, allocations: 11.94 kB / 0.5716 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.4044, allocations: 11.98 kB / 0.5716 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.4045, allocations: 23.95 kB / 0.5717 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.4045, allocations: 12 kB / 0.5717 GB, free: 4.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.4048, allocations: 259.2 kB / 0.5719 GB, free: 4.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4048, allocations: 0 / 0.5719 GB, free: 4.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001821/0.4066, allocations: 0.5499 MB / 0.5725 GB, free: 3.926 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.001737/0.4083, allocations: 0.5139 MB / 0.573 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.4091, allocations: 0.5369 MB / 0.5735 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4091, allocations: 0 / 0.5735 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.4096, allocations: 373.7 kB / 0.5738 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.4105, allocations: 165 kB / 0.574 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.413, allocations: 1.729 MB / 0.5757 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.4135, allocations: 446.8 kB / 0.5761 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.4139, allocations: 266.9 kB / 0.5764 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-05/0.414, allocations: 39.44 kB / 0.5764 GB, free: 15.81 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.414, allocations: 0 / 0.5764 GB, free: 15.81 MB / 430.1 MB Notification: Performance of Templates: time 0.03012/0.4442, allocations: 19.49 MB / 0.5954 GB, free: 12.49 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.469221303239465] Failed to read output from testmodel.py, exit status != 0: 0.4554957430809736 0.46716408299999995 0.11357892300000001 Calling exit ...