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.001399/0.001399, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00155/0.00155, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.395/1.395, allocations: 207.6 MB / 235.3 MB, free: 10 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.2936/0.2936, allocations: 49.56 MB / 337.1 MB, free: 4.109 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.002334/0.002334, allocations: 84.45 kB / 477.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1144, allocations: 62.42 MB / 0.5274 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2269/0.3412, allocations: 15.68 MB / 0.5427 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008388/0.3421, allocations: 0.7145 MB / 0.5434 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3422, allocations: 10.31 kB / 0.5434 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.3426, allocations: 109.6 kB / 0.5435 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.3431, allocations: 209.4 kB / 0.5437 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00476/0.3479, allocations: 2.065 MB / 0.5457 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000602/0.3485, allocations: 449.1 kB / 0.5462 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3486, allocations: 65.25 kB / 0.5462 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005635/0.3492, allocations: 386.2 kB / 0.5466 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.3495, allocations: 248.7 kB / 0.5468 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.3495, allocations: 19.34 kB / 0.5468 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007117/0.3567, allocations: 3.636 MB / 0.5504 GB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.357, allocations: 203 kB / 0.5506 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.3573, allocations: 255.7 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.3619, allocations: 2.354 MB / 0.5531 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3619, allocations: 1 kB / 0.5531 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3619, allocations: 0 / 0.5531 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3619, allocations: 0 / 0.5531 GB, free: 11.73 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.002884/0.3648, allocations: 1.018 MB / 0.5541 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3648, allocations: 10.33 kB / 0.5541 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.365, allocations: 73.83 kB / 0.5542 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/0.3659, allocations: 476.5 kB / 0.5547 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.3659, allocations: 31.56 kB / 0.5547 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.366, allocations: 42.42 kB / 0.5547 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.3672, allocations: 0.5918 MB / 0.5553 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3672, allocations: 1.344 kB / 0.5553 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.3672, allocations: 19.44 kB / 0.5553 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/0.3673, allocations: 33.78 kB / 0.5554 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.3681, allocations: 458.2 kB / 0.5558 GB, free: 10.44 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.002048/0.3701, allocations: 3.113 MB / 0.5588 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.3708, allocations: 360.5 kB / 0.5592 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.3711, allocations: 154.8 kB / 0.5593 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02863/0.3997, allocations: 8.222 MB / 0.5674 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3997, allocations: 40.66 kB / 0.5674 GB, free: 4.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.3997, allocations: 0 / 0.5674 GB, free: 4.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.0014/0.4011, allocations: 0.5484 MB / 0.5679 GB, free: 4.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.4012, allocations: 57.8 kB / 0.568 GB, free: 4.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.4016, allocations: 411.4 kB / 0.5684 GB, free: 4.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4016, allocations: 30.98 kB / 0.5684 GB, free: 4.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4018, allocations: 252.9 kB / 0.5687 GB, free: 3.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.4018, allocations: 110.7 kB / 0.5688 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.4019, allocations: 60.58 kB / 0.5688 GB, free: 3.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.402, allocations: 356.5 kB / 0.5692 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4021, allocations: 100 kB / 0.5693 GB, free: 3.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4023, allocations: 148.3 kB / 0.5694 GB, free: 3.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.4027, allocations: 292.5 kB / 0.5697 GB, free: 3.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4027, allocations: 1.281 kB / 0.5697 GB, free: 3.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000471/0.4031, allocations: 358.1 kB / 0.57 GB, free: 3.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4032, allocations: 6.344 kB / 0.57 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4032, allocations: 8.812 kB / 0.57 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4032, allocations: 1.406 kB / 0.57 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4034, allocations: 50.75 kB / 0.5701 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.4034, allocations: 2.5 kB / 0.5701 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.4036, allocations: 24.31 kB / 0.5701 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.4036, allocations: 6.812 kB / 0.5701 GB, free: 2.969 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.0002404/0.4039, allocations: 231.6 kB / 0.5703 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.4039, allocations: 46.12 kB / 0.5704 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.405, allocations: 1.165 MB / 0.5715 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.4051, allocations: 18.88 kB / 0.5715 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4051, allocations: 1.219 kB / 0.5715 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4051, allocations: 0 / 0.5715 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.4059, allocations: 0.7064 MB / 0.5722 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4059, allocations: 3.938 kB / 0.5722 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.406, allocations: 40.48 kB / 0.5723 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.406, allocations: 2.094 kB / 0.5723 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4061, allocations: 2.625 kB / 0.5723 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4061, allocations: 0 / 0.5723 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4061, allocations: 5.25 kB / 0.5723 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.4068, allocations: 0.7258 MB / 0.573 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.4068, allocations: 71.58 kB / 0.573 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.4069, allocations: 6.25 kB / 0.5731 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.407, allocations: 9.469 kB / 0.5731 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4071, allocations: 13.91 kB / 0.5731 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4071, allocations: 14.14 kB / 0.5731 GB, free: 1.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.4073, allocations: 300.1 kB / 0.5734 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 4 kB / 0.5734 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002679/0.41, allocations: 0.4979 MB / 0.5739 GB, free: 0.8281 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.002048/0.4121, allocations: 0.5115 MB / 0.5744 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.4126, allocations: 388.7 kB / 0.5747 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4126, allocations: 0 / 0.5747 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.4129, allocations: 249.5 kB / 0.575 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4139, allocations: 197.3 kB / 0.5752 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.4158, allocations: 1.349 MB / 0.5765 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.4164, allocations: 0.9588 MB / 0.5774 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.4165, allocations: 35.12 kB / 0.5775 GB, free: 14.64 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4165, allocations: 0 / 0.5775 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Templates: time 0.0238/0.4403, allocations: 13.85 MB / 0.591 GB, free: 2.172 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.733321090927348] Failed to read output from testmodel.py, exit status != 0: 0.44891225593164563 0.46302497 0.097947564 Calling exit ...