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.001725/0.001725, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00206/0.00206, allocations: 214.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.389/1.389, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.2908/0.2908, allocations: 49.6 MB / 337.2 MB, free: 3.984 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002309/0.002309, allocations: 75.89 kB / 477.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1058, allocations: 62.42 MB / 0.5274 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2062/0.3121, allocations: 14.25 MB / 0.5413 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.313, allocations: 0.6498 MB / 0.5419 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3132, allocations: 5.656 kB / 0.5419 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.3135, allocations: 98.27 kB / 0.542 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.3141, allocations: 215.5 kB / 0.5422 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.3189, allocations: 2.042 MB / 0.5442 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005009/0.3194, allocations: 453.7 kB / 0.5447 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3196, allocations: 59.88 kB / 0.5447 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.3201, allocations: 386.5 kB / 0.5451 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.3204, allocations: 234.8 kB / 0.5453 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.3204, allocations: 20.53 kB / 0.5453 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006369/0.3268, allocations: 3.509 MB / 0.5488 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.327, allocations: 200.8 kB / 0.549 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3272, allocations: 206.1 kB / 0.5492 GB, free: 12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.3309, allocations: 2.351 MB / 0.5515 GB, free: 11.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3309, allocations: 0 / 0.5515 GB, free: 11.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3309, allocations: 0 / 0.5515 GB, free: 11.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3309, allocations: 0 / 0.5515 GB, free: 11.84 MB / 414.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.002893/0.3338, allocations: 1.017 MB / 0.5524 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3338, allocations: 10.69 kB / 0.5525 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.334, allocations: 74.91 kB / 0.5525 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.3348, allocations: 474.9 kB / 0.553 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3348, allocations: 36.64 kB / 0.553 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.3349, allocations: 36.41 kB / 0.5531 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.336, allocations: 0.5973 MB / 0.5536 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.336, allocations: 0.6875 kB / 0.5536 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.336, allocations: 19.92 kB / 0.5537 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/0.3361, allocations: 27.91 kB / 0.5537 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.3369, allocations: 455.2 kB / 0.5541 GB, free: 10.89 MB / 414.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.001808/0.3388, allocations: 1.72 MB / 0.5558 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.3394, allocations: 354.5 kB / 0.5561 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.3397, allocations: 159.6 kB / 0.5563 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02909/0.3688, allocations: 8.248 MB / 0.5643 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3688, allocations: 35.81 kB / 0.5644 GB, free: 7.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.3688, allocations: 4 kB / 0.5644 GB, free: 7.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001315/0.3701, allocations: 0.546 MB / 0.5649 GB, free: 6.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3701, allocations: 54.09 kB / 0.565 GB, free: 6.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.3705, allocations: 350 kB / 0.5653 GB, free: 6.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3705, allocations: 34.55 kB / 0.5653 GB, free: 6.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3706, allocations: 244.1 kB / 0.5656 GB, free: 6.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.3706, allocations: 113.8 kB / 0.5657 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.3707, allocations: 60.17 kB / 0.5657 GB, free: 6.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.3708, allocations: 351.4 kB / 0.5661 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3709, allocations: 103.5 kB / 0.5662 GB, free: 5.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3711, allocations: 157.2 kB / 0.5663 GB, free: 5.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.3715, allocations: 293.1 kB / 0.5666 GB, free: 5.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3715, allocations: 0 / 0.5666 GB, free: 5.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004524/0.3719, allocations: 342.5 kB / 0.5669 GB, free: 5.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3719, allocations: 8.812 kB / 0.5669 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3719, allocations: 1.281 kB / 0.5669 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.372, allocations: 10.47 kB / 0.5669 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.3722, allocations: 42.45 kB / 0.567 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3722, allocations: 1.531 kB / 0.567 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.3723, allocations: 28.58 kB / 0.567 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.3724, allocations: 11.72 kB / 0.567 GB, free: 5.391 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.0002161/0.3726, allocations: 226.8 kB / 0.5672 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.3727, allocations: 40.61 kB / 0.5673 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.3737, allocations: 1.157 MB / 0.5684 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.3737, allocations: 19.83 kB / 0.5684 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3737, allocations: 3.984 kB / 0.5684 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3737, allocations: 5.094 kB / 0.5684 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.3743, allocations: 0.5936 MB / 0.569 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3743, allocations: 0 / 0.569 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3745, allocations: 38.59 kB / 0.569 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3745, allocations: 2.312 kB / 0.5691 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3745, allocations: 5.438 kB / 0.5691 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3745, allocations: 1.25 kB / 0.5691 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3745, allocations: 3.938 kB / 0.5691 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.3751, allocations: 0.7178 MB / 0.5698 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.3752, allocations: 63.25 kB / 0.5698 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3752, allocations: 13.22 kB / 0.5698 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3754, allocations: 6.781 kB / 0.5698 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3754, allocations: 13.91 kB / 0.5699 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3754, allocations: 14.56 kB / 0.5699 GB, free: 3.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3756, allocations: 255.7 kB / 0.5701 GB, free: 3.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3756, allocations: 0 / 0.5701 GB, free: 3.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001842/0.3775, allocations: 0.5022 MB / 0.5706 GB, free: 3.375 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.001597/0.3791, allocations: 0.5113 MB / 0.5711 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004972/0.3796, allocations: 389.1 kB / 0.5715 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3796, allocations: 0 / 0.5715 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.3798, allocations: 252.4 kB / 0.5717 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.3805, allocations: 129.7 kB / 0.5718 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.3821, allocations: 1.334 MB / 0.5731 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3823, allocations: 360.7 kB / 0.5735 GB, free: 1.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.3824, allocations: 33.97 kB / 0.5735 GB, free: 1.832 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3824, allocations: 3.938 kB / 0.5735 GB, free: 1.828 MB / 414.1 MB Notification: Performance of Templates: time 0.01921/0.4016, allocations: 13.43 MB / 0.5866 GB, free: 6.371 MB / 430.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.770574307069182] Failed to read output from testmodel.py, exit status != 0: 0.40981264086440206 0.424240543 0.09023344900000001 Calling exit ...