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.001563/0.001563, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00171/0.00171, allocations: 210 kB / 24.48 MB, free: 3.938 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.149/0.149, allocations: 26.84 MB / 341.5 MB, free: 7.957 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.002094/0.002094, allocations: 64.17 kB / 478.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2839, allocations: 60.48 MB / 0.5259 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01502/0.299, allocations: 14.35 MB / 0.5399 GB, free: 308 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.2999, allocations: 0.6714 MB / 0.5406 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.3, allocations: 7.562 kB / 0.5406 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.3004, allocations: 93.09 kB / 0.5407 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.301, allocations: 223.3 kB / 0.5409 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006173/0.3072, allocations: 2.051 MB / 0.5429 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.3078, allocations: 457.7 kB / 0.5433 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3079, allocations: 47.55 kB / 0.5434 GB, free: 14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005627/0.3085, allocations: 384.5 kB / 0.5438 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.3088, allocations: 236.8 kB / 0.544 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.3089, allocations: 24.31 kB / 0.544 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006716/0.3156, allocations: 3.52 MB / 0.5474 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.3159, allocations: 195.8 kB / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.3162, allocations: 210 kB / 0.5478 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.3206, allocations: 2.364 MB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3206, allocations: 0 / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3206, allocations: 0 / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3206, allocations: 4.969 kB / 0.5501 GB, free: 10.23 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.002723/0.3233, allocations: 1.014 MB / 0.5511 GB, free: 9.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3234, allocations: 8.938 kB / 0.5511 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.3236, allocations: 78.98 kB / 0.5512 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.3244, allocations: 481.9 kB / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.3245, allocations: 27.19 kB / 0.5517 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.3245, allocations: 35.47 kB / 0.5517 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.3256, allocations: 0.6026 MB / 0.5523 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3256, allocations: 5.375 kB / 0.5523 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3257, allocations: 14.97 kB / 0.5523 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.3257, allocations: 32.27 kB / 0.5524 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.3266, allocations: 454.8 kB / 0.5528 GB, free: 8.469 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.002278/0.3288, allocations: 1.712 MB / 0.5545 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.3296, allocations: 353.2 kB / 0.5548 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.3298, allocations: 162.6 kB / 0.555 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03172/0.3616, allocations: 8.476 MB / 0.5632 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3616, allocations: 38.5 kB / 0.5633 GB, free: 14.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.3616, allocations: 0 / 0.5633 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001508/0.3631, allocations: 0.5413 MB / 0.5638 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.3632, allocations: 51.41 kB / 0.5639 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.3636, allocations: 357.6 kB / 0.5642 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3637, allocations: 37.7 kB / 0.5642 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3639, allocations: 244.7 kB / 0.5645 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.364, allocations: 115 kB / 0.5646 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.3641, allocations: 53.7 kB / 0.5646 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3642, allocations: 350.8 kB / 0.565 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3644, allocations: 99.94 kB / 0.5651 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.3647, allocations: 149.8 kB / 0.5652 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.3651, allocations: 296 kB / 0.5655 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3651, allocations: 4 kB / 0.5655 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005885/0.3657, allocations: 333.2 kB / 0.5658 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3657, allocations: 11.88 kB / 0.5658 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3657, allocations: 0 / 0.5658 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3657, allocations: 4 kB / 0.5658 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.366, allocations: 43.98 kB / 0.5659 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.366, allocations: 3.984 kB / 0.5659 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.3662, allocations: 19.89 kB / 0.5659 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.3662, allocations: 12.12 kB / 0.5659 GB, free: 11.54 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.0003009/0.3665, allocations: 229.6 kB / 0.5661 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.3666, allocations: 39.7 kB / 0.5662 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.3682, allocations: 1.159 MB / 0.5673 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/0.3682, allocations: 19.97 kB / 0.5673 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3682, allocations: 0 / 0.5673 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3682, allocations: 0 / 0.5673 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3693, allocations: 0.5971 MB / 0.5679 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3693, allocations: 0 / 0.5679 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.3695, allocations: 31.98 kB / 0.5679 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3695, allocations: 8 kB / 0.5679 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3695, allocations: 7.938 kB / 0.5679 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3695, allocations: 7.875 kB / 0.5679 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3695, allocations: 0 / 0.5679 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.3704, allocations: 0.7206 MB / 0.5686 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3705, allocations: 63.36 kB / 0.5687 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.3706, allocations: 15.94 kB / 0.5687 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3708, allocations: 11.94 kB / 0.5687 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3708, allocations: 11.97 kB / 0.5687 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.3708, allocations: 12 kB / 0.5688 GB, free: 8.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.3711, allocations: 251.2 kB / 0.569 GB, free: 8.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3711, allocations: 4 kB / 0.569 GB, free: 8.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001755/0.3729, allocations: 0.507 MB / 0.5695 GB, free: 7.789 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.002494/0.3754, allocations: 0.5217 MB / 0.57 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.376, allocations: 379 kB / 0.5704 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.376, allocations: 4 kB / 0.5704 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.3763, allocations: 252.8 kB / 0.5706 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.3771, allocations: 131.8 kB / 0.5707 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3792, allocations: 1.345 MB / 0.572 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.3796, allocations: 354 kB / 0.5724 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.3797, allocations: 35.44 kB / 0.5724 GB, free: 4.727 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3797, allocations: 0 / 0.5724 GB, free: 4.727 MB / 414.1 MB Notification: Performance of Templates: time 0.02219/0.4019, allocations: 13.56 MB / 0.5857 GB, free: 7.156 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: 8.653005174943246] Failed to read output from testmodel.py, exit status != 0: 0.41102335799951106 0.425627894 0.101827842 Calling exit ...